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

Issue with min/max rho chtMultiRegionSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ashishmagar600

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2019, 02:02
Default Issue with min/max rho chtMultiRegionSimpleFoam
  #1
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Hello everyone,

I am trying to simulate a heat exchanger problem. I have split regions (3 regions, hot fluid cold fluid and solid) and defined corresponding properties in them.

However while solving, the rho values in the output shows that it is not taking the values I am providing:
Code:
Solving for fluid region shellSide
DILUPBiCGStab:  Solving for Ux, Initial residual = 1, Final residual = 0.0136616, No Iterations 1
DILUPBiCGStab:  Solving for Uy, Initial residual = 1, Final residual = 0.0130695, No Iterations 1
DILUPBiCGStab:  Solving for Uz, Initial residual = 1, Final residual = 0.0095, No Iterations 1
DILUPBiCGStab:  Solving for h, Initial residual = 1, Final residual = 0.0350493, No Iterations 1
Min/max T:300 300.011
GAMG:  Solving for p_rgh, Initial residual = 0.988378, Final residual = 0.00910654, No Iterations 4
time step continuity errors : sum local = 1856.54, global = -13.9992, cumulative = -13.9992
Min/max rho:2 2

Solving for fluid region tubeSide
DILUPBiCGStab:  Solving for Ux, Initial residual = 1, Final residual = 0.00932655, No Iterations 1
DILUPBiCGStab:  Solving for Uy, Initial residual = 1, Final residual = 0.0102043, No Iterations 1
DILUPBiCGStab:  Solving for Uz, Initial residual = 1, Final residual = 0.00692628, No Iterations 1
DILUPBiCGStab:  Solving for h, Initial residual = 1, Final residual = 0.000374168, No Iterations 1
Min/max T:300 350
GAMG:  Solving for p_rgh, Initial residual = 0.985978, Final residual = 0.00349933, No Iterations 5
time step continuity errors : sum local = 991.807, global = -31.1576, cumulative = -45.1567
Min/max rho:2 2
The values for rho are always [2,2] here. I don't know what is the issue.

This is just the first iteration and then I stopped.

This is the thermophysicalProperties file:
Code:
thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectFluid;
    specie          specie;
    energy          sensibleEnthalpy;
}

mixture
{
    specie
    {
        nMoles      1;
        molWeight   18.0;       // [g/mol]
    }
    equationOfState
    {
        R           3000;      // [J/(kg K)]
        rho0        996;      // [kg/m^3]
    }
    thermodynamics
    {
        Cp          4179;      // [J/(kg K)] at T = 293 K
        Hf          0;
    }
    transport
    {
        mu          0.000852;    // [kg/(m s)]
        Pr          0.7;
    }
}

Thanks for any suggestions.
ashishmagar600 is offline   Reply With Quote

Old   November 19, 2019, 09:17
Default
  #2
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
Alright. I solved it by myself.

In the system/regions/fvSolution was:
Code:
...
    momentumPredictor yes;
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       100000;
    rhoMin          0.2;
    rhoMax          2;
...
I changed to :
Code:
...
    momentumPredictor yes;
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       100000;
    rhoMin          900;
    rhoMax          1000;
...
Could be helpful if anyone has to cross out one problem.


Thanks.
saidc. likes this.
ashishmagar600 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How I can introduce my power heat (W) in chtMultiRegionFoam? aminem OpenFOAM Pre-Processing 32 August 29, 2019 03:23
BrownianMotionForce in "reactingParcelFoam". parcel escaped from inlet and diverged. bijan darbari OpenFOAM Running, Solving & CFD 7 June 7, 2016 03:47
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
stop when everything seems fine. immortality OpenFOAM Running, Solving & CFD 1 February 10, 2013 07:35
what does this verbose error mean? immortality OpenFOAM Running, Solving & CFD 1 February 6, 2013 17:47


All times are GMT -4. The time now is 00:20.