CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Strange rho value

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 2, 2014, 10:41
Default Constant rho in compressible solver
  #1
New Member
 
kamil
Join Date: Jun 2014
Posts: 11
Rep Power: 3
zaripov is on a distinguished road
I'm solving simple case with flow in сoaxial circular tube, and found one strange problem.

The problem is that rho field is constant and equals 1 everywhere except walls. Although using equation of state density must be near 1.12.

Solver is rhoSimplecFoam.

fvSolution:
Code:
solvers
{
    p
    {
        solver          GAMG;
        tolerance       1e-08;
        relTol          0.1;
        smoother        GaussSeidel;
        nPreSweeps      0;
        nPostSweeps     2;
        nFinestSweeps   2;
        cacheAgglomeration true;
        nCellsInCoarsestLevel 20;
        agglomerator    faceAreaPair;
        mergeLevels     1;
    }

    "(U|h|k|epsilon)"
    {
        solver          GAMG;
        tolerance       1e-08;
        relTol          0.1;
        smoother        GaussSeidel;
        nPreSweeps      0;
        nPostSweeps     2;
        nFinestSweeps   2;
        cacheAgglomeration true;
        nCellsInCoarsestLevel 20;
        agglomerator    faceAreaPair;
        mergeLevels     1;
    }
}

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    rhoMin          rhoMin [1 -3 0 0 0] 0.1;
    rhoMax          rhoMax [1 -3 0 0 0] 1.0;
    transonic       no;
}

relaxationFactors
{
    fields
    {
        p               1;
        rho             1;
    }
    equations
    {
        U               0.9;
        h               0.8;
        k               0.9;
        epsilon         0.9;
    }
}
thermophysicalProperties:
Code:
thermoType      hPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>;

mixture
{
    specie
    {
        nMoles      1;
        molWeight   28.9;
    }
    thermodynamics
    {
        Cp          1007;
        Hf          0;
    }
    transport
    {
        As          1.4792e-06;
        Ts          116;
    }
}
What else should I show?

P. S. Sorry for my English.

Last edited by zaripov; July 2, 2014 at 12:32.
zaripov is offline   Reply With Quote

Old   July 2, 2014, 14:57
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,168
Blog Entries: 1
Rep Power: 15
nimasam is on a distinguished road
well in fvSolution you defined the min and max of density , increase rhoMax, forexample put it 2
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog (http://openfoam.blogfa.com/)
Training Course on OpenFOAM at (http://www.isme.ir/)
nimasam is offline   Reply With Quote

Old   July 3, 2014, 04:13
Default
  #3
New Member
 
kamil
Join Date: Jun 2014
Posts: 11
Rep Power: 3
zaripov is on a distinguished road
Quote:
Originally Posted by nimasam View Post
well in fvSolution you defined the min and max of density , increase rhoMax, forexample put it 2
Yes, I see it this night. Stupid mistake.

Now everything is ok.
zaripov is offline   Reply With Quote

Reply

Tags
density, rho, rhosimplecfoam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
what does this verbose error mean? immortality OpenFOAM Running, Solving & CFD 1 February 6, 2013 17:47
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50
Error log vw.cfd OpenFOAM 6 August 7, 2009 05:44


All times are GMT -4. The time now is 21:28.