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

Error when running pimpleFoam: wrong token type -expected Scalar ... 'nan'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2018, 15:59
Unhappy Error when running pimpleFoam: wrong token type -expected Scalar ... 'nan'
  #1
New Member
 
Víctor Balloqui
Join Date: Sep 2018
Location: Chile
Posts: 5
Rep Power: 8
khronno is on a distinguished road
Hi, I'm an engineering student, and I'm doing my thesis work on the behavior of a wind turbine using some turbulence models. I'm new to using OpenFoam, and I've done some tutorials, but it's costing me a bit to understand and interpret the errors that appear to me. For example, when using the "pimpleFoam" solver after a long time processing the program it falls down and throws me the following error: "wrong token type -expected Scalar, found on line 0 the word 'nan' I hope someone can help me, very grateful. Victor.
khronno is offline   Reply With Quote

Old   September 6, 2018, 21:21
Default
  #2
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 12
pete20r2 is on a distinguished road
Can you post the whole log or an archive of the case folder?
pete20r2 is offline   Reply With Quote

Old   September 6, 2018, 23:02
Default
  #3
New Member
 
Víctor Balloqui
Join Date: Sep 2018
Location: Chile
Posts: 5
Rep Power: 8
khronno is on a distinguished road
Dear Peter, thank you for your quick response. In the first post I tried to upload the file folder, but it was impossible due to the low capacity that is allowed to upload files (195.3 KB), and only the STL file in the CONSTANT folder weighs almost 636KB compressed in RAR. I attach the folders 0 and System with the conditions of the problem. thank you sincerely. Victor.
Attached Files
File Type: zip 0.zip (2.6 KB, 5 views)
File Type: zip system.zip (8.1 KB, 2 views)
khronno is offline   Reply With Quote

Old   September 7, 2018, 01:37
Default
  #4
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 12
pete20r2 is on a distinguished road
That all looks fine, can you share constant without the geometry and also share a full log of a failed run.
Use:
pimpleFoam |& tee log.pimpleFoam
If you're not sure how to dump to file.
pete20r2 is offline   Reply With Quote

Old   September 7, 2018, 08:08
Default
  #5
New Member
 
richard azouz
Join Date: Mar 2017
Posts: 2
Rep Power: 0
Openfoam beast is on a distinguished road
Can you post the whole log?
Openfoam beast is offline   Reply With Quote

Old   September 7, 2018, 08:47
Default
  #6
New Member
 
Víctor Balloqui
Join Date: Sep 2018
Location: Chile
Posts: 5
Rep Power: 8
khronno is on a distinguished road
Hello Peter, The version that went up to the last one I'm working on, since yesterday afternoon is running and still takes half the time. just finish the process I will send the error message that appears with respect to what I like in your answer, "pimpleFoam | & tee log.pimpleFoam", this is a command line that I must execute in the terminal when the process finishes?, Thankful. Hello Richard, thanks for your interest in helping, look there are still no published codes in this forum and as I mentioned before I could not upload the complete case by the size of the geometry, but in the attached link I uploaded the case. Greetings.

https://www.dropbox.com/s/bvg5pzuezl...rbine.zip?dl=0
khronno is offline   Reply With Quote

Old   May 5, 2022, 06:33
Default
  #7
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 11
Bana is on a distinguished road
Hello All,

I found my thread related to this discussion:

wrong token type - expected word

Maybe you can help me with the problem?
Bana is offline   Reply With Quote

Old   February 19, 2024, 02:31
Default
  #8
New Member
 
Thuc
Join Date: Feb 2024
Posts: 3
Rep Power: 2
thuc_wind is on a distinguished road
Hi Victor,

Did you find out the solution? I also faced the same problem/.
thuc_wind is offline   Reply With Quote

Reply


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
Modified pimpleFoam solver to MRFPimpleFoam solver hiuluom OpenFOAM Programming & Development 12 June 14, 2015 22:22
Diverging solution in transonicMRFDyMFoam tsalter OpenFOAM Running, Solving & CFD 30 July 7, 2014 07:20
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 02:47
POSDAT problem piotka STAR-CD 4 June 12, 2009 09:43
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


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