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 with buoyantPisoFoam (https://www.cfd-online.com/Forums/openfoam-solving/103196-error-buoyantpisofoam.html)

Bercht June 13, 2012 07:28

Error with buoyantPisoFoam
 
Hi,

Iam trying to do a simple case with buoyantPisoFoam.
Its a cube with one inlet and one outlet. It's like the tutorial case hotroom with changed boundary conditions for U and P.
Now i get this Error Msg.:
Quote:

--> FOAM FATAL IO ERROR:
keyword fixedWalls is undefined in dictionary "/home2/trto/OpenFOAM/trto-1.6_engysEdition-3.0/run/hotRoom/0/U::boundaryField"
file: /home2/trto/OpenFOAM/trto-1.6_engysEdition-3.0/run/hotRoom/0/U::boundaryField from line 25 to line 38.
From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 460.
Why is fixedWalls undefined? Its defined in blockMeshdict and as i said, it is copied from the tutorial. Hope someone can help me.

Quote:

boundaryField
{
floor
{
type buoyantPressure;
value uniform 0;
}
ceiling
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}
fixedWalls
{
type buoyantPressure;
value uniform 0;
}
}
Quote:

boundaryField
{
floor
{
type fixedValue;
value uniform (0 0.5 0);
}
ceiling
{
type pressureInletOutletVelocity
Value uniform (0 0 0)
}
fixedWalls
{
type fixedValue;
value uniform (0 0 0);
}
}

MartinB June 13, 2012 08:35

Hi,

there are two semicolons missing in your 0/U file:
Code:

type pressureInletOutletVelocity // <--- missing ; here
Value uniform (0 0 0) // <--- and here.

Martin


All times are GMT -4. The time now is 21:53.