You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the same setup as in #165 (Nasa7, GriMech thermo file). The upper temperature limit is 3500K for the polynomial fits. If you ask for Cp or Cv at a temperature higher than this (even by a degree), then nonsensical things are returned (for ex: -450.969 for Cp/R for H2). However, there is no error or notification that something is wrong.
The quick hack for most mechanisms would be to increase Tmax for the upper
temperature to something much larger(5000?). I am guessing that if T >
Tmax(upper) it doesn't find a temperature interval for a curve fit and
defaults to the first set of polynomials(the lower temperature), which
admits negative values for C_p/R at this T value.
(That is my naive reading of the interval selection logic in
nasa_curve_fit.h)
The upper temperature curve fits should be increasing in T.
Varis
On Mon, Aug 31, 2015 at 3:36 PM, Rebecca Morrison [email protected]
wrote:
I'm using the same setup as in #165 #165 (Nasa7, GriMech thermo
file). The upper temperature limit is 3500K for the polynomial fits. If you
ask for Cp or Cv at a temperature higher than this (even by a degree), then
nonsensical things are returned (for ex: -450.969 for Cp/R for H2).
However, there is no error or notification that something is wrong.
I'm using the same setup as in #165 (Nasa7, GriMech thermo file). The upper temperature limit is 3500K for the polynomial fits. If you ask for Cp or Cv at a temperature higher than this (even by a degree), then nonsensical things are returned (for ex: -450.969 for Cp/R for H2). However, there is no error or notification that something is wrong.
@pbauman: thanks for the diagnosis.
The text was updated successfully, but these errors were encountered: