CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to avoid negative T0 in rhoCentralFom

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2021, 10:23
Default How to avoid negative T0 in rhoCentralFom
New Member
Join Date: Nov 2021
Posts: 8
Rep Power: 4
fceyhuns is on a distinguished road

As far as I see a lot of people have this negative initial T0 error with rhoCentralFoam but I cannot find any clear answer on how to get rid of it.

I am trying to run a compressible case, where I expect a shock wave.

Adjustable time step does not work with sonicFoam.

Limiting Temperature or Pressure does not work with rhoCentralFoam.

A combination of 2 works with rhoPimpleFoam but then I cannot solve for the shock wave.

What would be the way to prevent negative temperatures in rhoCentralFoam ? It is not fvOptions, it cannot be set in fvSolutions PIMPLE like for pimple solvers.

The error message suggests it is something in the thermophysicalProperties file but there is nothing extraordinary in that file.

Negative initial temperature T0: -5374.53

    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::perfectGas<Foam::specie> >; Type = Foam::sensibleInternalEnergy; Foam::scalar = double; Foam::species::thermo<Thermo, Type> = Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleInternalEnergy>]
    in file X:/OpenFOAM-5.x/src/thermophysicalModels/specie/thermo/thermo/thermoI.H at line 54.
fceyhuns is offline   Reply With Quote


limitation, rhocentralfoam, temperature constraint

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00

All times are GMT -4. The time now is 04:25.