|
[Sponsors] |
December 21, 2021, 10:23 |
How to avoid negative T0 in rhoCentralFom
|
#1 |
New Member
Belgium
Join Date: Nov 2021
Posts: 9
Rep Power: 4 |
Hello,
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. Code:
--> FOAM FATAL ERROR: 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. |
|
February 11, 2024, 00:20 |
|
#2 |
New Member
Join Date: Nov 2023
Posts: 18
Rep Power: 3 |
Have you had any luck in sorting this issue out? I'm able to get shockwaves but its propagating from the outlet until it gets to a critical location causing failure.
|
|
February 12, 2024, 03:30 |
|
#3 |
New Member
Belgium
Join Date: Nov 2021
Posts: 9
Rep Power: 4 |
Hello,
Unfortunately no. |
|
Tags |
limitation, rhocentralfoam, temperature constraint |
|
|
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 |