CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

wrong token type - expected Scalar, found on line 0 the word 'nan'

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2015, 06:29
Default wrong token type - expected Scalar, found on line 0 the word 'nan'
  #1
New Member
 
as
Join Date: Jul 2015
Posts: 19
Rep Power: 10
anuja is on a distinguished road
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.
anuja is offline   Reply With Quote

Old   December 8, 2015, 11:04
Default
  #2
New Member
 
Lisa
Join Date: Dec 2015
Posts: 8
Rep Power: 10
Lisl is on a distinguished road
Hello anuja,

I know this post is a little old but did you solve the problem that accured?
I have the same error now when using porousInterFoam..

Regards, Lisa
Lisl is offline   Reply With Quote

Reply

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
wrong token type - expected Scalar, found on line 0 the word 'nan' CrisMoreira OpenFOAM Running, Solving & CFD 0 July 9, 2015 10:15
Diverging solution in transonicMRFDyMFoam tsalter OpenFOAM Running, Solving & CFD 30 July 7, 2014 07:20
Error during initialization of "rhoSimpleFoam" kornickel OpenFOAM Running, Solving & CFD 8 September 17, 2013 06:37
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


All times are GMT -4. The time now is 11:05.