Go to the documentation of this file.
35 namespace heatTransferCoeffModels
73 dict.readEntry(
"TRef", TRef_);
89 const volScalarField::Boundary& Tbf =
T.boundaryField();
90 const scalar eps = ROOTVSMALL;
93 for (
const label patchi : patchSet_)
95 htcBf[patchi] = q[patchi]/(TRef_ - Tbf[patchi] + eps);
An abstract base class for heat transfer coeffcient models.
A class for handling words, derived from Foam::string.
A field of fields is a PtrList of fields with reference counting.
addToRunTimeSelectionTable(heatTransferCoeffModel, fixedReferenceTemperature, dictionary)
Heat transfer coefficient calculation that employs a fixed reference temperature.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
fixedReferenceTemperature(const dictionary &dict, const fvMesh &mesh, const word &TName)
Construct from components.
Mesh data needed to do the Finite Volume discretisation.
virtual void htc(volScalarField &htc, const FieldField< Field, scalar > &q)
Set the heat transfer coefficient.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
virtual bool read(const dictionary &dict)
Read from dictionary.
defineTypeNameAndDebug(fixedReferenceTemperature, 0)