|
[Sponsors] |
April 9, 2024, 20:57 |
Boussinesq equation of state
|
#1 |
New Member
Gustavo
Join Date: Mar 2024
Location: Brazil
Posts: 7
Rep Power: 2 |
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; } } 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; } } [/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 20:58. Reason: Weird formatation |
|
April 10, 2024, 10:46 |
|
#2 |
New Member
Gustavo
Join Date: Mar 2024
Location: Brazil
Posts: 7
Rep Power: 2 |
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. |
|
Tags |
boussinesq approximation, buoyant boussinesq, iterations exceeded |
|
|
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 14:15 |
Simple piston movement in cylinder- fluid models | arun1994 | CFX | 4 | July 8, 2016 03:54 |
continuity equation was diverging in transient state | stenber | FLUENT | 0 | March 19, 2016 23:37 |
Compression stoke is giving higher pressure than calculated | nickjuana | CFX | 62 | May 19, 2015 14:32 |
Equation of state for water? | jinwon park | Main CFD Forum | 2 | December 20, 2007 08:32 |