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

rhoSimpleFoam terminates immediately on running

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 31, 2020, 13:18
Unhappy rhoSimpleFoam terminates immediately on running
  #1
New Member
 
Greg Bizup
Join Date: Dec 2020
Posts: 1
Rep Power: 0
Gbiz123 is on a distinguished road
Hi, I am new to this community, CFD, and OpenFOAM. I'm mostly self taught so far, but I'm planning on studying it further in grad school.

I am trying to model a flow through a jet nozzle using OpenFOAM on Windows Subsystem for Linux. I successfully ran simpleFoam. The solver I want to try next, rhoSimpleFoam, quits after reading the thermophysicalProperties without sending an error message. I'm not sure what could be causing this. Any help would be appreciated. I've included screenshots of the problem, my mesh, and code blocks of my dictionaries.

Screenshot of the problem:
https://imgur.com/a/5pCYKfz

Screenshot of mesh:
https://imgur.com/eFe7LJC

thermophysicalProperties:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
    type            hePsiThermo;
    mixture         pureMixture;
    transport       sutherland;
    thermo          hConst; 
    equationOfState perfectGas; 
    specie          specie;
    energy          sensibleInternalEnergy;
}

mixture // CO2 at room temperature (1293 K) estimated temperature for jet engine exhaust
{
    specie
    {
        molWeight   44.01;
    }
    thermodynamics
    {
        Cp          1298; //J/kg K
        Hf           0;
    }
    transport
    {
        As          1.67212e-6; //Sutherland coefficient
        Ts          170.672;      //sutherland temperature
    }
}
transportProperties:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
transportModel  Newtonian;

nu              .7424;


// ************************************************************************* //
fvSolution:
Code:
solvers
{
    p
    {
        solver          GAMG;
        smoother        GaussSeidel;
        tolerance       1e-7;
        relTol          0.1;
    }

    "(U|k|omega|e|epsilon)"
    {
        solver          smoothSolver;
        smoother        GaussSeidel;
        tolerance       1e-6;
        relTol          0.1;
        nSweeps         1;
    }
}

SIMPLE
{
    residualControl
    {
        p               1e-4;
        U               1e-4;
        "(k|omega|e|epsilon)"   1e-4;
    }

    nNonOrthogonalCorrectors 0;
    pMinFactor      0.1;
    pMaxFactor      2;
}

relaxationFactors
{
    fields
    {
        p               0.01;
        rho             0.01;
    }
    equations
    {
        U               0.5;
        e         0.1;
        epsilon         0.1;
        k               0.1;
        h               0.1;
        omega           0.1;
    }
}
fvSchemes
Code:
ddtSchemes
{
    default         steadyState;
}

gradSchemes
{
    default         Gauss linear;

    limited         cellLimited Gauss linear 1;
    grad(U)         $limited;
    grad(k)         $limited;
    grad(omega)     $limited;
}

divSchemes
{
    default         none;

    div(phi,U)      bounded Gauss linearUpwind limited;

    turbulence      bounded Gauss upwind;
    energy          bounded Gauss linearUpwind limited;

    div(phi,k)      $turbulence;
    div(phi,omega)  $turbulence;

    div(phi,e)      $energy;
    div(phi,K)      $energy;
    div(phi,Ekp)    $energy;

    div(phid,p)     Gauss upwind;
    div((phi|interpolate(rho)),p)  bounded Gauss upwind;

    div(((rho*nuEff)*dev2(T(grad(U)))))    Gauss linear;
}

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}
wallDist
{
    method meshWave;
}

// ************************************************************************* //
fvOptions:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

limitT
{
    type       limitTemperature;
    min        0;
    max        3000;
    selectionMode all;
}

//************************************************************************** //

Cheers
Greg

Last edited by Gbiz123; December 31, 2020 at 16:42.
Gbiz123 is offline   Reply With Quote

Reply

Tags
compressible, error, kepsilon, rhosimplefoam, thermophysical


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
ERROR when using rhoSimpleFoam in Helyx-OS spitchers OpenFOAM Running, Solving & CFD 7 March 29, 2022 11:56
[foam-extend.org] Foam Extend 3.2 in ubuntu 16.04 LTS JMosiezny OpenFOAM Installation 15 December 9, 2017 09:20
OpenFOAM parallel on VM? pimpleDyMFoam propeller tutorial has been running for hours. MBttR OpenFOAM Running, Solving & CFD 0 June 13, 2016 11:58
rhosimplefoam running problem aneshe OpenFOAM Running, Solving & CFD 4 May 21, 2010 12:33
Problem in running rhoSimpleFoam xqy OpenFOAM Running, Solving & CFD 1 April 24, 2010 12:14


All times are GMT -4. The time now is 10:42.