attempt to use janafThermo<equationOfState> out of temperature range 300 -> 3000
Hey guys
I hope that you are doing well. I have a problem with ''Janaf thermo error''. I'm using reactingFoam in openFoam and get Janaf thermo error. My case is that, I changed the mechanism in openaFoam and used my mechanism with 41 species, I could convert my chemkin files with the help of chemkintoFoam command succesfully. But when I run the simulation I get also same error: attempt to use janafThermo<equationOfState> out of temperature range 300 -> 3000; Is there a way to resolve this problem ? All the best Amirreza |
Sounds like you're using JANAF coefficients in your thermophysicalProperties file, and at some point in your simulation, the temperature goes below 300K or above 3000K. These limits are specified by the user with Tlow and Thigh in the relevant thermo dictionary.
Here's an example of O2's JANAF entry from $FOAM_TUTORIALS/combustion/reactingFoam/laminar/counterFlowFlame2D/ where the JANAF coefficients are found in constant/thermo.compressibleGas (it might be a different file for you) Code:
thermodynamics So you have a few options:
More information about JANAF here: https://openfoamwiki.net/index.php/Contrib/Janaf If you want to see exactly what the JANAF code is doing (in v2012), see this: https://www.openfoam.com/documentati...hermoI_8H.html Hope this helps! |
Thanks foy your reply dear NLeb
|
I have been troubled by the same problem for several months, who can help me, thank you very much.
|
Nik summarises your options pretty clearly. My advice is to certainly employ #3, ie use the limitTemperature FO to keep the temperature within bounds during any initial transients. That certainly works well for me.
|
Thank you for your reply. In fact, I have used the limitTemperature method, but it has no effect. When the temperature reaches the upper or lower limit of the temperature I set, the simulation will stop.
|
All times are GMT -4. The time now is 05:41. |