[Input] Fix reference pressure on constant cp thermo created from YAML
Also make 298.15 the default reference temperature
This commit is contained in:
parent
72d345619f
commit
4f30f1156d
1 changed files with 2 additions and 1 deletions
|
|
@ -292,7 +292,8 @@ static SpeciesThermoInterpType* newConstCpThermoFromXML(XML_Node& f)
|
|||
|
||||
void setupConstCp(ConstCpPoly& thermo, const AnyMap& node)
|
||||
{
|
||||
double T0 = node.convert("T0", "K");
|
||||
setupSpeciesThermo(thermo, node);
|
||||
double T0 = node.convert("T0", "K", 298.15);
|
||||
double h0 = node.convert("h0", "J/kmol", 0.0);
|
||||
double s0 = node.convert("s0", "J/kmol/K", 0.0);
|
||||
double cp0 = node.convert("cp0", "J/kmol/K", 0.0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue