Public Member Functions | |
implementation (const fvMesh &, const word &phaseName) | |
Construct from mesh and phase name. More... | |
implementation (const fvMesh &, const dictionary &dict, const word &phaseName) | |
Construct from mesh, dictionary and phase name. More... | |
virtual | ~implementation () |
Destructor. More... | |
virtual tmp< volScalarField > | rho () const |
Density [kg/m^3]. More... | |
virtual tmp< scalarField > | rho (const label patchi) const |
Density for patch [kg/m^3]. More... | |
virtual volScalarField & | rho () |
Return non-const access to the local density field [kg/m^3]. More... | |
virtual tmp< volScalarField > | rho0 () const |
Old-time density [kg/m^3]. More... | |
Public Member Functions inherited from solidThermo | |
TypeName ("solidThermo") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, solidThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName)) | |
declareRunTimeSelectionTable (autoPtr, solidThermo, dictionary,(const fvMesh &mesh, const dictionary &dict, const word &phaseName),(mesh, dict, phaseName)) | |
virtual | ~solidThermo () |
Destructor. More... | |
virtual bool | isotropic () const =0 |
Return true if thermal conductivity is isotropic. More... | |
virtual tmp< volVectorField > | Kappa () const =0 |
Anisotropic thermal conductivity [W/m/K]. More... | |
virtual tmp< vectorField > | Kappa (const label patchi) const =0 |
Anisotropic thermal conductivity for patch [W/m/K]. More... | |
virtual tmp< symmTensorField > | KappaLocal (const label patchi) const =0 |
Anisotropic thermal conductivity for patch. More... | |
virtual tmp< surfaceScalarField > | q () const =0 |
Return the heat flux [W]. More... | |
virtual tmp< fvScalarMatrix > | divq (volScalarField &he) const =0 |
Return the source term for the energy equation. More... | |
Public Member Functions inherited from basicThermo | |
TypeName ("basicThermo") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, basicThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName)) | |
Declare run-time constructor selection table. More... | |
virtual | ~basicThermo () |
Destructor. More... | |
virtual const IOdictionary & | properties () const =0 |
Return the dictionary. More... | |
virtual IOdictionary & | properties ()=0 |
Access the dictionary. More... | |
virtual const word & | phaseName () const =0 |
Return the phase name. More... | |
word | phasePropertyName (const word &name) const |
Return the name of a property for a given phase. More... | |
void | validate (const string &app, const word &) const |
Check that the thermodynamics package is consistent. More... | |
void | validate (const string &app, const word &, const word &) const |
Check that the thermodynamics package is consistent. More... | |
virtual void | correct ()=0 |
Update properties. More... | |
virtual word | thermoName () const =0 |
Return the name of the thermo physics. More... | |
virtual bool | incompressible () const =0 |
Return true if the equation of state is incompressible. More... | |
virtual bool | isochoric () const =0 |
Return true if the equation of state is isochoric. More... | |
virtual Switch | dpdt () const =0 |
Should the dpdt term be included in the enthalpy equation. More... | |
virtual volScalarField & | he ()=0 |
Enthalpy/Internal energy [J/kg]. More... | |
virtual const volScalarField & | he () const =0 |
Enthalpy/Internal energy [J/kg]. More... | |
virtual tmp< volScalarField > | he (const volScalarField &p, const volScalarField &T) const =0 |
Enthalpy/Internal energy. More... | |
virtual tmp< scalarField > | he (const scalarField &T, const labelList &cells) const =0 |
Enthalpy/Internal energy for cell-set [J/kg]. More... | |
virtual tmp< scalarField > | he (const scalarField &T, const label patchi) const =0 |
Enthalpy/Internal energy for patch [J/kg]. More... | |
virtual tmp< volScalarField > | hs () const =0 |
Sensible enthalpy [J/kg]. More... | |
virtual tmp< volScalarField > | hs (const volScalarField &p, const volScalarField &T) const =0 |
Sensible enthalpy. More... | |
virtual tmp< scalarField > | hs (const scalarField &T, const labelList &cells) const =0 |
Sensible enthalpy for cell-set [J/kg]. More... | |
virtual tmp< scalarField > | hs (const scalarField &T, const label patchi) const =0 |
Sensible enthalpy for patch [J/kg]. More... | |
virtual tmp< volScalarField > | ha () const =0 |
Absolute enthalpy [J/kg]. More... | |
virtual tmp< volScalarField > | ha (const volScalarField &p, const volScalarField &T) const =0 |
Absolute enthalpy. More... | |
virtual tmp< scalarField > | ha (const scalarField &T, const labelList &cells) const =0 |
Absolute enthalpy for cell-set [J/kg]. More... | |
virtual tmp< scalarField > | ha (const scalarField &T, const label patchi) const =0 |
Absolute enthalpy for patch [J/kg]. More... | |
virtual tmp< volScalarField > | hc () const =0 |
Enthalpy of formation [J/kg]. More... | |
virtual tmp< volScalarField > | THE (const volScalarField &h, const volScalarField &p, const volScalarField &T0) const =0 |
Temperature from enthalpy/internal energy. More... | |
virtual tmp< scalarField > | THE (const scalarField &h, const scalarField &T0, const labelList &cells) const =0 |
Temperature from enthalpy/internal energy for cell-set. More... | |
virtual tmp< scalarField > | THE (const scalarField &h, const scalarField &T0, const label patchi) const =0 |
Temperature from enthalpy/internal energy for patch. More... | |
virtual tmp< volScalarField > | Cp () const =0 |
Heat capacity at constant pressure [J/kg/K]. More... | |
virtual tmp< volScalarField > | Cv () const =0 |
Heat capacity at constant volume [J/kg/K]. More... | |
virtual const volScalarField & | T () const =0 |
Temperature [K]. More... | |
virtual volScalarField & | T ()=0 |
Temperature [K]. More... | |
virtual tmp< scalarField > | Cp (const scalarField &T, const label patchi) const =0 |
Heat capacity at constant pressure for patch [J/kg/K]. More... | |
virtual tmp< scalarField > | Cv (const scalarField &T, const label patchi) const =0 |
Heat capacity at constant volume for patch [J/kg/K]. More... | |
virtual tmp< volScalarField > | Cpv () const =0 |
Heat capacity at constant pressure/volume [J/kg/K]. More... | |
virtual tmp< scalarField > | Cpv (const scalarField &T, const label patchi) const =0 |
Heat capacity at constant pressure/volume for patch [J/kg/K]. More... | |
virtual const volScalarField & | alpha () const =0 |
Thermal diffusivity for enthalpy of mixture [kg/m/s]. More... | |
virtual const scalarField & | alpha (const label patchi) const =0 |
Thermal diffusivity for enthalpy of mixture for patch [kg/m/s]. More... | |
virtual tmp< volScalarField > | kappa () const =0 |
Thermal diffusivity for temperature of mixture [W/m/K]. More... | |
virtual tmp< scalarField > | kappa (const label patchi) const =0 |
Thermal diffusivity for temperature of mixture. More... | |
virtual tmp< volScalarField > | alphahe () const =0 |
Thermal diffusivity for energy of mixture [kg/m/s]. More... | |
virtual tmp< scalarField > | alphahe (const label patchi) const =0 |
Thermal diffusivity for energy of mixture for patch [kg/m/s]. More... | |
template<class Thermo > | |
Foam::autoPtr< Thermo > | New (const fvMesh &mesh, const word &phaseName) |
template<class Thermo > | |
Foam::autoPtr< Thermo > | New (const fvMesh &mesh, const dictionary &dict, const word &phaseName) |
Protected Attributes | |
uniformGeometricScalarField | p_ |
Pressure [Pa]. More... | |
volScalarField | rho_ |
Density field [kg/m^3]. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from solidThermo | |
static autoPtr< solidThermo > | New (const fvMesh &, const word &phaseName=word::null) |
Standard selection based on fvMesh. More... | |
static autoPtr< solidThermo > | New (const fvMesh &, const dictionary &, const word &phaseName=word::null) |
Selection using a specified dictionary. More... | |
Static Public Member Functions inherited from basicThermo | |
static word | phasePropertyName (const word &name, const word &phaseName) |
Return the name of a property for a given phase. More... | |
static const basicThermo & | lookupThermo (const fvPatchScalarField &pf) |
Lookup the thermo associated with the given patch field. More... | |
static wordList | splitThermoName (const word &thermoName, const int nCmpt) |
Split name of thermo package into a list of the components names. More... | |
static List< Pair< word > > | thermoNameComponents (const word &thermoName) |
Split name of thermo package into a list of named components names. More... | |
template<class Thermo > | |
static autoPtr< Thermo > | New (const fvMesh &, const word &phaseName=word::null) |
Generic New for each of the related thermodynamics packages. More... | |
template<class Thermo > | |
static autoPtr< Thermo > | New (const fvMesh &, const dictionary &, const word &phaseName=word::null) |
Generic New for each of the related thermodynamics packages. More... | |
static autoPtr< basicThermo > | New (const fvMesh &, const word &phaseName=word::null) |
Specialisation of the Generic New for basicThermo. More... | |
Static Public Attributes inherited from basicThermo | |
static const word | dictName |
Name of the thermophysical properties dictionary. More... | |
Protected Member Functions inherited from basicThermo | |
wordList | heBoundaryTypes () |
Return the enthalpy/internal energy field boundary types. More... | |
wordList | heBoundaryBaseTypes () |
Return the enthalpy/internal energy field boundary base types. More... | |
Static Protected Member Functions inherited from basicThermo | |
static volScalarField & | lookupOrConstruct (const fvMesh &mesh, const char *name) |
Lookup and the named field, or construct it as MUST-READ if it is. More... | |
template<class Thermo , class Table > | |
static Table::iterator | lookupCstrIter (const dictionary &thermoTypeDict, Table *tablePtr, const int nCmpt, const char *cmptNames[], const word &thermoTypeName) |
Get the constructor iterator for the given thermo dictionary and. More... | |
template<class Thermo , class Table > | |
static Table::iterator | lookupCstrIter (const dictionary &thermoDict, Table *tablePtr) |
Get the constructor iterator for the given thermo dictionary and. More... | |
Definition at line 154 of file solidThermo.H.
implementation | ( | const fvMesh & | mesh, |
const word & | phaseName | ||
) |
Construct from mesh and phase name.
Definition at line 42 of file solidThermo.C.
implementation | ( | const fvMesh & | mesh, |
const dictionary & | dict, | ||
const word & | phaseName | ||
) |
Construct from mesh, dictionary and phase name.
Definition at line 76 of file solidThermo.C.
References solidThermo::New().
|
virtual |
Destructor.
Definition at line 139 of file solidThermo.C.
|
virtual |
Density [kg/m^3].
Implements solidThermo.
Reimplemented in solidDisplacementThermo.
Definition at line 145 of file solidThermo.C.
|
virtual |
Density for patch [kg/m^3].
Implements solidThermo.
Reimplemented in solidDisplacementThermo.
Definition at line 152 of file solidThermo.C.
References patchi.
|
virtual |
Return non-const access to the local density field [kg/m^3].
Implements solidThermo.
Definition at line 160 of file solidThermo.C.
|
virtual |
|
protected |
Pressure [Pa].
Note: This value should never be used. Solid thermo should only be instantiated with thermo models that do not depend on pressure. This uniform field takes a value of NaN, so that if any thermo models that do depend on pressure are used then the code will exit.
Definition at line 170 of file solidThermo.H.
|
protected |
Density field [kg/m^3].
Definition at line 173 of file solidThermo.H.