35 namespace wallHeatTransferCoeffModels
40 wallHeatTransferCoeffModel,
91 const volSymmTensorField::Boundary& tauBf = ttau.
ref().boundaryField();
104 volScalarField::Boundary& thtcByRhoCpBf =
105 thtcByRhoCp.
ref().boundaryFieldRef();
109 if (!thtcByRhoCpBf[
patchi].coupled())
119 thtcByRhoCpBf[
patchi] = 0.5*Uref_.value()*Cf;
#define forAll(list, i)
Loop across all elements in list.
virtual ~ReynoldsAnalogy()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Abstract base class for run time selection of heat transfer coefficient models.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
virtual bool read(const dictionary &)
Read the ReynoldsAnalogy data.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
const dimensionSet dimTime
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual tmp< volScalarField > htcByRhoCp(const momentumTransportModel &mmtm, const labelHashSet &patches) const
Calculate the heat transfer coefficient.
addToRunTimeSelectionTable(wallHeatTransferCoeffModel, kappaEff, word)
const dimensionSet dimVelocity
Abstract base class for turbulence models (RAS, LES and laminar).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
ReynoldsAnalogy(const word &name, const fvMesh &mesh, const dictionary &dict)
Construct from name, mesh and dict.
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
defineTypeNameAndDebug(kappaEff, 0)