CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   inletOutlet boundary condition problem (

siddharameshwara January 31, 2011 07:38

inletOutlet boundary condition problem
Hello to all,

I am trying to simulate diesel flow in the nozzle of injector. I used inletOutlet boundary condition at the outlet for the velocity and fixedMeanValue at the outlet for pressure. I am using icoFoam solver , pisoFoam solver and cavitatingFoam solver. For the first two i have no problem but for the cavitatingFoam solver at the outlet of the nozzle :(reverse flow:( of the Diesel is taking place. Could any one help me is the boundary condition that i have used is right one?? and how can i avoid the reverse flow???

Thanks in advance.

umassche February 16, 2011 02:26

Problem with inletOutlet
No idea why that is.. I'm trying to change the initial conditions of the cavity model in tutorials and use icoFoam solver. within the velocity file i'm changing both movingwalls type and fixedwalls type to inletOutlet (originally fixedValue) and icoFoam is crashing saying that it is undefined. here is the error message,

Reading field U

keyword inletValue is undefined in dictionary "./case2/0/U::boundaryField::movingWall"

file: ./case2/0/U::boundaryField::movingWall from line 25 to line 26.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 395.

FOAM exiting

Can you help me while awaiting help for your problem?? :D

siddharameshwara February 16, 2011 12:01

Reading field U

keyword inletValue is undefined in dictionary "./case2/0/U::boundaryField::movingWall"


You need to define the inletValue. The syntax for the inletOutlet boundary condition goes like this

type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);


I think may be for you inletValue is missing!!!!

All times are GMT -4. The time now is 09:49.