Base-class for fluid and solid thermodynamic properties. More...
Classes | |
class | implementation |
Public Member Functions | |
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 |
Properties dictionary. More... | |
virtual IOdictionary & | properties ()=0 |
Non-const access the properties dictionary. More... | |
virtual const fvMesh & | mesh () const =0 |
Return const access to the mesh. More... | |
virtual const word & | phaseName () const =0 |
Phase name. More... | |
word | phasePropertyName (const word &name) const |
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 |
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 tmp< volScalarField > | W () const =0 |
Molecular weight [kg/kmol]. More... | |
virtual tmp< scalarField > | W (const label patchi) const =0 |
Molecular weight for patch [kg/kmol]. More... | |
virtual const volScalarField & | T () const =0 |
Temperature [K]. More... | |
virtual volScalarField & | T ()=0 |
Temperature [K]. More... | |
virtual const volScalarField & | he () const =0 |
Enthalpy/Internal energy [J/kg]. More... | |
virtual volScalarField & | he ()=0 |
Enthalpy/Internal energy [J/kg]. More... | |
virtual const volScalarField & | Cp () const =0 |
Heat capacity at constant pressure [J/kg/K]. More... | |
virtual const volScalarField & | Cv () const =0 |
Heat capacity at constant volume [J/kg/K]. More... | |
virtual const volScalarField & | Cpv () const =0 |
Heat capacity at constant pressure/volume [J/kg/K]. More... | |
virtual tmp< volScalarField > | rho () const =0 |
Density [kg/m^3]. More... | |
virtual tmp< scalarField > | rho (const label patchi) const =0 |
Density for patch [kg/m^3]. 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< scalarField > | he (const scalarField &T, const fvSource &source) const =0 |
Enthalpy/Internal energy for source [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< 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< scalarField > | Cpv (const scalarField &T, const label patchi) const =0 |
Heat capacity at constant pressure/volume for patch [J/kg/K]. More... | |
tmp< volScalarField > | gamma () const |
Gamma = Cp/Cv []. More... | |
tmp< scalarField > | gamma (const scalarField &T, const label patchi) const |
Gamma = Cp/Cv for patch []. 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 const volScalarField & | kappa () const =0 |
Thermal conductivity of mixture [W/m/K]. More... | |
template<class FieldType > | |
const Foam::basicThermo & | lookupThermo (const FieldType &f) |
template<class Thermo > | |
Foam::autoPtr< Thermo > | New (const fvMesh &mesh, const word &phaseName) |
Static Public Member Functions | |
static word | phasePropertyName (const word &name, const word &phaseName) |
Name of a property for a given phase. More... | |
template<class FieldType > | |
static const basicThermo & | lookupThermo (const FieldType &f) |
Lookup the thermo associated with the given 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... | |
static autoPtr< basicThermo > | New (const fvMesh &, const word &phaseName=word::null) |
Specialisation of the Generic New for basicThermo. More... | |
Protected Member Functions | |
wordList | heBoundaryTypes () |
Enthalpy/internal energy field boundary types. More... | |
wordList | heBoundaryBaseTypes () |
Enthalpy/internal energy field boundary base types. More... | |
HashTable< word > | heSourcesTypes () |
Enthalpy/internal energy field sources types. More... | |
Static Protected Member Functions | |
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... | |
Base-class for fluid and solid thermodynamic properties.
The basicThermo class is the pure virtual interface, plus static data and functions, including the selection table. It is default-constructable and holds no non-static data.
The basicThermo::implementation class contains the class data, non-default construction and other implementation details.
This structure allows for arbitrary mixing of the interfaces. Derived levels should implement a similar separation of interface and implementation. All interface classes should be default-constructable, and should be inherited virtually into whatever interfaces are required. Implementation classes should virtually inherit from their corresponding interface class and *not* a lower level implementation class.
In derived levels that are complete enough to act as the base of a thermodynamic instantiation, an additional *::composite sub class should be defined, which (non-virtually) inherits from all the *::implementation classes that it needs. This way, the composite class composes an interface for which diamond patterns are resolved by virtual inheritance, whilst also obtaining a single copy of all the implementation classes it needs to form a complete implementation. The use of virtual inheritance does not result in additional constructor calls propagating further down the hierarchy (into BasicThermo and similar) because all virtually inherited interface classes are default constructable.
Definition at line 77 of file basicThermo.H.
|
virtual |
Destructor.
Definition at line 297 of file basicThermo.C.
|
staticprotected |
Lookup and the named field, or construct it as MUST-READ if it is.
not found, and return a reference
Definition at line 48 of file basicThermo.C.
References IOobject::AUTO_WRITE, basicThermo::mesh(), IOobject::MUST_READ, dimensioned< Type >::name(), Foam::name(), regIOobject::store(), and fvMesh::time().
|
staticprotected |
Get the constructor iterator for the given thermo dictionary and.
entries and constructor iterator table
Definition at line 42 of file basicThermoTemplates.C.
References dynamicCode::allowSystemOperations, DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, dictionary::lookup(), mixtureName(), Foam::nl, Foam::printTable(), dynamicCode::resolveTemplate(), List< T >::size(), and thermo.
|
staticprotected |
Get the constructor iterator for the given thermo dictionary and.
constructor iterator table
Definition at line 147 of file basicThermoTemplates.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), Foam::Info, dictionary::isDict(), dictionary::lookup(), mixtureName(), Foam::nl, and dictionary::subDict().
|
protected |
Enthalpy/internal energy field boundary types.
by interrogating the temperature field boundary types
Definition at line 180 of file basicThermo.C.
References forAll, patchi, Foam::T(), and GeometricBoundaryField< Type, PatchField, GeoMesh >::types().
|
protected |
Enthalpy/internal energy field boundary base types.
by interrogating the temperature field boundary types
Definition at line 162 of file basicThermo.C.
References forAll, word::null, patchi, UPtrList< T >::size(), and Foam::T().
|
protected |
Enthalpy/internal energy field sources types.
by interrogating the temperature field sources types
Definition at line 225 of file basicThermo.C.
References forAllConstIter, and Foam::T().
TypeName | ( | "basicThermo" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
basicThermo | , | ||
fvMesh | , | ||
(const fvMesh &mesh, const word &phaseName) | , | ||
(mesh, phaseName) | |||
) |
Declare run-time constructor selection table.
Name of a property for a given phase.
Definition at line 154 of file basicThermo.H.
References IOobject::groupName(), Foam::name(), and basicThermo::phaseName().
Referenced by basicThermo::gamma(), basicChemistryModel::New(), combustionModel::New(), basicThermo::phasePropertyName(), constSolidThermo::readProperty(), and basicThermo::validate().
|
static |
Lookup the thermo associated with the given field.
Referenced by energyFvScalarFieldSource::internalCoeff(), energyFvScalarFieldSource::sourceValue(), energyJumpFvPatchScalarField::updateCoeffs(), fixedEnergyFvPatchScalarField::updateCoeffs(), gradientEnergyFvPatchScalarField::updateCoeffs(), and mixedEnergyFvPatchScalarField::updateCoeffs().
|
static |
Split name of thermo package into a list of the components names.
Definition at line 80 of file basicThermo.C.
References Foam::min().
Referenced by sootModel::New(), basicChemistryModel::New(), and combustionModel::New().
|
static |
Split name of thermo package into a list of named components names.
Definition at line 142 of file basicThermo.C.
Referenced by basicChemistryModel::New().
|
static |
Generic New for each of the related thermodynamics packages.
|
static |
Specialisation of the Generic New for basicThermo.
Definition at line 285 of file basicThermo.C.
References basicThermo::mesh(), and basicThermo::phaseName().
|
pure virtual |
Properties dictionary.
Implemented in PhysicalPropertiesThermo< solidThermo::composite >.
Referenced by COxidationDiffusionLimitedRate< CloudType >::calculate(), COxidationHurtMitchell< CloudType >::calculate(), COxidationIntrinsicRate< CloudType >::calculate(), COxidationKineticDiffusionLimitedRate< CloudType >::calculate(), COxidationMurphyShaddix< CloudType >::calculate(), and parcelThermo::parcelThermo().
|
pure virtual |
Non-const access the properties dictionary.
Implemented in PhysicalPropertiesThermo< solidThermo::composite >.
|
pure virtual |
Return const access to the mesh.
Implemented in basicThermo::implementation.
Referenced by chemistryModel< ThermoType >::chemistryModel(), psiuMulticomponentThermo::implementation::implementation(), basicThermo::lookupOrConstruct(), phaseSolidThermophysicalTransportModel::New(), basicChemistryModel::New(), basicThermo::New(), fluidThermo::New(), liquidThermo::New(), rhoFluidThermo::New(), fluidMulticomponentThermo::New(), psiMulticomponentThermo::New(), psiuMulticomponentThermo::New(), rhoFluidMulticomponentThermo::New(), solidThermo::New(), psiThermo::New(), solidThermophysicalTransportModel::New(), and multicomponentThermo::normaliseY().
|
pure virtual |
Phase name.
Implemented in basicThermo::implementation.
Referenced by psiuMulticomponentThermo::implementation::implementation(), basicThermo::New(), fluidThermo::New(), liquidThermo::New(), rhoFluidThermo::New(), fluidMulticomponentThermo::New(), psiMulticomponentThermo::New(), psiuMulticomponentThermo::New(), rhoFluidMulticomponentThermo::New(), solidThermo::New(), psiThermo::New(), multicomponentThermo::normaliseY(), and basicThermo::phasePropertyName().
Name of a property for a given phase.
Definition at line 214 of file basicThermo.H.
References Foam::name(), basicThermo::phaseName(), and basicThermo::phasePropertyName().
Check that the thermodynamics package is consistent.
with energy forms supported by the application
Definition at line 307 of file basicThermo.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, basicThermo::he(), IOobject::name(), Foam::name(), and basicThermo::phasePropertyName().
Referenced by film::film(), fluid::fluid(), multicomponentFluid::multicomponentFluid(), shockFluid::shockFluid(), solid::solid(), and XiFluid::XiFluid().
Check that the thermodynamics package is consistent.
with energy forms supported by the application
Definition at line 323 of file basicThermo.C.
References b, Foam::exit(), Foam::FatalError, FatalErrorInFunction, basicThermo::he(), IOobject::name(), Foam::name(), and basicThermo::phasePropertyName().
|
pure virtual |
Update properties.
Implemented in constSolidThermo.
Referenced by radiation::addSup(), film::thermophysicalPredictor(), fluid::thermophysicalPredictor(), multicomponentFluid::thermophysicalPredictor(), and shockFluid::thermophysicalPredictor().
|
pure virtual |
Name of the thermo physics.
Implemented in constSolidThermo.
Referenced by basicChemistryModel::New().
|
pure virtual |
Return true if the equation of state is incompressible.
i.e. rho != f(p)
Implemented in constSolidThermo.
|
pure virtual |
Return true if the equation of state is isochoric.
i.e. rho = const
Implemented in constSolidThermo.
|
pure virtual |
Should the dpdt term be included in the enthalpy equation.
Implemented in solidThermo, solidThermo::composite, solidThermo::implementation, and basicThermo::implementation.
|
pure virtual |
Molecular weight [kg/kmol].
Implemented in constSolidThermo.
Referenced by adsorptionMassFractionFvPatchScalarField::calcPhiYp(), semiPermeableBaffleMassFractionFvPatchScalarField::calcPhiYp(), homogeneousCondensation::correct(), and saturated::wRatioByP().
|
pure virtual |
Molecular weight for patch [kg/kmol].
Implemented in constSolidThermo.
|
pure virtual |
Temperature [K].
Implemented in basicThermo::implementation.
Referenced by TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::addDmdtHefs(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::addDmidtHefs(), HeatTransferPhaseSystem< BasePhaseSystem >::addDmidtHefs(), HeatTransferPhaseSystem< BasePhaseSystem >::addDmidtHefsWithoutL(), chemistryModel< ThermoType >::calculate(), homogeneousCondensation::correct(), homogeneousLiquidPhaseSeparation::correct(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), Fickian< BasicThermophysicalTransportModel >::divj(), Fickian< BasicThermophysicalTransportModel >::divq(), MaxwellStefan< BasicThermophysicalTransportModel >::divq(), isotropic< SolidThermophysicalTransportModel >::divq(), basicThermo::gamma(), multiphaseExternalTemperatureFvPatchScalarField::getKappa(), coupledMultiphaseTemperatureFvPatchScalarField::getNbr(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), energyFvScalarFieldSource::internalCoeff(), Fickian< BasicThermophysicalTransportModel >::j(), wallBoilingHeatTransfer::K(), HeatTransferPhaseSystem< BasePhaseSystem >::L(), HeatTransferPhaseSystem< BasePhaseSystem >::Li(), combustionModel::New(), laminarFlameSpeed::New(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::predict(), Fickian< BasicThermophysicalTransportModel >::q(), MaxwellStefan< BasicThermophysicalTransportModel >::q(), chemistryModel< ThermoType >::reactionRR(), chemistryModel< ThermoType >::solve(), energyFvScalarFieldSource::sourceValue(), chemistryModel< ThermoType >::tc(), multiphaseEuler::thermophysicalPredictor(), shockFluid::thermophysicalPredictor(), energyJumpFvPatchScalarField::updateCoeffs(), fixedEnergyFvPatchScalarField::updateCoeffs(), gradientEnergyFvPatchScalarField::updateCoeffs(), and mixedEnergyFvPatchScalarField::updateCoeffs().
|
pure virtual |
Temperature [K].
Non-const access allowed for transport equations
Implemented in basicThermo::implementation.
|
pure virtual |
Enthalpy/Internal energy [J/kg].
Implemented in constSolidThermo.
Referenced by HeatTransferPhaseSystem< BasePhaseSystem >::addDmdtHefs(), HeatTransferPhaseSystem< BasePhaseSystem >::addDmdtHefsWithoutL(), HeatTransferPhaseSystem< BasePhaseSystem >::addDmidtHefs(), HeatTransferPhaseSystem< BasePhaseSystem >::addDmidtHefsWithoutL(), clouds::addSup(), clouds::addSupFields(), IsothermalPhaseModel< BasePhaseModel >::correctThermo(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), main(), multicomponentFluid::multicomponentFluid(), energyFvScalarFieldSource::sourceValue(), film::thermophysicalPredictor(), fluid::thermophysicalPredictor(), multicomponentFluid::thermophysicalPredictor(), shockFluid::thermophysicalPredictor(), specieTransferTemperatureFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), fixedEnergyFvPatchScalarField::updateCoeffs(), gradientEnergyFvPatchScalarField::updateCoeffs(), mixedEnergyFvPatchScalarField::updateCoeffs(), basicThermo::validate(), and XiFluid::XiFluid().
|
pure virtual |
Enthalpy/Internal energy [J/kg].
Non-const access allowed for transport equations
Implemented in constSolidThermo.
|
pure virtual |
Heat capacity at constant pressure [J/kg/K].
Implemented in constSolidThermo.
Referenced by compressibleInterPhaseThermophysicalTransportModel::alphaEff(), alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), adsorptionMassFractionFvPatchScalarField::calcPhiYp(), semiPermeableBaffleMassFractionFvPatchScalarField::calcPhiYp(), basicThermo::gamma(), wallBoilingHeatTransfer::K(), compressibleInterPhaseThermophysicalTransportModel::kappaEff(), specieTransferMassFractionFvPatchScalarField::updateCoeffs(), specieTransferTemperatureFvPatchScalarField::updateCoeffs(), gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs(), mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), and convectiveHeatTransferFvPatchScalarField::updateCoeffs().
|
pure virtual |
Heat capacity at constant volume [J/kg/K].
Implemented in constSolidThermo.
Referenced by compressibleInterPhaseThermophysicalTransportModel::alphaEff(), compressibleMultiphaseVoFMixture::alphaEff(), isotropic< SolidThermophysicalTransportModel >::divq(), and basicThermo::gamma().
|
pure virtual |
Heat capacity at constant pressure/volume [J/kg/K].
Implemented in constSolidThermo.
Referenced by OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), radiationModel::Sh(), gradientEnergyFvPatchScalarField::updateCoeffs(), mixedEnergyFvPatchScalarField::updateCoeffs(), and totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs().
|
pure virtual |
Density [kg/m^3].
Implemented in rhoThermo, psiThermo, rhoThermo::implementation, and psiThermo::implementation.
Referenced by adsorptionMassFractionFvPatchScalarField::calcPhiYp(), semiPermeableBaffleMassFractionFvPatchScalarField::calcPhiYp(), homogeneousCondensation::correct(), homogeneousLiquidPhaseSeparation::correct(), and fluidThermo::nu().
|
pure virtual |
Density for patch [kg/m^3].
Implemented in rhoThermo, psiThermo, rhoThermo::implementation, and psiThermo::implementation.
|
pure virtual |
Enthalpy/Internal energy.
for given pressure and temperature [J/kg]
Implemented in constSolidThermo.
|
pure virtual |
Enthalpy/Internal energy for cell-set [J/kg].
Implemented in constSolidThermo.
|
pure virtual |
Enthalpy/Internal energy for patch [J/kg].
Implemented in constSolidThermo.
|
pure virtual |
Enthalpy/Internal energy for source [J/kg].
Implemented in constSolidThermo.
|
pure virtual |
Sensible enthalpy [J/kg].
Implemented in constSolidThermo.
Referenced by HeatTransferPhaseSystem< BasePhaseSystem >::addDmdtHefs(), HeatTransferPhaseSystem< BasePhaseSystem >::addDmdtHefsWithoutL(), HeatTransferPhaseSystem< BasePhaseSystem >::addDmidtHefs(), and HeatTransferPhaseSystem< BasePhaseSystem >::addDmidtHefsWithoutL().
|
pure virtual |
|
pure virtual |
Sensible enthalpy for cell-set [J/kg].
Implemented in constSolidThermo.
|
pure virtual |
Sensible enthalpy for patch [J/kg].
Implemented in constSolidThermo.
|
pure virtual |
Absolute enthalpy [J/kg].
Implemented in constSolidThermo.
Referenced by wallBoilingHeatTransfer::K(), HeatTransferPhaseSystem< BasePhaseSystem >::L(), and HeatTransferPhaseSystem< BasePhaseSystem >::Li().
|
pure virtual |
|
pure virtual |
Absolute enthalpy for cell-set [J/kg].
Implemented in constSolidThermo.
|
pure virtual |
Absolute enthalpy for patch [J/kg].
Implemented in constSolidThermo.
|
pure virtual |
Heat capacity at constant pressure for patch [J/kg/K].
Implemented in constSolidThermo.
|
pure virtual |
Heat capacity at constant volume for patch [J/kg/K].
Implemented in constSolidThermo.
|
pure virtual |
Heat capacity at constant pressure/volume for patch [J/kg/K].
Implemented in constSolidThermo.
Foam::tmp< Foam::volScalarField > gamma | ( | ) | const |
Gamma = Cp/Cv [].
Definition at line 347 of file basicThermo.C.
References basicThermo::Cp(), basicThermo::Cv(), GeometricField< Type, PatchField, GeoMesh >::New(), and basicThermo::phasePropertyName().
Foam::tmp< Foam::scalarField > gamma | ( | const scalarField & | T, |
const label | patchi | ||
) | const |
Gamma = Cp/Cv for patch [].
Definition at line 353 of file basicThermo.C.
References basicThermo::Cp(), basicThermo::Cv(), patchi, and basicThermo::T().
|
pure virtual |
Temperature from enthalpy/internal energy.
Implemented in constSolidThermo.
|
pure virtual |
Temperature from enthalpy/internal energy for cell-set.
Implemented in constSolidThermo.
|
pure virtual |
Temperature from enthalpy/internal energy for patch.
Implemented in constSolidThermo.
|
pure virtual |
Thermal conductivity of mixture [W/m/K].
Implemented in constAnisoSolidThermo, and basicThermo::implementation.
Referenced by compressibleInterPhaseThermophysicalTransportModel::alphaEff(), alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), wallBoilingHeatTransfer::K(), phaseSolidThermophysicalTransportModel::kappa(), solidThermophysicalTransportModel::kappa(), compressibleInterPhaseThermophysicalTransportModel::kappaEff(), IsothermalPhaseModel< BasePhaseModel >::kappaEff(), and IsothermalSolidPhaseModel< BasePhaseModel >::kappaEff().
const Foam::basicThermo& lookupThermo | ( | const FieldType & | f | ) |
Definition at line 248 of file basicThermoTemplates.C.
References HashTable< T, Key, Hash >::begin(), HashTableCore::end(), f(), he(), and Foam::name().
Foam::autoPtr<Thermo> New | ( | const fvMesh & | mesh, |
const word & | phaseName | ||
) |
Definition at line 286 of file basicThermoTemplates.C.
References physicalProperties::findModelDict().