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