CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   totalPressre in OpenFOAM (https://www.cfd-online.com/Forums/openfoam-solving/63250-totalpressre-openfoam.html)

 olhe0002 April 2, 2009 03:38

totalPressre in OpenFOAM

Hi there!

I want to compare a STAR-CD Simulation with OpenFOAM.
It's a simple incompressible flow through a duct.
In STAR you can define the inlet: total pressure p=75Pa.

So i used the totalPressure boundary condition in OpenFOAM:
for p:

inlet
{
type totalPressure;
U U;
phi phi;
rho none;
psi none;
gamma 1;
p0 uniform 62.2406639;
value uniform 0;
}

because it's an incompressible flow i used p/density for the value p0.
75Pa/1.205 kg/m³ = 62.2406639 m²/s²

EnSight is used for the interpretation of the results.
Instead of the 62.2406639 there is an another, smaller value present at the inlet.

Questions:
- Is a smaller value defined because of p=p0 - 0.5*U²
- Is it possible in OpenFOAM to define a total Pressure boundary condition with an
fixed Value (like in STAR-CD) ?

greetings

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