CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Out of temperature range in JanafThermo

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2019, 22:17
Question Out of temperature range in JanafThermo
  #1
Senior Member
 
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 15
NewKid is on a distinguished road
Hi, everyone,
A warning message "JanafThermo<EquationOfState> out of temperature range 216.37-400, T=xxx" appears repeatedly, where xxx means a temperature over 400K while calculating a supersonic flow case.
Though it dose not stop the calculation and set the highest temperature 400K, how to get rid of this message?

Thanks in advance!
NewKid is offline   Reply With Quote

Old   March 5, 2019, 06:20
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
hello,
take a look in your constant/thermophysicalProprties file.
In the thermodynamics part, you have to set Tlow and Thigh.
If your janaf polynome is still valid to 800 + K (still positive !), just set Thight higer ...
regards,
olivier
olivierG is offline   Reply With Quote

Old   March 7, 2019, 22:36
Question
  #3
Senior Member
 
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 15
NewKid is on a distinguished road
Hi, olivierG,
In constant/thermophysicalProperties, there are no items named Tlow or Thigh, after I search the tutorials, find in a case named bubbleColumnEvaporating there exists those items as follows in constant/thermophysicalProperties.gas:
H2O
{
specie
{
nMoles 1;
molWeight 18.0153;
}
thermodynamics
{
Tlow 200;
Thigh 3500;
Tcommon 1000;
highCpCoeffs (3.03399 0.00217692 -1.64073e-07 -9.7042e-11 1.68201e-14 -30004.3 4.96677);
lowCpCoeffs (4.19864 -0.00203643 6.5204e-06 -5.48797e-09 1.77198e-12 -30293.7 -0.849032)
}
transport
{
As 1.67212e-06;
Ts 170.672
}
}
There is another one for air.
Seems I have to specify highCpCoeffs and lowCpCoeffs while Thigh and Tlow, how to specify those coeffs? What does Tcommon mean?
Now I add gas item as follows:
gas
{
O2
{
thermodynamics
{
Tlow 200;
Thigh 800;
Tcommon 500;
highCpCoeffs ( 3.03399 0.00217692 -1.64073e-07 -9.7042e-11 1.68201e-14 -30004.3 4.96677 );
lowCpCoeffs ( 4.19864 -0.00203643 6.5204e-06 -5.48797e-09 1.77198e-12 -30293.7 -0.849032 );
}
}
N2
{
thermodynamics
{
Tlow 200;
Thigh 800;
Tcommon 500;
highCpCoeffs ( 3.03399 0.00217692 -1.64073e-07 -9.7042e-11 1.68201e-14 -30004.3 4.96677 );
lowCpCoeffs ( 4.19864 -0.00203643 6.5204e-06 -5.48797e-09 1.77198e-12 -30293.7 -0.849032 );
}
}
}
I just copy all the coeffs from the case in OF tutorials and have started the parallel computation to test the modification of thrmophysicalProperties.

Any clue to the coeffs?
NewKid is offline   Reply With Quote

Old   March 7, 2019, 22:57
Question
  #4
Senior Member
 
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 15
NewKid is on a distinguished road
Seems it does not work, the warning message still occurs.
O2
{
thermodynamics
{
Tlow 200;
Thigh 800;
Tcommon 500;
highCpCoeffs ( 3.03399 0.00217692 -1.64073e-07 -9.7042e-11 1.68201e-14 -30004.3 4.96677 );
lowCpCoeffs ( 4.19864 -0.00203643 6.5204e-06 -5.48797e-09 1.77198e-12 -30293.7 -0.849032 );
}
}
N2
{
thermodynamics
{
Tlow 200;
Thigh 800;
Tcommon 500;
highCpCoeffs ( 3.03399 0.00217692 -1.64073e-07 -9.7042e-11 1.68201e-14 -30004.3 4.96677 );
lowCpCoeffs ( 4.19864 -0.00203643 6.5204e-06 -5.48797e-09 1.77198e-12 -30293.7 -0.849032 );
}
}
Still the same result.

Any clue?
NewKid is offline   Reply With Quote

Reply

Tags
janafthermo, temperature range


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
heat transfer coefficient value in floefd jason kid FloEFD, FloWorks & FloTHERM 10 October 16, 2016 17:55
DieselFoam and temperature out of janaf range hoogland OpenFOAM Running, Solving & CFD 5 January 28, 2016 13:30
2 region with varied properties guserik OpenFOAM Running, Solving & CFD 0 January 11, 2014 15:58
Free stream temperature saharesobh FLUENT 1 October 11, 2012 21:52
How to get free stream temperature in boundary condition saharesobh FLUENT 0 October 9, 2012 18:12


All times are GMT -4. The time now is 18:57.