35namespace heatTransferCoeffModels
50Foam::heatTransferCoeffModels::localReferenceTemperature::
51localReferenceTemperature
83 const scalar eps = ROOTVSMALL;
87 for (
const label patchi : patchSet_)
89 const scalarField Tc(Tbf[patchi].patchInternalField());
90 htcBf[patchi] = q[patchi]/(Tc - Tbf[patchi] + eps);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A field of fields is a PtrList of fields with reference counting.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
virtual bool read()
Re-read model coefficients if they have changed.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
An abstract base class for heat transfer coeffcient models.
Heat transfer coefficient calculation that employs the patch internal field as the reference temperat...
virtual bool read(const dictionary &dict)
Read from dictionary.
virtual void htc(volScalarField &htc, const FieldField< Field, scalar > &q)
Set the heat transfer coefficient.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.