CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   janafThermo<EquationOfState> Warning (https://www.cfd-online.com/Forums/openfoam-programming-development/120588-janafthermo-equationofstate-warning.html)

Luchini July 10, 2013 07:33

janafThermo<EquationOfState> Warning
 
Hello,

l have modified the turbulentTemperatureCoupledBaffleMixedFvPatchScala rField BC in order to include a surface source term.
My results seems reasonable but Foam keep giving me the warning:

--> FOAM Warning :
From function janafThermo<EquationOfState>::limit(const scalar T) const
in file /home/OpenFOAM/OpenFOAM-2.2.x/src/thermophysicalModels/specie/lnInclude/janafThermoI.H at line 108
attempt to use janafThermo<EquationOfState> out of temperature range 200 -> 5000; T = 5497.566

Clearly at one point the solver sees temperatures higher than 5000...

My problem is that i do not understand where this happens. If i plot the results the maximum temperature that i have in the filed and in the patch is of around 1100.
As also proved by the log :

Min/max T:min(T) [0 0 0 1 0 0 0] 300 max(T) [0 0 0 1 0 0 0] 1096.741

Does anyone knows where there may be the problem?

Thank you in advance for any help, hint or suggestion :)

Chris Lucas July 11, 2013 03:11

HI,

the problem is might be related to the newton solver used to calculate the temperature from the enthalpy.

By the way, how do you check the max. temperature. Are you using the "max" or the "gMax" function?

Christian

Luchini July 11, 2013 05:10

Hi Christian,

thank you for the hint.

for min an max the solver has:
Info<< "Min/max T:" << min(thermo.T()) << ' ' << max(thermo.T()) << endl;
why?

I solve U, Y and E in order and i get this warnings just after the solution of U.

Best...
Thank you a lot

Chris Lucas July 11, 2013 05:12

HI,

you must use gMax and gMin if you intent to run parallel. Otherwise, you only get the min and max value of the master cpu.

Christian

Luchini July 11, 2013 05:22

Thank you,

i was not aware of that but i am currently running on a single processor.

Best,
thank you


All times are GMT -4. The time now is 13:45.