Energy for a solid mixture. More...
Public Member Functions | |
TypeName ("heSolidThermo") | |
Runtime type information. More... | |
heSolidThermo (const fvMesh &, const word &phaseName) | |
Construct from mesh and phase name. More... | |
heSolidThermo (const fvMesh &, const dictionary &, const word &phaseName) | |
Construct from mesh, dictionary and phase name. More... | |
heSolidThermo (const heSolidThermo< BasicSolidThermo, MixtureType > &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~heSolidThermo () |
Destructor. More... | |
virtual void | correct () |
Update properties. More... | |
virtual bool | isotropic () const |
Return true if thermal conductivity is isotropic. More... | |
virtual tmp< volVectorField > | Kappa () const |
Anisotropic thermal conductivity [W/m/K]. More... | |
virtual tmp< vectorField > | Kappa (const label patchi) const |
Anisotropic thermal conductivity [W/m/K]. More... | |
virtual tmp< symmTensorField > | KappaLocal (const label patchi) const |
Anisotropic thermal conductivity for patch. More... | |
virtual tmp< surfaceScalarField > | q () const |
Return the heat flux [W/m^2]. More... | |
virtual tmp< fvScalarMatrix > | divq (volScalarField &he) const |
Return the source term for the energy equation. More... | |
void | operator= (const heSolidThermo< BasicSolidThermo, MixtureType > &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from heThermo< BasicSolidThermo, MixtureType > | |
Foam::tmp< Foam::volScalarField > | volScalarFieldProperty (const word &psiName, const dimensionSet &psiDim, CellMixture cellMixture, PatchFaceMixture patchFaceMixture, Method psiMethod, const Args &... args) const |
Foam::tmp< Foam::scalarField > | cellSetProperty (CellMixture cellMixture, Method psiMethod, const labelList &cells, const Args &... args) const |
Foam::tmp< Foam::scalarField > | patchFieldProperty (PatchFaceMixture patchFaceMixture, Method psiMethod, const label patchi, const Args &... args) const |
heThermo (const fvMesh &, const word &phaseName) | |
Construct from mesh. More... | |
heThermo (const fvMesh &, const dictionary &, const word &phaseName) | |
Construct from mesh and dictionary. More... | |
heThermo (const heThermo< BasicSolidThermo, MixtureType > &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~heThermo () |
Destructor. More... | |
virtual MixtureType::basicMixtureType & | composition () |
Return the composition of the mixture. More... | |
virtual const MixtureType::basicMixtureType & | composition () const |
Return the composition of the mixture. More... | |
virtual word | thermoName () const |
Return the name of the thermo physics. More... | |
virtual bool | incompressible () const |
Return true if the equation of state is incompressible. More... | |
virtual bool | isochoric () const |
Return true if the equation of state is isochoric. More... | |
virtual volScalarField & | he () |
Enthalpy/Internal energy [J/kg]. More... | |
virtual const volScalarField & | he () const |
Enthalpy/Internal energy [J/kg]. More... | |
virtual tmp< volScalarField > | he (const volScalarField &p, const volScalarField &T) const |
Enthalpy/Internal energy. More... | |
virtual tmp< scalarField > | he (const scalarField &T, const labelList &cells) const |
Enthalpy/Internal energy for cell-set [J/kg]. More... | |
virtual tmp< scalarField > | he (const scalarField &T, const label patchi) const |
Enthalpy/Internal energy for patch [J/kg]. More... | |
virtual tmp< volScalarField > | Cp () const |
Heat capacity at constant pressure [J/kg/K]. More... | |
virtual tmp< scalarField > | Cp (const scalarField &T, const label patchi) const |
Heat capacity at constant pressure for patch [J/kg/K]. More... | |
virtual tmp< volScalarField > | Cv () const |
Heat capacity at constant volume [J/kg/K]. More... | |
virtual tmp< scalarField > | Cv (const scalarField &T, const label patchi) const |
Heat capacity at constant volume for patch [J/kg/K]. More... | |
virtual tmp< volScalarField > | hs () const |
Sensible enthalpy [J/kg/K]. More... | |
virtual tmp< volScalarField > | hs (const volScalarField &p, const volScalarField &T) const |
Sensible enthalpy. More... | |
virtual tmp< scalarField > | hs (const scalarField &T, const label patchi) const |
Sensible enthalpy for patch [J/kg/K]. More... | |
virtual tmp< scalarField > | hs (const scalarField &T, const labelList &cells) const |
Sensible enthalpy for cell-set [J/kg]. More... | |
virtual tmp< volScalarField > | ha () const |
Absolute enthalpy [J/kg/K]. More... | |
virtual tmp< volScalarField > | ha (const volScalarField &p, const volScalarField &T) const |
Absolute enthalpy. More... | |
virtual tmp< scalarField > | ha (const scalarField &T, const label patchi) const |
Absolute enthalpy for patch [J/kg/K]. More... | |
virtual tmp< scalarField > | ha (const scalarField &T, const labelList &cells) const |
Absolute enthalpy for cell-set [J/kg]. More... | |
virtual tmp< volScalarField > | hc () const |
Enthalpy of formation [J/kg]. More... | |
virtual tmp< volScalarField > | THE (const volScalarField &h, const volScalarField &p, const volScalarField &T0) const |
Temperature from enthalpy/internal energy. More... | |
virtual tmp< scalarField > | THE (const scalarField &he, const scalarField &T0, const labelList &cells) const |
Temperature from enthalpy/internal energy for cell-set. More... | |
virtual tmp< scalarField > | THE (const scalarField &he, const scalarField &T0, const label patchi) const |
Temperature from enthalpy/internal energy for patch. More... | |
virtual tmp< volScalarField > | gamma () const |
Gamma = Cp/Cv []. More... | |
virtual tmp< scalarField > | gamma (const scalarField &T, const label patchi) const |
Gamma = Cp/Cv for patch []. More... | |
virtual tmp< scalarField > | Cpv (const scalarField &T, const label patchi) const |
Heat capacity at constant pressure/volume for patch [J/kg/K]. More... | |
virtual tmp< volScalarField > | Cpv () const |
Heat capacity at constant pressure/volume [J/kg/K]. More... | |
virtual tmp< volScalarField > | W () const |
Molecular weight [kg/kmol]. More... | |
virtual tmp< scalarField > | W (const label patchi) const |
Molecular weight for patch [kg/kmol]. More... | |
virtual tmp< volScalarField > | kappa () const |
Thermal diffusivity for temperature of mixture [W/m/K]. More... | |
virtual tmp< scalarField > | kappa (const label patchi) const |
Thermal diffusivity for temperature of mixture for patch [W/m/K]. More... | |
virtual tmp< volScalarField > | alphahe () const |
Thermal diffusivity for energy of mixture [kg/m/s]. More... | |
virtual tmp< scalarField > | alphahe (const label patchi) const |
Thermal diffusivity for energy of mixture for patch [kg/m/s]. More... | |
virtual tmp< volScalarField > | kappaEff (const volScalarField &) const |
Effective thermal turbulent diffusivity for temperature. More... | |
virtual tmp< scalarField > | kappaEff (const scalarField &alphat, const label patchi) const |
Effective thermal turbulent diffusivity for temperature. More... | |
virtual tmp< volScalarField > | alphaEff (const volScalarField &alphat) const |
Effective thermal turbulent diffusivity of mixture [kg/m/s]. More... | |
virtual tmp< scalarField > | alphaEff (const scalarField &alphat, const label patchi) const |
Effective thermal turbulent diffusivity of mixture. More... | |
virtual bool | read () |
Read thermophysical properties dictionary. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from heThermo< BasicSolidThermo, MixtureType > | |
tmp< volScalarField > | volScalarFieldProperty (const word &psiName, const dimensionSet &psiDim, CellMixture cellMixture, PatchFaceMixture patchFaceMixture, Method psiMethod, const Args &... args) const |
Return a volScalarField of the given property. More... | |
tmp< scalarField > | cellSetProperty (CellMixture cellMixture, Method psiMethod, const labelList &cells, const Args &... args) const |
Return a scalarField of the given property on a cell set. More... | |
tmp< scalarField > | patchFieldProperty (PatchFaceMixture patchFaceMixture, Method psiMethod, const label patchi, const Args &... args) const |
Return a scalarField of the given property on a patch. More... | |
void | heBoundaryCorrection (volScalarField &he) |
Correct the enthalpy/internal energy field boundaries. More... | |
Static Protected Member Functions inherited from heThermo< BasicSolidThermo, MixtureType > | |
static UIndirectList< scalar > | cellSetScalarList (const volScalarField &psi, const labelList &cells) |
Return an indirect list of a field for the given set of cells. More... | |
static UniformField< scalar > | cellSetScalarList (const uniformGeometricScalarField &psi, const labelList &) |
Return an indirect list of a field for the given set of cells. More... | |
Protected Attributes inherited from heThermo< BasicSolidThermo, MixtureType > | |
volScalarField | he_ |
Energy field. More... | |
volScalarField | Cp_ |
Heat capacity at constant pressure field [J/kg/K]. More... | |
volScalarField | Cv_ |
Energy for a solid mixture.
Definition at line 49 of file heSolidThermo.H.
heSolidThermo | ( | const fvMesh & | mesh, |
const word & | phaseName | ||
) |
Construct from mesh and phase name.
Definition at line 157 of file heSolidThermo.C.
heSolidThermo | ( | const fvMesh & | mesh, |
const dictionary & | dict, | ||
const word & | phaseName | ||
) |
Construct from mesh, dictionary and phase name.
Definition at line 171 of file heSolidThermo.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 186 of file heSolidThermo.C.
TypeName | ( | "heSolidThermo< BasicSolidThermo, MixtureType >" | ) |
Runtime type information.
|
virtual |
Update properties.
Definition at line 193 of file heSolidThermo.C.
References Foam::endl(), Foam::Info, and InfoInFunction.
|
inlinevirtual |
Return true if thermal conductivity is isotropic.
Definition at line 102 of file heSolidThermo.H.
References heSolidThermo< BasicSolidThermo, MixtureType >::divq(), heThermo< BasicSolidThermo, MixtureType >::he(), heSolidThermo< BasicSolidThermo, MixtureType >::Kappa(), patchi, and heSolidThermo< BasicSolidThermo, MixtureType >::q().
|
virtual |
Anisotropic thermal conductivity [W/m/K].
Definition at line 211 of file heSolidThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), Foam::dimEnergy, Foam::dimLength, Foam::dimTemperature, Foam::dimTime, forAll, Foam::compressible::New(), patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), and tmp< T >::ref().
Referenced by heSolidThermo< BasicSolidThermo, MixtureType >::isotropic().
|
virtual |
Anisotropic thermal conductivity [W/m/K].
Definition at line 267 of file heSolidThermo.C.
References fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvMesh::C(), DimensionedField< Type, GeoMesh >::dimensions(), forAll, Foam::compressible::New(), patchi, coordinateSystem::R(), tmp< T >::ref(), GeometricField< Type, PatchField, GeoMesh >::ref(), List< T >::size(), vectorField(), and Foam::Zero.
|
virtual |
Anisotropic thermal conductivity for patch.
in the local coordinate system [W/m/K]
Definition at line 333 of file heSolidThermo.C.
References fvMesh::boundary(), Foam::compressible::New(), patchi, and coordinateSystem::R().
|
virtual |
Return the heat flux [W/m^2].
Definition at line 352 of file heSolidThermo.C.
References heSolidThermo< BasicSolidThermo, MixtureType >::divq(), Foam::fvc::flux(), Foam::constant::electromagnetic::kappa, Foam::fvc::laplacian(), fvMesh::magSf(), and fvSchemes::setFluxRequired().
Referenced by heSolidThermo< BasicSolidThermo, MixtureType >::isotropic().
|
virtual |
Return the source term for the energy equation.
Definition at line 369 of file heSolidThermo.C.
References alpha(), Foam::correction(), Cv(), Foam::constant::electromagnetic::kappa, Foam::fvc::laplacian(), and Foam::name().
Referenced by heSolidThermo< BasicSolidThermo, MixtureType >::isotropic(), and heSolidThermo< BasicSolidThermo, MixtureType >::q().
|
delete |
Disallow default bitwise assignment.