CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   boundary condition problem (http://www.cfd-online.com/Forums/openfoam-solving/104259-boundary-condition-problem.html)

smhosseini July 5, 2012 10:19

boundary condition problem
 
Hi,
I'm trying to solve a problem with two phase fluid flow. I generate an axis mesh. I get an error:( message when I try to look at the mesh in parafoam.
the error is:

--> FOAM FATAL IO ERROR:
keyword up is undefined in dictionary "/home/mohsen/foam-run/axi/0/U::boundaryField"

file: /home/mohsen/foam-run/axi/0/U::boundaryField from line 25 to line 65.

From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 461.
-------------------------------------------------------------------------------

U boundary field is:
wire
{
type fixedValue;
value uniform (0 0 0)
}

up
{
type fixedValue;
value uniform (0 0 0)
}

down
{
type fixedValue;
value uniform (0 0 0)
}

inlet
{
type fixedValue;
value uniform (0.12773 0 0);
}

wall
{
type fixedValue;
value uniform (0 0 0);
}

outlet
{
type type zeroGradient;
}

front
{
type wedge;
}

back
{
type wedge;
}
}
---------------------------------------

<up> is defined in all boundaries.
Is there anyone that knows what this error is?

anon_a July 5, 2012 10:34

Don't forget the ";" signs

smhosseini July 5, 2012 11:44

thank you very much dear anon_a
excuse me because inattention!


All times are GMT -4. The time now is 22:43.