Go to the documentation of this file.
152 const word& phaseName
160 const word& phaseName
168 const word& phaseName,
169 const word& dictionaryName
176 template<
class Thermo,
class Table>
181 std::initializer_list<const char*> cmptNames,
182 const word& thermoTypeName
186 template<
class Thermo,
class Table>
194 template<
class Thermo>
202 template<
class Thermo>
211 template<
class Thermo>
215 const word& phaseName,
238 const word& phaseName
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
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 Foam::string.
virtual tmp< volScalarField > W() const =0
Molecular weight [kg/kmol].
virtual ~basicThermo()
Destructor.
virtual volScalarField & p()
Pressure [Pa].
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
volScalarField alpha_
Laminar thermal diffusivity [kg/m/s].
Abstract base-class for fluid and solid thermodynamic properties.
virtual tmp< volScalarField > gamma() const =0
Gamma = Cp/Cv [].
const word & name() const
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].
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)
Switch updateT() const
Should T be updated.
const dimensionedScalar h
Planck constant.
virtual word thermoName() const =0
Return the name of the thermo physics.
virtual tmp< volScalarField > alphahe() const =0
Thermal diffusivity for energy of mixture [kg/m/s].
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].
word dictName() const
The local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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.
volScalarField & T_
Temperature [K].
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual const volScalarField & alpha() const
Thermal diffusivity for enthalpy of mixture [kg/m/s].
const dictionary & thermoDict
basicThermo(const basicThermo &)
Construct as copy (not implemented)
volScalarField & p_
Pressure [Pa].
virtual const volScalarField & T() const
Temperature [K].
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.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
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].
static Table::iterator lookupThermo(const dictionary &thermoTypeDict, Table *tablePtr, std::initializer_list< const char * > cmptNames, const word &thermoTypeName)
Generic lookup for thermodynamics package thermoTypeName.
static volScalarField & lookupOrConstruct(const fvMesh &mesh, const word &, bool &isOwner)
Look up or construct field.
TypeName("basicThermo")
Runtime type information.
virtual bool incompressible() const =0
Return true if the equation of state is incompressible.