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/)
-   -   Total pressure boundary condition (http://www.cfd-online.com/Forums/openfoam-solving/60386-total-pressure-boundary-condition.html)

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:

INLET
{
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

Thanks

mrshb4 January 29, 2011 13:53

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

Mohammadreza

Chris Lucas January 31, 2011 04:03

Hi,

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)


Regard,
Christian


All times are GMT -4. The time now is 08:45.