S-N diagram - ZedGraph

S-N diagram - ZedGraph - 消息

#1 已发布: 2024/4/11 00:24:21
SERGIO MARQUES DE SOUZA

SERGIO MARQUES DE SOUZA

0个赞,共5个帖子。

组: 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)已下载 1722 次。



#2 已发布: 2024/4/11 02:54:54
sergio

sergio

127个赞,共342个帖子。

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

显示剧透


sergio
#3 已发布: 2024/4/11 04:19:25
SERGIO MARQUES DE SOUZA

SERGIO MARQUES DE SOUZA

0个赞,共5个帖子。

组: User

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

Sono davvero grato per il tuo aiuto. Grazie mille!

#4 已发布: 2024/4/11 04:24:38
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: 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)已下载 1722 次。





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)已下载 1896 次。

1位用户喜欢此帖子
sergio 2024/4/11 16:22:00
  • 有新帖
  • 无新帖