90 q[patchi] = alphaEffbf[patchi]*hebf[patchi].snGrad();
107 q[patchi] = alphabf[patchi]*hebf[patchi].snGrad();
113 <<
"Unable to find a valid thermo model to evaluate q. " <<
nl 114 <<
"Database contents are: " <<
mesh_.objectRegistry::sortedToc()
128 q[patchi] += qrbf[patchi];
139 const FieldField<Field, scalar>& q
word dictName() const
The local dictionary name (final part of scoped name)
const polyBoundaryMesh & pbm
static autoPtr< heatTransferCoeffModel > New(const dictionary &dict, const fvMesh &mesh, const word &TName)
Return a reference to the selected heat transfer coefficient model.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
errorManipArg< error, int > exit(error &err, const int errNo=1)
word qrName_
Name of radiative heat flux field.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
labelHashSet patchSet(const UList< wordRe > &select, const bool warnNotFound=true, const bool useGroups=true) const
Return the set of patch IDs corresponding to the given names.
constexpr char nl
The newline '\n' character (0x0a)
compressible::turbulenceModel & turb
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
Type of boundary fields.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
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.
#define forAll(list, i)
Loop across all elements in list.
A base class for heat transfer coefficient models.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
psiReactionThermo & thermo
virtual bool calc(volScalarField &result, const FieldField< Field, scalar > &q)
Calculate the heat transfer coefficient field and return true if successful.
A class for handling words, derived from Foam::string.
A List of wordRe with additional matching capabilities.
const fvMesh & mesh_
Const reference to the mesh.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry if present, and assign to T val. FatalIOError if it is found and the number of tokens i...
defineTypeNameAndDebug(combustionModel, 0)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const word TName_
Name of temperature field.
Mesh data needed to do the Finite Volume discretisation.
List< Key > sortedToc() const
The table of contents (the keys) in sorted order.
heatTransferCoeffModel(const dictionary &dict, const fvMesh &mesh, const word &TName)
Construct from components.
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
tmp< FieldField< Field, scalar > > q() const
Return boundary fields of heat-flux field.
volScalarField alphaEff("alphaEff", turbulence->nu()/Pr+alphat)
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
labelList patchIDs_
List of (wall) patches to process (selected by name)
static constexpr const zero Zero
Global zero (0)