CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error when running pimpleFoam: wrong token type -expected Scalar ... 'nan' (https://www.cfd-online.com/Forums/openfoam-solving/206440-error-when-running-pimplefoam-wrong-token-type-expected-scalar-nan.html)

khronno September 6, 2018 14:59

Error when running pimpleFoam: wrong token type -expected Scalar ... 'nan'
 
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.

pete20r2 September 6, 2018 20:21

Can you post the whole log or an archive of the case folder?

khronno September 6, 2018 22:02

2 Attachment(s)
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.

pete20r2 September 7, 2018 00:37

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.

Openfoam beast September 7, 2018 07:08

Can you post the whole log?

khronno September 7, 2018 07:47

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

Bana May 5, 2022 05:33

Hello All,

I found my thread related to this discussion:

https://www.cfd-online.com/Forums/op...cted-word.html

Maybe you can help me with the problem?

thuc_wind February 19, 2024 01:31

Hi Victor,

Did you find out the solution? I also faced the same problem/.


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