Welcome, Guest
Username: Password: Remember me

TOPIC: Nikuradse roughness gives NaN values

Nikuradse roughness gives NaN values 9 years 11 months ago #14956

  • Svensmolders
  • Svensmolders's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 105
  • Thank you received: 20
Hi,

I'm calibrating a 3D model by changing the Nikuradse bottom roughness. For some areas we need a very high roughness (Nikuradse>1) but in the simulation this gives us a result file with only NaN values. If we lower the Nikuradse value we get again a result file with real values.

Can someone tell me why I get these NaN values, while the computation is not crashing. To what do I have to pay attention to prevent this?

Sven
The administrator has disabled public write access.

Nikuradse roughness gives NaN values 9 years 11 months ago #14958

  • jmhervouet
  • jmhervouet's Avatar
Hello,

I would suspect that your Nikuradse value becomes larger than the height of the second plane, maybe this has not been protected and something gets wrong in the formulas. If we can have your case it will be easy to see at what line it occurs in Fortran with a compiler tuned with all checking and tracebacks. The question then will be, what should we do in such a case, stop the program or do a limitation of some sort without warning.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.