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

maritozzo December 10, 2005 12:56

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


All times are GMT -4. The time now is 06:33.