44#ifndef Foam_heatTransferCoeffModel_H
45#define Foam_heatTransferCoeffModel_H
A field of fields is a PtrList of fields with reference counting.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
const word TName_
Name of temperature field.
const fvMesh & mesh() const noexcept
Return const reference to the mesh.
static autoPtr< heatTransferCoeffModel > New(const dictionary &dict, const fvMesh &mesh, const word &TName)
Return a reference to the selected heat transfer coefficient model.
virtual ~heatTransferCoeffModel()=default
Destructor.
declareRunTimeSelectionTable(autoPtr, heatTransferCoeffModel, dictionary,(const dictionary &dict, const fvMesh &mesh, const word &TName),(dict, mesh, TName))
const fvMesh & mesh_
Const reference to the mesh.
heatTransferCoeffModel(const dictionary &dict, const fvMesh &mesh, const word &TName)
Construct from components.
word qrName_
Name of radiative heat flux field.
const labelList & patchIDs() const noexcept
Return const reference to wall patches to process.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
void operator=(const heatTransferCoeffModel &)=delete
No copy assignment.
heatTransferCoeffModel(const heatTransferCoeffModel &)=delete
No copy construct.
const word & qrName() const noexcept
Return const reference to name of radiative heat-flux field.
tmp< FieldField< Field, scalar > > q() const
Return boundary fields of heat-flux field.
TypeName("heatTransferCoeffModel")
Runtime type information.
const word & TName() const noexcept
Return const reference to name of temperature field.
labelList patchIDs_
List of (wall) patches to process (selected by name).
virtual bool calc(volScalarField &result, const FieldField< Field, scalar > &q)
Calculate the heat transfer coefficient field and return true if successful.
virtual void htc(volScalarField &htc, const FieldField< Field, scalar > &q)=0
Set the heat transfer coefficient.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.