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/)
-   -   chtmultiregionsimplefoam: different pressure values in openFoam and Fluent (https://www.cfd-online.com/Forums/openfoam-solving/144011-chtmultiregionsimplefoam-different-pressure-values-openfoam-fluent.html)

vasava November 7, 2014 03:35

chtmultiregionsimplefoam: different pressure values in openFoam and Fluent
 
I have made a fluid a fluid heating case in openFoam and Fluent using same boundary conditions. All the results including velocity and heat distribution match nicely. However the highers pressure value in fluent is about 200000 Pascals and in openFoam it is as high as 9^17 Pa.

Sorry but I can not post any other results or pictures here.

But It would be a great help if someone can explain how pressure is calculated in chtmultiregionsimplefoam solver. Should I multiply or divide by some other parameter to make the range of the pressure equivalent to that of Fluent?

Here is my inlet and outlet velocity boundary conditions:
Code:

    inlet
    {
        type            zeroGradient;

    }
    outlet
    {
        type            flowRateInletVelocity;
        massFlowRate    constant -0.742;//(kg/s) Target mass flow through outlet
        value          uniform (0 0 0);
    }

I have tried following for p_rgh:
Code:

    inlet
    {
        type            fixedValue;
        value          uniform 0;//$internalField;
    }
    outlet
    {
        type            zeroGradient;
        value          uniform 0;//$internalField;
    }

And following for p:
Code:

    inlet
    {
        type            calculated;
        value          uniform 0;//$internalField;
    }
    outlet
    {
        type            calculated;
        value          uniform 0;//$internalField;
    }

Also changing uniform 0; to $internalField; does not help.


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