Go to the documentation of this file.
45 "directionalSolidThermo",
60 const word& calculationType,
61 const word& kappaName,
62 const word& alphaAniName
66 method_(KMethodTypeNames_[calculationType]),
67 kappaName_(kappaName),
68 alphaAniName_(alphaAniName)
79 method_(KMethodTypeNames_.read(
dict.lookup(
"kappa"))),
80 kappaName_(
dict.lookup(
"kappaName")),
81 alphaAniName_(
dict.lookupOrDefault<
word>(
"alphaAniName",
"Anialpha"))
105 const fvMesh&
mesh = patch_.boundaryMesh().mesh();
106 const label patchI = patch_.index();
114 word turbName(turbulenceModel::propertiesName);
124 return turbModel.kappaEff(patchI);
131 return thermo.kappa(patchI);
136 <<
"Kappa defined to employ " << KMethodTypeNames_[method_]
137 <<
" method, but thermo package not available"
149 return thermo.kappa(patchI);
153 case mtDirectionalSolidThermo:
192 return n & KWall &
n;
197 <<
"Did not find field " << kappaName_
198 <<
" on mesh " <<
mesh.name() <<
" patch " << patch_.name()
200 <<
"Please set 'kappa' to one of "
201 << KMethodTypeNames_.toc()
202 <<
" and 'kappaName' to the name of the volScalar"
203 <<
" or volSymmTensor field (if kappa=lookup)"
213 <<
"Unimplemented method " << KMethodTypeNames_[method_] <<
nl
214 <<
"Please set 'kappa' to one of " << KMethodTypeNames_.toc()
215 <<
" and 'kappaName' to the name of the volScalar"
216 <<
" or volSymmTensor field (if kappa=lookup)"
A class for handling words, derived from string.
const word alphaAniName_
Name of the non-Isotropic alpha (default: Anialpha)
A class for managing temporary objects.
Fundamental fluid thermodynamic properties.
Common functions for use in temperature coupled boundaries.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
temperatureCoupledBase(const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName)
Construct from patch and K name.
const word dictName("particleTrackDict")
Fundamental solid thermodynamic properties.
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.
Pre-declare SubField and related Field type.
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
KMethodType
Type of supplied Kappa.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Abstract base class for turbulence models (RAS, LES and laminar).
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
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.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
volScalarField scalarField(fieldObject, mesh)
tmp< scalarField > kappa(const scalarField &Tp) const
Given patch temperature calculate corresponding K field.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &) const
Write.
Generic GeometricField class.
Initialise the NamedEnum HashTable from the static list of names.