1

Previous: Equation of state Up: Structure and compilation Next: Type of energy

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

Thermodynamical model

  • Thermodynamic model, in our case hConstThermo, handles specific heat capacity 198. In this specific case it is simple, because 198 is constant, but other alternative allow for more complicated behavior.
  • Inheritance diagram can be seen in the figure crossref 3. As in a previous case, it inherits from its template parameter. This time however, there are more alternatives for class representing equation of state, so the construction is not for future extensibility, but is already necessary for hConstThermo to be able to accommodate for different equations of state.
  • Possible choices of thermodynamic models are following:

    hConstThermo
    eConstThemo
    janafThermo
    hPolynomialThermo

Source code for all classes representing different thermodynamical models can be found found in

$FOAM_SRC/thermophysicalModels/specie/thermo

in subdirectories named after respective thermophysical models, eg.

hConst/hConstThermo.C
hConst/hConstThermo.H
hConst/hConstThermoI.H

CFDsupport programming training hConstThermo inheritance diagram

Figure: hConstThermo inheritance diagram