Go to the documentation of this file.
43 const word& calculationType,
55 const dictionary&
dict
66 const temperatureCoupledBase& base
100 return turbModel.kappaEff(patchI);
104 const fluidThermo&
thermo =
107 return thermo.kappa(patchI);
113 <<
" method, but thermo package not available"
122 const solidThermo&
thermo =
125 return thermo.kappa(patchI);
131 const solidThermo&
thermo =
168 return n & KWall &
n;
176 <<
"Please set 'kappa' to one of "
178 <<
" and 'kappaName' to the name of the volScalar"
179 <<
" or volSymmTensor field (if kappa=lookup)"
191 <<
" and 'kappaName' to the name of the volScalar"
192 <<
" or volSymmTensor field (if kappa=lookup)"
203 os.writeKeyword(
"kappa") << KMethodTypeNames_[method_]
@ mtDirectionalSolidThermo
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const word alphaAniName_
Name of the non-Isotropic alpha (default: Anialpha)
List< Key > toc() const
Return the table of contents.
A class for managing temporary objects.
static const word dictName
static const word propertiesName
Default name of the turbulence properties dictionary.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
const fvMesh & mesh() const
Return the mesh reference.
temperatureCoupledBase(const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName)
Construct from patch and K name.
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
Field< vector > vectorField
Specialisation of Field<T> for vector.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const word & name() const
Return name.
tmp< vectorField > nf() const
Return face normals.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const KMethodType method_
How to get K.
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
const fvPatch & patch_
Underlying patch.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label index() const
Return the index of this patch in the fvBoundaryMesh.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const word kappaName_
Name of thermal conductivity field (if looked up from database)
static const NamedEnum< KMethodType, 4 > KMethodTypeNames_
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
volScalarField scalarField(fieldObject, mesh)
tmp< scalarField > kappa(const scalarField &Tp) const
Given patch temperature calculate corresponding K field.
const GeometricField::PatchFieldType & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
void write(Ostream &) const
Write.
stressControl lookup("compactNormalStress") >> compactNormalStress