Constant heat transfer model. The heat transfer coefficient [W/m^2/K] (htc) must be provided as a value in the coefficients dictionary or as a field in constant. More...
Public Member Functions | |
TypeName ("constant") | |
Runtime type information. More... | |
constant (const dictionary &dict, const fvMesh &mesh) | |
Construct from dictionary and mesh. More... | |
constant (const dictionary &dict, const interRegionModel &model) | |
Construct from dictionary and model. More... | |
virtual | ~constant () |
Destructor. More... | |
virtual tmp< volScalarField > | htc () const |
Get the heat transfer coefficient. More... | |
virtual void | correct () |
Correct the heat transfer coefficient. More... | |
virtual bool | read (const dictionary &dict) |
Read dictionary. More... | |
Public Member Functions inherited from heatTransferModel | |
TypeName ("heatTransferModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, heatTransferModel, mesh,(const dictionary &dict, const fvMesh &mesh),(dict, mesh)) | |
declareRunTimeSelectionTable (autoPtr, heatTransferModel, model,(const dictionary &dict, const interRegionModel &model),(dict, model)) | |
heatTransferModel (const word &modelType, const dictionary &dict, const fvMesh &mesh) | |
Construct from dictionary and mesh. More... | |
heatTransferModel (const word &modelType, const dictionary &dict, const interRegionModel &model) | |
Construct from dictionary and model. More... | |
heatTransferModel (const heatTransferModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~heatTransferModel () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return reference to the mesh. More... | |
const dictionary & | coeffs () const |
Return coeffs dictionary. More... | |
tmp< volScalarField > | AoV () const |
Get the area per unit volume. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from heatTransferModel | |
static autoPtr< heatTransferModel > | New (const dictionary &dict, const fvMesh &mesh) |
Select from dictionary and mesh. More... | |
static autoPtr< heatTransferModel > | New (const dictionary &dict, const interRegionModel &model) |
Select from dictionary and model. More... | |
Constant heat transfer model. The heat transfer coefficient [W/m^2/K] (htc) must be provided as a value in the coefficients dictionary or as a field in constant.
{ type constant; AoV 1e3; htc 1e5; }
Definition at line 63 of file constant.H.
constant | ( | const dictionary & | dict, |
const fvMesh & | mesh | ||
) |
Construct from dictionary and mesh.
Definition at line 89 of file constant.C.
constant | ( | const dictionary & | dict, |
const interRegionModel & | model | ||
) |
Construct from dictionary and model.
Definition at line 103 of file constant.C.
|
virtual |
Destructor.
Definition at line 114 of file constant.C.
TypeName | ( | "constant" | ) |
Runtime type information.
|
virtual |
Get the heat transfer coefficient.
Implements heatTransferModel.
Definition at line 121 of file constant.C.
References mesh, GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::type().
|
virtual |
Correct the heat transfer coefficient.
Implements heatTransferModel.
Definition at line 134 of file constant.C.
|
virtual |
Read dictionary.
Reimplemented from heatTransferModel.
Definition at line 138 of file constant.C.
References heatTransferModel::read().