35 namespace wallHeatTransferCoeffModels
105 thtcByRhoCp.
ref().boundaryFieldRef();
109 if (!thtcByRhoCpBf[
patchi].coupled())
117 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, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for momentum transport 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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const fvPatchList & patches
defineTypeNameAndDebug(kappaEff, 0)
addToRunTimeSelectionTable(wallHeatTransferCoeffModel, kappaEff, word)
const dimensionSet & dimLength
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
const dimensionSet & dimVelocity
const dimensionSet & dimTime
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
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.