Common functions used in temperature coupled boundaries. More...
Public Types | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup } |
Type of supplied Kappa. More... | |
Public Member Functions | |
temperatureCoupledBase (const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName) | |
Construct from patch and K name. More... | |
temperatureCoupledBase (const fvPatch &patch, const dictionary &dict) | |
Construct from patch and dictionary. More... | |
temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base) | |
Construct from patch and temperatureCoupledBase. More... | |
word | KMethod () const |
Method to obtain K. More... | |
const word & | kappaName () const |
Name of thermal conductivity field. More... | |
tmp< scalarField > | kappa (const scalarField &Tp) const |
Given patch temperature calculate corresponding K field. More... | |
void | write (Ostream &) const |
Write. More... | |
Protected Attributes | |
const fvPatch & | patch_ |
Underlying patch. More... | |
const KMethodType | method_ |
How to get K. More... | |
const word | kappaName_ |
Name of thermal conductivity field (if looked up from database) More... | |
const word | alphaAniName_ |
Name of the non-Isotropic alpha (default: Anialpha) More... | |
Static Protected Attributes | |
static const NamedEnum< KMethodType, 4 > | KMethodTypeNames_ |
Common functions used in temperature coupled boundaries.
The thermal conductivity kappa
may be obtained by the following methods:
Property | Description | Required | Default value |
---|---|---|---|
kappaMethod | Thermal conductivity method | yes | |
kappa | Name of thermal conductivity field | no | none |
alphaAni | Name of the non-isotropic alpha | no | Anialpha |
nonIsotropicWall { ... kappaMethod directionalSolidThermo; kappa none; alphaAni Anialpha; ... }
Definition at line 100 of file temperatureCoupledBase.H.
enum KMethodType |
Type of supplied Kappa.
Enumerator | |
---|---|
mtFluidThermo | |
mtSolidThermo | |
mtDirectionalSolidThermo | |
mtLookup |
Definition at line 107 of file temperatureCoupledBase.H.
temperatureCoupledBase | ( | const fvPatch & | patch, |
const word & | calculationMethod, | ||
const word & | kappaName, | ||
const word & | alphaAniName | ||
) |
Construct from patch and K name.
Definition at line 58 of file temperatureCoupledBase.C.
Referenced by NamedEnum< directionType, 3 >::names(), and temperatureCoupledBase::temperatureCoupledBase().
temperatureCoupledBase | ( | const fvPatch & | patch, |
const dictionary & | dict | ||
) |
Construct from patch and dictionary.
Definition at line 73 of file temperatureCoupledBase.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::found(), Foam::nl, and temperatureCoupledBase::temperatureCoupledBase().
temperatureCoupledBase | ( | const fvPatch & | patch, |
const temperatureCoupledBase & | base | ||
) |
Construct from patch and temperatureCoupledBase.
Definition at line 122 of file temperatureCoupledBase.C.
References temperatureCoupledBase::kappa().
|
inline |
Method to obtain K.
Definition at line 166 of file temperatureCoupledBase.H.
References temperatureCoupledBase::method_.
|
inline |
Name of thermal conductivity field.
Definition at line 172 of file temperatureCoupledBase.H.
References temperatureCoupledBase::kappa(), temperatureCoupledBase::kappaName_, and temperatureCoupledBase::write().
Foam::tmp< Foam::scalarField > kappa | ( | const scalarField & | Tp | ) | const |
Given patch temperature calculate corresponding K field.
Definition at line 137 of file temperatureCoupledBase.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), polyMesh::boundaryMesh(), basicThermo::Cp(), dictionaryName::dictName(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::foundObject(), Foam::constant::electromagnetic::kappa, basicThermo::kappa(), objectRegistry::lookupObject(), mesh, polyBoundaryMesh::mesh(), n, fvMesh::name(), Foam::nl, basicThermo::p(), patchi, turbulenceModel::propertiesName, and thermo.
Referenced by temperatureCoupledBase::kappaName(), temperatureCoupledBase::temperatureCoupledBase(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 261 of file temperatureCoupledBase.C.
References Foam::writeEntry().
Referenced by temperatureCoupledBase::kappaName(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::write(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::write(), and externalWallHeatFluxTemperatureFvPatchScalarField::write().
|
staticprotected |
Definition at line 120 of file temperatureCoupledBase.H.
Referenced by NamedEnum< directionType, 3 >::names().
|
protected |
Underlying patch.
Definition at line 123 of file temperatureCoupledBase.H.
|
protected |
How to get K.
Definition at line 126 of file temperatureCoupledBase.H.
Referenced by temperatureCoupledBase::KMethod().
|
protected |
Name of thermal conductivity field (if looked up from database)
Definition at line 129 of file temperatureCoupledBase.H.
Referenced by temperatureCoupledBase::kappaName().
|
protected |
Name of the non-Isotropic alpha (default: Anialpha)
Definition at line 132 of file temperatureCoupledBase.H.