CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Total pressure boundary condition (

maritozzo December 10, 2005 14:41

Hi everybody!! I have to anal
Hi everybody!!
I have to analyze the flow through an injector, i know there is not a solver for this kind of problem but first I wonna know if at least OpenFoam has the boundary conditions i need.
I decided to set the totalPressure boundary condition on the Inlet p0=p+(1/2)rho*U^2
so I specify in the pd file at time 0:

type totalPressure;
p0 uniform 12000000;
What do I have to specify in the U file

2nd question: as the time goes the velocity at the Inlet grows and consequently I should change the value of k and epsilon so i can't specify for them a fixed value but i thaught that the new k and the new epsilon should be calculated at each time step

3rd question: I decided to use K-epsilon turbulence model but at the beginning the fluid is still so intially the flow is laminar so do I have also to switch the turbulence model


mrshb4 January 29, 2011 13:53

the same question
I have the same question as your first one!!!
I think pressureInletVelocity can be used but I'm not sure about it.


Chris Lucas January 31, 2011 04:03


for the velocity field, use the pressureInletVelocity at the inlet as stated above. For the turbulence field, you can use turbulentIntensityKineticEnergyInlet (k) and turbulentMixingLengthDissipationRateInlet (epsilon)


All times are GMT -4. The time now is 19:36.