|
[Sponsors] |
attempt to use janafThermo<equationOfState> out of temperature range 300 -> 3000 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 20, 2022, 14:02 |
attempt to use janafThermo<equationOfState> out of temperature range 300 -> 3000
|
#1 |
Member
Amirreza Niazmehr
Join Date: Nov 2018
Posts: 40
Rep Power: 7 |
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 |
|
January 22, 2022, 05:16 |
|
#2 |
New Member
Nik
Join Date: Apr 2021
Posts: 7
Rep Power: 5 |
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 { Tlow 200; Thigh 5000; Tcommon 1000; highCpCoeffs ( 3.69758 0.00061352 -1.25884e-07 1.77528e-11 -1.13644e-15 -1233.93 3.18917 ); lowCpCoeffs ( 3.21294 0.00112749 -5.75615e-07 1.31388e-09 -8.76855e-13 -1005.25 6.03474 ); } 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! |
|
January 24, 2022, 02:16 |
|
#3 |
Member
Amirreza Niazmehr
Join Date: Nov 2018
Posts: 40
Rep Power: 7 |
Thanks foy your reply dear NLeb
|
|
February 26, 2023, 22:30 |
|
#4 |
New Member
xinyu
Join Date: Apr 2022
Posts: 24
Rep Power: 4 |
I have been troubled by the same problem for several months, who can help me, thank you very much.
|
|
March 1, 2023, 11:38 |
|
#5 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 670
Rep Power: 14 |
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.
|
|
March 1, 2023, 20:59 |
|
#6 |
New Member
xinyu
Join Date: Apr 2022
Posts: 24
Rep Power: 4 |
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.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] libOpenSMOKE | Tobi | OpenFOAM Community Contributions | 562 | January 25, 2023 09:21 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 06:27 |
Inlet won't apply UDF and has temperature at 0K! | tccruise | Fluent UDF and Scheme Programming | 2 | September 14, 2012 06:08 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 00:07 |
Residence time per temperature range | Roman | FLUENT | 0 | February 16, 2000 01:58 |