diff --git a/interfaces/cython/cantera/examples/reactors/NonIdealShockTube.py b/interfaces/cython/cantera/examples/reactors/NonIdealShockTube.py index 2098ca01f..996a55332 100644 --- a/interfaces/cython/cantera/examples/reactors/NonIdealShockTube.py +++ b/interfaces/cython/cantera/examples/reactors/NonIdealShockTube.py @@ -67,11 +67,6 @@ reactorPressure = 40.0*101325.0 # Pascals # "Estimation of pure- component properties from group-contributions," Chem. # Eng. Comm. 57 (1987) 233-243, doi: 10.1080/00986448708960487 -# There is a slight discontinuity in the thermo for three species at the mid- -# point temperature. We are aware and okay, so we will suppress the warning -# statement (note: use this feature at your own risk in other codes!) -ct.suppress_thermo_warnings() - # Real gas IDT calculation diff --git a/src/thermo/NasaPoly2.cpp b/src/thermo/NasaPoly2.cpp index 628676a9a..f727430ca 100644 --- a/src/thermo/NasaPoly2.cpp +++ b/src/thermo/NasaPoly2.cpp @@ -19,7 +19,7 @@ void NasaPoly2::validate(const std::string& name) mnp_high.updatePropertiesTemp(m_midT, &cp_high, &h_high, &s_high); double delta = cp_low - cp_high; - if (fabs(delta/(fabs(cp_low)+1.0E-4)) > 0.001) { + if (fabs(delta/(fabs(cp_low)+1.0E-4)) > 0.01) { writelog("\n\n**** WARNING ****\nFor species {}, discontinuity" " in cp/R detected at Tmid = {}\n", name, m_midT); writelog("\tValue computed using low-temperature polynomial: {}\n", cp_low);