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/)
-   -   pressure initialization (https://www.cfd-online.com/Forums/openfoam-solving/164783-pressure-initialization.html)

hoseinhd January 1, 2016 13:38

pressure initialization
 
Dear Foamers,

I'm simulating fluid flow and heat transfer in a channel using buoyantBuossinesqSimpleFoam.

In normal geometry everything is OK, but when i use a converging channel geometry the calculations will not converge.

Actually the pressure starts with a very high value (about 3 bar, when I expect the converged pressure at inlet to be about 3kPa !!). So it takes a lot of time to decrease.

My pressure conditions are:
Code:

internalField  uniform 0;

boundaryField
{
    heatingWalls
    {
        type            zeroGradient;
    }

    topWall
    {
        type            zeroGradient;
    }

    inlet
    {
        type            zeroGradient;
    }

    outlet
    {
        type            fixedValue;
        value          uniform 0;
    }
}

Please someone tell me how can I initialize pressure at inlet. (velocity is fixed at inlet)

Thanks a lot
hoseinhd

esujby January 3, 2016 22:31

hello,

i would recommend you check out the following links:

http://www.cfd-online.com/Forums/ope...plication.html

http://www.cfd-online.com/Forums/ope...letoutlet.html

best regards


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