Go to the documentation of this file.
35 namespace heatTransferCoeffModels
40 heatTransferCoeffModel,
41 localReferenceTemperature,
82 const volScalarField::Boundary& Tbf =
T.boundaryField();
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);
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)
localReferenceTemperature(const localReferenceTemperature &)=delete
No copy construct.
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.
Mesh data needed to do the Finite Volume discretisation.
virtual void htc(volScalarField &htc, const FieldField< Field, scalar > &q)
Set the heat transfer coefficient.
virtual bool read(const dictionary &dict)
Read from dictionary.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
defineTypeNameAndDebug(fixedReferenceTemperature, 0)