S-N diagram - ZedGraph

S-N diagram - ZedGraph - Poruke

#1 Objavljeno: 11. 4. 2024. 00:24:21
SERGIO MARQUES DE SOUZA

SERGIO MARQUES DE SOUZA

0 svidjanja u 5 postova.

Grupa: 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,23 KiB) preuzeto 1735 put(ova).



#2 Objavljeno: 11. 4. 2024. 02:54:54
sergio

sergio

127 svidjanja u 342 postova.

Grupa: 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

Prikaži spoiler


sergio
#3 Objavljeno: 11. 4. 2024. 04:19:25
SERGIO MARQUES DE SOUZA

SERGIO MARQUES DE SOUZA

0 svidjanja u 5 postova.

Grupa: User

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

Sono davvero grato per il tuo aiuto. Grazie mille!

#4 Objavljeno: 11. 4. 2024. 04:24:38
Oscar Campo

Oscar Campo

135 svidjanja u 309 postova.

Grupa: 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,23 KiB) preuzeto 1735 put(ova).





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,56 KiB) preuzeto 1919 put(ova).

1 korisnika je svidelo ovu objavu
sergio 11. 4. 2024. 16:22:00
  • Novi postovi
  • Nema novih postova