Common functions for use 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 for use in temperature coupled boundaries.
For now only provides the following methods:
Keywords provided by this class
Property | Description | Required | Default value |
---|---|---|---|
kappa | heat conduction type at patch, as listed above | yes | |
kappaName | Name of thermal conductivity field | yes | |
alphaAniName | name of the non-isotropic alpha | no | 'Anialpha' |
Usage examples:
nonIsotropicWall { ... kappa directionalSolidThermo; kappaName none; alphaAniName Anialpha; ... }
For now only provides the following methods:
Keywords provided by this class
Property | Description | Required | Default value |
---|---|---|---|
kappa | heat conduction type at patch, as listed above | yes | |
kappaName | Name of thermal conductivity field | yes | |
alphaAniName | name of the non-isotropic alpha | no | 'Anialpha' |
Usage examples:
nonIsotropicWall { ... kappa directionalSolidThermo; kappaName none; alphaAniName Anialpha; ... }
Definition at line 104 of file temperatureCoupledBase.H.
enum KMethodType |
Type of supplied Kappa.
Enumerator | |
---|---|
mtFluidThermo | |
mtSolidThermo | |
mtDirectionalSolidThermo | |
mtLookup |
Definition at line 111 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.
temperatureCoupledBase | ( | const fvPatch & | patch, |
const dictionary & | dict | ||
) |
Construct from patch and dictionary.
Definition at line 73 of file temperatureCoupledBase.C.
temperatureCoupledBase | ( | const fvPatch & | patch, |
const temperatureCoupledBase & | base | ||
) |
Construct from patch and temperatureCoupledBase.
Definition at line 86 of file temperatureCoupledBase.C.
|
inline |
Method to obtain K.
Definition at line 170 of file temperatureCoupledBase.H.
References temperatureCoupledBase::KMethodTypeNames_, and temperatureCoupledBase::method_.
|
inline |
Name of thermal conductivity field.
Definition at line 176 of file temperatureCoupledBase.H.
References temperatureCoupledBase::kappaName_.
Foam::tmp< Foam::scalarField > kappa | ( | const scalarField & | Tp | ) | const |
Given patch temperature calculate corresponding K field.
Definition at line 101 of file temperatureCoupledBase.C.
References dictName(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::constant::electromagnetic::kappa, mesh, n, Foam::nl, and scalarField().
Referenced by filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentHeatFluxTemperatureFvPatchScalarField::updateCoeffs(), externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 225 of file temperatureCoupledBase.C.
References token::END_STATEMENT, temperatureCoupledBase::kappaName_, temperatureCoupledBase::KMethodTypeNames_, temperatureCoupledBase::method_, Foam::nl, and Ostream::writeKeyword().
Referenced by filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::write(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::write(), turbulentHeatFluxTemperatureFvPatchScalarField::write(), externalWallHeatFluxTemperatureFvPatchScalarField::write(), and humidityTemperatureCoupledMixedFvPatchScalarField::write().
|
staticprotected |
Definition at line 124 of file temperatureCoupledBase.H.
Referenced by temperatureCoupledBase::KMethod(), and temperatureCoupledBase::write().
|
protected |
Underlying patch.
Definition at line 127 of file temperatureCoupledBase.H.
|
protected |
How to get K.
Definition at line 130 of file temperatureCoupledBase.H.
Referenced by temperatureCoupledBase::KMethod(), and temperatureCoupledBase::write().
|
protected |
Name of thermal conductivity field (if looked up from database)
Definition at line 133 of file temperatureCoupledBase.H.
Referenced by temperatureCoupledBase::kappaName(), and temperatureCoupledBase::write().
|
protected |
Name of the non-Isotropic alpha (default: Anialpha)
Definition at line 136 of file temperatureCoupledBase.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.