Go to the documentation of this file.
124 const word& phaseName
132 const word& phaseName
139 template<
class Thermo,
class Table>
147 template<
class Thermo>
155 template<
class Thermo>
182 const word& phaseName
236 const word& thermoName,
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static word groupName(Name name, const word &group)
wordList heBoundaryTypes()
Return the enthalpy/internal energy field boundary types.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
static Table::iterator lookupThermo(const dictionary &thermoDict, Table *tablePtr)
Generic lookup for each of the related thermodynamics packages.
volScalarField & lookupOrConstruct(const fvMesh &mesh, const char *name) const
virtual ~basicThermo()
Destructor.
A class for managing temporary objects.
virtual tmp< volScalarField > Cp() const =0
Heat capacity at constant pressure [J/kg/K].
static const word dictName
virtual bool read()
Read thermophysical properties dictionary.
word phasePropertyName(const word &name) const
virtual const volScalarField & T() const
Temperature [K].
volScalarField alpha_
Laminar thermal diffusuvity [kg/m/s].
Abstract base-class for fluid and solid thermodynamic properties.
virtual tmp< volScalarField > gamma() const =0
Gamma = Cp/Cv [].
virtual tmp< volScalarField > kappaEff(const volScalarField &) const =0
Effective thermal diffusivity for temperature.
virtual bool isochoric() const =0
Return true if the equation of state is isochoric.
virtual tmp< volScalarField > hc() const =0
Chemical enthalpy [J/kg].
virtual tmp< scalarField > THE(const scalarField &h, const scalarField &p, const scalarField &T0, const labelList &cells) const =0
Temperature from enthalpy/internal energy for cell-set.
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
wordList heBoundaryBaseTypes()
Return the enthalpy/internal energy field boundary base types.
Switch dpdt_
Should the dpdt term be included in the enthalpy equation.
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const =0
Effective thermal diffusivity of mixture [kg/m/s].
Templated table container data entry. Items are stored in a list of Tuple2's. First column is always ...
declareRunTimeSelectionTable(autoPtr, basicThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
Declare run-time constructor selection table.
virtual void correct()=0
Update properties.
static word phasePropertyName(const word &name, const word &phaseName)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const dimensionedScalar h
Planck constant.
static wordList splitThermoName(const word &thermoName, const int nCmpt)
Split name of thermo package into a list of the components names.
virtual tmp< volScalarField > kappa() const =0
Thermal diffusivity for temperature of mixture [J/m/s/K].
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< Thermo > New(const fvMesh &, const word &phaseName=word::null)
Generic New for each of the related thermodynamics packages.
virtual tmp< volScalarField > CpByCpv() const =0
Heat capacity ratio [].
Mesh data needed to do the Finite Volume discretisation.
void validate(const string &app, const word &) const
Check that the thermodynamics package is consistent.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const volScalarField & alpha() const
Thermal diffusivity for enthalpy of mixture [kg/m/s].
basicThermo(const basicThermo &)
Construct as copy (not implemented)
const word & name() const
Name function is needed to disambiguate those inherited.
volScalarField & p_
Pressure [Pa].
volScalarField T_
Temperature [K].
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual tmp< volScalarField > Cpv() const =0
Heat capacity at constant pressure/volume [J/kg/K].
Switch dpdt() const
Should the dpdt term be included in the enthalpy equation.
static const word null
An empty word.
virtual volScalarField & p()
Pressure [Pa].
const word & phaseName_
Phase-name.
virtual tmp< volScalarField > Cv() const =0
Heat capacity at constant volume [J/kg/K].
Generic GeometricField class.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
TypeName("basicThermo")
Runtime type information.
virtual bool incompressible() const =0
Return true if the equation of state is incompressible.