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/)
-   -   Boundary Condtions at OUTLET (https://www.cfd-online.com/Forums/openfoam-solving/175023-boundary-condtions-outlet.html)

McCharles July 22, 2016 08:09

Boundary Condtions at OUTLET
 
Dear Foamers,

I am confused with the BC type pressureInletOutletVelocity for the velocity. My case has a strong recirculation at the Outlet. I know the mass flow at the Inlet and the static pressure at the Outlet.

Please have a look at my U and p BC :

for p

Code:


dimensions      [1 -1 -2 0 0 0 0];

internalField  uniform 299520;

boundaryField
{
    PLENUM
    {
        type            zeroGradient;
   
    INLET
    {
        type            zeroGradient;
       
    }
    OUTLET
    {
        type            fixedValue;
        value          uniform 237150;
     
    }
   
   
   
}
// ************************************************************************* //

for U

Code:

dimensions      [0 1 -1 0 0 0 0];

internalField  uniform (0 0 0);

boundaryField
{
    PLENUM
    {
        type            fixedValue;
        value          uniform (0 0 0);
    }
 
   
    INLET
    {
        type            flowRateInletVelocity;
        massFlowRate    constant 0.002985;
        rhoInlet        3.084;
        value          uniform (0 0 0);

    }
    OUTLET
    {
        type            pressureInletOutletVelocity;
        value          uniform (0 0 0);
    }
 
// ************************************************************************* //

I want to make sure that my case is well defined for recirculation, so that pressure and velocity are defined / get calculated for backflows. Would it be better to use other BCs like inletOutlet for U and outletInlet for p?

Thank you so much,

Charles

T.D. July 24, 2016 13:51

Hi,

It is all described here:
http://www.cfd-online.com/Forums/ope...tvelocity.html

regards,

T.D.


All times are GMT -4. The time now is 13:43.