CFD Online Logo CFD Online URL
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 Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2020, 00:31
Default "wrong token type - expected Scalar, found on line 0 the word 'nan' " error observed.
Saurabh Das
Join Date: Jul 2018
Posts: 43
Rep Power: 4
Sorabh is on a distinguished road
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:

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 8, 2019 23:50
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 05:38
Error during initialization of "rhoSimpleFoam" kornickel OpenFOAM Running, Solving & CFD 8 September 17, 2013 05:37
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 14:44
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26

All times are GMT -4. The time now is 18:39.