Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner

Please check the error.

In my Result,

  SPRING WIRED DIAMETER d3(mm) =   0.0000000E+00
  SPRING DIAMETER D3(mm) =   0.0000000E+00
  SPRING WIRED DIAMETER d4(mm) =   0.0000000E+00
  SPRING DIAMETER D4(mm) =   0.0000000E+00

  NUMBER OF ACTIVE TURNS OF 3RD SPRING =             NaN
  NUMBER OF ACTIVE TURNS OF 4TH SPRING =             NaN

So, How do I Fix it?

If you need fortran file, I will email to you

0 Kudos
2 Replies
Highlighted

You probably have a divide-by

You probably have a divide-by-zero, since your diameters are all zero (and I'll guess that the active turns requires dividing by the diameter?

Other than that observation, there really isn't enough information here for anyone to offer a solution.

 

0 Kudos
Highlighted
Black Belt

What is the known information

What is the known information, what are the results that you want to calculate, what is the mathematical relation between the givens and the unknowns, and what is the algorithm being used? How is all this implemented in the computer program?

0 Kudos