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/)
-   -   inlet and outlet BCs for airfoil simulation (https://www.cfd-online.com/Forums/openfoam-solving/120535-inlet-outlet-bcs-airfoil-simulation.html)

michel1988 July 9, 2013 05:09

inlet and outlet BCs for airfoil simulation
 
Hello,
I want to do a simulation of airfoil. At inlet, the velocity is fixed and there is no restriction on the pressure (which means the pressure is calculated). At outlet, the pressure is fixed and there is no restriction on the velocity. In OpenFOAM, we must define boundry conditions for each physical quantity at each boundry. My question is : what boundry conditions should be given to pressure at inlet and to velocity at outlet? It is the first time for me to do such a simulation and I am also not familiar with BCs in OpenFOAM. Thanks for your help!

achyutan July 9, 2013 07:35

Hi,

'zeroGradient' b.c is best suited,among the compiled library of openfoam, for ur case. it takes value of next interior cell (which is calculated based on ur system of eqns).

if you are not satisfied with that, you can create your own new b.c and compile it and link its executable from controlDict.

achyutan

Artur July 9, 2013 11:12

I tend to use zeroGradient as well, sometimes I go for inletOutlet or outletInlet. For the pressure you may also consider fixedValue uniform 0 at the outlet if your domain is long enough.


All times are GMT -4. The time now is 16:41.