CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

"wrong token type - expected Scalar, found on line 0 the word 'nan' " error observed.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2020, 01:31
Default "wrong token type - expected Scalar, found on line 0 the word 'nan' " error observed.
  #1
Member
 
Saurabh Das
Join Date: Jul 2018
Posts: 43
Rep Power: 8
Sorabh is on a distinguished road
Hello,
In a pimpleDyMFoam rotor simulation, after running seamlessly for 2.3 seconds of simulation time, with Courant number within the limits, the following error is observed:

Code:
--> FOAM FATAL IO ERROR: 
wrong token type - expected Scalar, found on line 0 the word 'nan'

file: /media/mslab02/space/STL_Trials/Deviation_0_1/Angle_8/system/data.solverPerformance.U at line 0.

    From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
    in file lnInclude/Scalar.C at line 93.

FOAM exiting
I understand that the 'nan' error happens because of some major issue, such as boundary conditions etc. but the same problem, with a different rotor geometry worked perfectly.
Is it the geometry that is causing problems? How do I solve this problem? Any guidance would be heavily appreciated.

Thank you.
Sorabh is offline   Reply With Quote

Old   June 20, 2021, 08:49
Default "wrong token type - expected Scalar, found on line 0 the word 'nan' " error observed.
  #2
New Member
 
Risshi Jain
Join Date: Jan 2021
Posts: 1
Rep Power: 0
risshijain is on a distinguished road
Hey Sorabh. I'm encountering the same problem for my rotordisk simulations using SimpleFOAM. Were you able to resolve your situation?
risshijain is offline   Reply With Quote

Reply

Tags
pimpledymfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] 3D Mesh conversion from gmsh-2.5.0 to OpenFOAM Ancioi OpenFOAM Meshing & Mesh Conversion 17 January 9, 2019 00:50
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 06:38
Error during initialization of "rhoSimpleFoam" kornickel OpenFOAM Running, Solving & CFD 8 September 17, 2013 06:37
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 15:44
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26


All times are GMT -4. The time now is 12:49.