Go to the documentation of this file.
49 const volScalarField::Boundary& Tbf =
T.boundaryField();
63 const cmpTurbModel&
turb =
67 const volScalarField::Boundary& hebf =
he.boundaryField();
70 const volScalarField::Boundary& alphaEffbf =
alphaEff.boundaryField();
74 q[patchi] = alphaEffbf[patchi]*hebf[patchi].snGrad();
83 const volScalarField::Boundary& hebf =
he.boundaryField();
86 const volScalarField::Boundary& alphabf =
alpha.boundaryField();
90 q[patchi] = alphabf[patchi]*hebf[patchi].snGrad();
96 <<
"Unable to find a valid thermo model to evaluate q" <<
nl
106 const volScalarField::Boundary& qrbf = qrPtr->
boundaryField();
110 q[patchi] += qrbf[patchi];
138 patchSet_ = mesh_.boundaryMesh().patchSet(
dict.
get<
wordRes>(
"patches"));
A class for handling words, derived from Foam::string.
A field of fields is a PtrList of fields with reference counting.
A class for managing temporary objects.
const fvMesh & mesh_
Mesh reference.
static constexpr const zero Zero
Global zero (0)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Fundamental fluid thermodynamic properties.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
#define forAll(list, i)
Loop across all elements in list.
labelHashSet patchSet_
Optional list of (wall) patches to process.
virtual bool calc(volScalarField &result, const FieldField< Field, scalar > &q)
static autoPtr< heatTransferCoeffModel > New(const dictionary &dict, const fvMesh &mesh, const word &TName)
Return a reference to the selected heat transfer coefficient model.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const Type & lookupObject(const word &name, const bool recursive=false) const
word dictName() const
The local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const Type * cfindObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
virtual bool read(const dictionary &dict)
Read from dictionary.
heatTransferCoeffModel(const heatTransferCoeffModel &)=delete
No copy construct.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
A List of wordRe with additional matching capabilities.
volScalarField alphaEff("alphaEff", turbulence->nu()/Pr+alphat)
const word TName_
Temperature name.
compressible::turbulenceModel & turb
defineTypeNameAndDebug(combustionModel, 0)
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
const Boundary & boundaryField() const
Return const-reference to the boundary field.
tmp< FieldField< Field, scalar > > q() const
Return q boundary fields.
word qrName_
Name of radiative heat flux (default = qr)