35 namespace heatTransferCoeffModels
40 heatTransferCoeffModel,
41 fixedReferenceTemperature,
58 const scalar eps = ROOTVSMALL;
63 htcBf[patchi] =
q[patchi]/(
TRef_ - Tbf[patchi] + eps);
97 dict.readEntry(
"TRef", TRef_);
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...
defineTypeNameAndDebug(faceZoneReferenceTemperature, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool read(const dictionary &dict)
Read from dictionary.
Macros for easy insertion into run-time selection tables.
A field of fields is a PtrList of fields with reference counting.
A base class for heat transfer coefficient models.
A class for handling words, derived from Foam::string.
virtual void htc(volScalarField &htc, const FieldField< Field, scalar > &q)
Set the heat transfer coefficient.
const fvMesh & mesh_
Const reference to the mesh.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual bool read(const dictionary &dict)
Read from dictionary.
const word TName_
Name of temperature field.
Mesh data needed to do the Finite Volume discretisation.
addToRunTimeSelectionTable(heatTransferCoeffModel, faceZoneReferenceTemperature, dictionary)
tmp< FieldField< Field, scalar > > q() const
Return boundary fields of heat-flux field.
labelList patchIDs_
List of (wall) patches to process (selected by name)
scalar TRef_
Reference temperature [K].
fixedReferenceTemperature(const dictionary &dict, const fvMesh &mesh, const word &TName)
Construct from components.