S-N diagram - ZedGraph

S-N diagram - ZedGraph - Messages

#1 Posted: 4/11/2024 12:24:21 AM
SERGIO MARQUES DE SOUZA

SERGIO MARQUES DE SOUZA

0 likes in 3 posts.

Group: User

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 (108 KiB) downloaded 66 time(s).



#2 Posted: 4/11/2024 2:54:54 AM
sergio

sergio

115 likes in 329 posts.

Group: User

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

Show Spoiler


sergio
#3 Posted: 4/11/2024 4:19:25 AM
SERGIO MARQUES DE SOUZA

SERGIO MARQUES DE SOUZA

0 likes in 3 posts.

Group: User

I'm really grateful for your help. Thanks a lot!

Sono davvero grato per il tuo aiuto. Grazie mille!

#4 Posted: 4/11/2024 4:24:38 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Wrote

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 (108 KiB) downloaded 66 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 (624 KiB) downloaded 68 time(s).

1 users liked this post
sergio 4/11/2024 4:22:00 PM
  • New Posts New Posts
  • No New Posts No New Posts