75 q[patchi] = alphaEffbf[patchi]*hebf[patchi].snGrad();
92 q[patchi] = alphabf[patchi]*hebf[patchi].snGrad();
98 <<
"Unable to find a valid thermo model to evaluate q. " <<
nl
99 <<
"Database contents are: " <<
mesh_.objectRegistry::sortedToc()
113 q[patchi] += qrbf[patchi];
141 patchSet_ = mesh_.boundaryMesh().patchSet(
dict.
get<
wordRes>(
"patches"));
compressible::turbulenceModel & turb
A field of fields is a PtrList of fields with reference counting.
Generic templated field type.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
virtual bool read()
Re-read model coefficients if they have changed.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
static const word dictName
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Fundamental fluid thermodynamic properties.
Mesh data needed to do the Finite Volume discretisation.
An abstract base class for heat transfer coeffcient models.
const word TName_
Temperature name.
static autoPtr< heatTransferCoeffModel > New(const dictionary &dict, const fvMesh &mesh, const word &TName)
Return a reference to the selected heat transfer coefficient model.
const fvMesh & mesh_
Mesh reference.
word qrName_
Name of radiative heat flux.
tmp< FieldField< Field, scalar > > q() const
Return q boundary fields.
labelHashSet patchSet_
Optional list of (wall) patches to process.
virtual bool calc(volScalarField &result, const FieldField< Field, scalar > &q)
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
const Type * cfindObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
const Type & lookupObject(const word &name, const bool recursive=false) const
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
volScalarField alphaEff("alphaEff", turbulence->nu()/Pr+alphat)
static constexpr const zero Zero
Global zero (0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.