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

Boussinesq equation of state

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2024, 19:57
Default Boussinesq equation of state
  #1
New Member
 
Gustavo
Join Date: Mar 2024
Location: Brazil
Posts: 7
Rep Power: 2
gushrqcosta is on a distinguished road
Hi foamers. I'm trying to simulate a natural convection of air over a hot cylinder in different conditions. For this specific condition, I want to use the Boussinesq equation of state in thermophysicalProperties. However, when I run the buoyantPimpleFoam solver an error appears.


(OBS: do not mind the weird value for mu, it's a specific value for this case.)


thermophysicalProperties:
Code:
thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState Boussinesq;
    specie          specie;
    energy          sensibleEnthalpy;
}

pRef            101325;

mixture
{
    specie
    {
        nMoles          1;
        molWeight       28.9;
    }
     equationOfState
    {
        rho0            1.13644;
        T0              307.5;
        beta            3.252e-03;
    }
    thermodynamics
    {
        Cp              1007.3;
        Hf              0;
    }
    transport
    {
        mu              0.001571;
        Pr              0.70595;
    }
}
p_rgh:
Code:
internalField   uniform 101325;

boundaryField
{
    face_superior
    {
        type            totalPressure;
        p0              $internalField;
        U               U;
        phi             phi;
        rho             rho_0;
        psi             none;
        gamma           1.4;
        value           $internalField;
    }

    face_inferior
    {
        type            totalPressure;
        p0              $internalField;
        U               U;
        phi             phi;
        rho             rho_0;
        psi             none;
        gamma           1.4;
        value           $internalField;
    }

    entrada
    {
        type            totalPressure;
        p0              $internalField
        U               U;
        phi             phi;
        rho             rho_0;
        psi             none;
        gamma           1.4;
        value           $internalField;
    }

    saida
    {
        type            fixedFluxPressure;
        rho             rho_0;
        value           $internalField;
    }

    parede_cilindro
    {
        type            fixedFluxPressure;
        rho             rho_0;
        value           $internalField;
    }

    frente_traseira
    {
        type            empty;
    }
 }
The error that happens is as follows:
[/CODE]
--> FOAM FATAL ERROR: Maximum number of iterations exceeded From function Foam::scalar Foam::species::thermo<Thermo, Type>::T(Foam::scalar, Foam::scalar, Foam::scalar, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar) const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar, Foam::scalar) const, Foam::scalar (Foam::species::thermo<Thermo, Type>::*)(Foam::scalar) const) const [with Thermo = Foam::hConstThermo<Foam::Boussinesq<Foam::specie> >; Type = Foam::sensibleEnthalpy; Foam::scalar = double; Foam::species::thermo<Thermo, Type> = Foam::species::thermo<Foam::hConstThermo<Foam::Bou ssinesq<Foam::specie> >, Foam::sensibleEnthalpy>] in file /build/openfoam-8NJ_iy/openfoam-4.1+dfsg1/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 66.FOAM aborting#0 Foam::error:rintStack(Foam::Ostream&) at ??:?#1 Foam::error::abort() at ??:?#2 Foam::heRhoThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam::Boussinesq<Foa m::specie> >, Foam::sensibleEnthalpy> > > >::calculate() at ??:?#3 Foam::heRhoThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam::Boussinesq<Foa m::specie> >, Foam::sensibleEnthalpy> > > >::correct() at ??:?#4 ? in "/usr/bin/buoyantPimpleFoam"#5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"#6 ? in "/usr/bin/buoyantPimpleFoam"Aborted (core dumped)
[/CODE]

Last edited by gushrqcosta; April 9, 2024 at 19:58. Reason: Weird formatation
gushrqcosta is offline   Reply With Quote

Old   April 10, 2024, 09:46
Default
  #2
New Member
 
Gustavo
Join Date: Mar 2024
Location: Brazil
Posts: 7
Rep Power: 2
gushrqcosta is on a distinguished road
UPDATE:
I did not manage to solve this error, what I did instead is just install and use OpenFOAM-10 since it's more developed and it worked just fine.
gushrqcosta is offline   Reply With Quote

Reply

Tags
boussinesq approximation, buoyant boussinesq, iterations exceeded


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
Problem with Velocity Poisson Equation and Vector Potential Poisson Equation mykkujinu2201 Main CFD Forum 1 August 12, 2017 13:15
Simple piston movement in cylinder- fluid models arun1994 CFX 4 July 8, 2016 02:54
continuity equation was diverging in transient state stenber FLUENT 0 March 19, 2016 22:37
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 13:32
Equation of state for water? jinwon park Main CFD Forum 2 December 20, 2007 07:32


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