|
[Sponsors] |
wrong token type - expected Scalar, found on line 0 the word 'nan' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 11, 2015, 09:22 |
wrong token type - expected Scalar, found on line 0 the word 'nan'
|
#1 |
New Member
as
Join Date: Jul 2015
Posts: 19
Rep Power: 11 |
Hi I am getting this error
wrong token type - expected Scalar, found on line 0 the word 'nan' file: C:/OpenFOAM/cygwin64/home/mahaanu/OpenFOAM/mahaanu-2.3.x/run/trial_plate2/system/data.solverPerformance.p_rgh at line 0. From function operator>>(Istream&, Scalar&) in file lnInclude/Scalar.C at line 93. I am trying to solve a porousInterFoam problem with the following boundary conditions for resin as the fluid. Can you please tell me where I am going wrong? Thanks in advance! P_rgh boundaryField { FrontAndBack { type empty; } atmosphere { type totalPressure; p0 uniform 0; U U; phi phi; rho rho; psi none; gamma 1; value uniform 0; } lowerWall { type fixedFluxPressure; value uniform 0; } leftWall { type fixedFluxPressure; value uniform 0; } rightWall { type fixedFluxPressure; value uniform 0; } porosityWall { type fixedFluxPressure; value uniform 0; } } U boundaryField { FrontAndBack { type empty; } atmosphere { type pressureInletOutletVelocity; value uniform (0 0 0); } lowerWall { type fixedValue; value uniform (0. 0. 0.); } leftWall { type fixedValue; value uniform (0. 0. 0.); } rightWall { type fixedValue; value uniform (0. 0. 0.); } porosityWall { type slip; value uniform (0 0 0); } } alpha.resin boundaryField { leftWall { type zeroGradient; } rightWall { type zeroGradient; } lowerWall { type zeroGradient; } porosityWall { type zeroGradient; } atmosphere { type inletOutlet; inletValue uniform 0; value uniform 0; } FrontAndBack { type empty; } Regards. |
|
August 12, 2015, 10:26 |
|
#2 |
Member
Nicole Andrew
Join Date: Sep 2014
Location: Pretoria, South Africa
Posts: 58
Rep Power: 12 |
Hi,
I am no expert, but looking at your error message and trying to decode it: 1) "nan" is usually "Not a number" and is not a good thing 2) I have never seen a case structure with "system/data.solverPerformance.p_rgh" (but this may be due to my inexperience) You did not give very much info, some follow up questions: 1) When do you get this error? As you run the case? After some iterations? 2) What files do you have in your "system" folder in your case setup? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wrong token type - expected Scalar, found on line 0 the word 'nan' | CrisMoreira | OpenFOAM Running, Solving & CFD | 0 | July 9, 2015 10:15 |
Error during initialization of "rhoSimpleFoam" | kornickel | OpenFOAM Running, Solving & CFD | 8 | September 17, 2013 06:37 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 18:08 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |