35 namespace wallHeatTransferCoeffModels
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.
Macros for easy insertion into run-time selection tables.
Generic GeometricBoundaryField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
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.
Abstract base class for turbulence models (RAS, LES and laminar).
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Abstract base class for run time selection of heat transfer coefficient models.
Calculates and writes the estimated flow heat transfer coefficient at wall patches as the volScalarFi...
virtual tmp< volScalarField > htcByRhoCp(const momentumTransportModel &mmtm, const labelHashSet &patches) const
Calculate the heat transfer coefficient.
virtual ~ReynoldsAnalogy()
Destructor.
ReynoldsAnalogy(const word &name, const fvMesh &mesh, const dictionary &dict)
Construct from name, mesh and dict.
virtual bool read(const dictionary &)
Read the ReynoldsAnalogy data.
A class for handling words, derived from string.
const fvPatchList & patches
defineTypeNameAndDebug(kappaEff, 0)
addToRunTimeSelectionTable(wallHeatTransferCoeffModel, kappaEff, word)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimLength
const dimensionSet dimTime
dimensioned< scalar > mag(const dimensioned< Type > &)
const dimensionSet dimVelocity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.