44 #ifndef Foam_heatTransferCoeffModel_H 45 #define Foam_heatTransferCoeffModel_H
const word & qrName() const noexcept
Return const reference to name of radiative heat-flux field.
static autoPtr< heatTransferCoeffModel > New(const dictionary &dict, const fvMesh &mesh, const word &TName)
Return a reference to the selected heat transfer coefficient model.
word qrName_
Name of radiative heat flux field.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~heatTransferCoeffModel()=default
Destructor.
TypeName("heatTransferCoeffModel")
Runtime type information.
labelHashSet patchSet_
List of (wall) patches to process.
virtual bool read(const dictionary &dict)
Read from dictionary.
const word & TName() const noexcept
Return const reference to name of temperature field.
A field of fields is a PtrList of fields with reference counting.
A base class for heat transfer coefficient models.
declareRunTimeSelectionTable(autoPtr, heatTransferCoeffModel, dictionary,(const dictionary &dict, const fvMesh &mesh, const word &TName),(dict, mesh, TName))
virtual bool calc(volScalarField &result, const FieldField< Field, scalar > &q)
Calculate the heat transfer coefficient field and return true if successful.
A class for handling words, derived from Foam::string.
virtual void htc(volScalarField &htc, const FieldField< Field, scalar > &q)=0
Set the heat transfer coefficient.
void operator=(const heatTransferCoeffModel &)=delete
No copy assignment.
const fvMesh & mesh_
Const reference to the mesh.
const fvMesh & mesh() const noexcept
Return const reference to the mesh.
const labelHashSet & patchSet() const noexcept
Return const reference to wall patches to process.
const word TName_
Name of temperature field.
Mesh data needed to do the Finite Volume discretisation.
heatTransferCoeffModel(const dictionary &dict, const fvMesh &mesh, const word &TName)
Construct from components.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
tmp< FieldField< Field, scalar > > q() const
Return boundary fields of heat-flux field.
A class for managing temporary objects.