Files
cantera/test/data/liquid-water.xml
Ray Speth 311ae76510 [Thermo] Allow species without thermo data
In some models, SpeciesThermoInterpType objects on individual species are not
used. Instead of requiring the specification of placeholder thermo data, this
allows the base SpeciesThermoInterpType class to be used, which will throw an
exception if it is inadvertently used.
2019-01-23 16:43:44 -05:00

29 lines
687 B
XML

<?xml version="1.0"?>
<ctml>
<validate reactions="yes" species="yes"/>
<!-- phase water -->
<phase dim="3" id="water">
<elementArray datasrc="elements.xml">O H </elementArray>
<speciesArray datasrc="#species_data">H2O</speciesArray>
<state>
<temperature units="K">300.0</temperature>
<pressure units="Pa">101325.0</pressure>
</state>
<thermo model="PureLiquidWater"/>
<kinetics model="none"/>
<transport model="Water"/>
</phase>
<!-- species definitions -->
<speciesData id="species_data">
<!-- species H2O -->
<species name="H2O">
<atomArray>H:2 O:1 </atomArray>
</species>
</speciesData>
</ctml>