Rank: Newbie
Groups: Registered
Joined: 14/04/2023(UTC) Posts: 3
|
Hello I'm trying to create an S-N diagram (Stress – Number of cycles) using a logarithmic scale in SMATH STUDIO. I'm using the ZedGraph plugin to generate the diagram, but the result on the graph is different from what I expected. The inclined line should end at the coordinate of 69.9 (y) and 10^6 (x), but it's always ending at 69.9 (y) and 10^7 (x). I've solved this same problem in MathCAD, and the result is correct, but in SMATH STUDIO, this discrepancy occurs. Could someone help me identify where the problem causing this discrepancy is? Capitulo 06 - Exemplo 06.01 - Determinacao de diagramas S N estimados para materiais ferrosos.sm (109kb) downloaded 8 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
Simply increase the number of points of the graph resolution (for example from 100 to 1000). I also don't like that you defined "N" as a vector and then used "N" as a variable; I deactivated it because it's not needed anyway
sergio
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 14/04/2023(UTC) Posts: 3
|
I'm really grateful for your help. Thanks a lot!
Sono davvero grato per il tuo aiuto. Grazie mille!
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 248 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
Originally Posted by: Sergio Marques Hello I'm trying to create an S-N diagram (Stress – Number of cycles) using a logarithmic scale in SMATH STUDIO. I'm using the ZedGraph plugin to generate the diagram, but the result on the graph is different from what I expected. The inclined line should end at the coordinate of 69.9 (y) and 10^6 (x), but it's always ending at 69.9 (y) and 10^7 (x). I've solved this same problem in MathCAD, and the result is correct, but in SMATH STUDIO, this discrepancy occurs. Could someone help me identify where the problem causing this discrepancy is? Capitulo 06 - Exemplo 06.01 - Determinacao de diagramas S N estimados para materiais ferrosos.sm (109kb) downloaded 8 time(s). Here is your file solved by the method I use. I simplify the graphing process by using connected points and find the number of cicles by the function FidRoot(). (I also included a Fatigue Utilities snippet in the top of the file, please take a look) Determinacao de diagramas S N estimados para materiais ferrosos OTHER WAY.sm (625kb) downloaded 11 time(s).
|
1 user thanked oscampo for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.