[Thermo] Fix BinarySolutionTabulatedThermo initial mole fraction thermo
The value of m_xlast should only be set to a valid value by _updateThermo, after it has calculated values for the tabulated enthalpy and entropy.
This commit is contained in:
parent
aceb896f62
commit
bdc81684b1
1 changed files with 0 additions and 1 deletions
|
|
@ -113,7 +113,6 @@ void BinarySolutionTabulatedThermo::initThermoXML(XML_Node& phaseNode, const std
|
|||
throw CanteraError("BinarySolutionTabulatedThermo::initThermoXML",
|
||||
"Species " + tabulated_species_name + " not found.");
|
||||
}
|
||||
m_xlast = moleFraction(m_kk_tab);
|
||||
}
|
||||
if (thermoNode.hasChild("tabulatedThermo")) {
|
||||
XML_Node& dataNode = thermoNode.child("tabulatedThermo");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue