Heat transfer coefficient calculation that employs a fixed reference temperature. More...
Public Member Functions | |
TypeName ("fixedReferenceTemperature") | |
Runtime type information. More... | |
fixedReferenceTemperature (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
Construct from components. More... | |
virtual | ~fixedReferenceTemperature ()=default |
Destructor. More... | |
virtual bool | read (const dictionary &dict) |
Read from dictionary. More... | |
Public Member Functions inherited from heatTransferCoeffModel | |
TypeName ("heatTransferCoeffModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, heatTransferCoeffModel, dictionary,(const dictionary &dict, const fvMesh &mesh, const word &TName),(dict, mesh, TName)) | |
heatTransferCoeffModel (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
Construct from components. More... | |
virtual | ~heatTransferCoeffModel ()=default |
Destructor. More... | |
virtual bool | calc (volScalarField &result) |
Protected Member Functions | |
virtual void | htc (volScalarField &htc) |
Set the heat transfer coefficient. More... | |
Protected Member Functions inherited from heatTransferCoeffModel | |
tmp< FieldField< Field, scalar > > | q () const |
Protected Attributes | |
scalar | TRef_ |
Reference tempetaure. More... | |
Protected Attributes inherited from heatTransferCoeffModel | |
const fvMesh & | mesh_ |
const word | TName_ |
labelHashSet | patchSet_ |
word | qrName_ |
Additional Inherited Members | |
Static Public Member Functions inherited from heatTransferCoeffModel | |
static autoPtr< heatTransferCoeffModel > | New (const dictionary &dict, const fvMesh &mesh, const word &TName) |
Return a reference to the selected heat transfer coefficient model. More... | |
Heat transfer coefficient calculation that employs a fixed reference temperature.
The heat transfer coefficient is specified by:
\[ h = \frac{q}{T_{ref} - T_w} \]
type heatTransferCoeff; libs ("libfieldFunctionObjects.so"); ... htcModel fixedReferenceTemperature; TRef 300; ...
Where the entries comprise:
Property | Description | Required | Default value |
---|---|---|---|
type | type name: heatTransferCoeff | yes | |
htcModel | selected htc model | yes | |
TRef | reference temperature | yes |
Definition at line 101 of file fixedReferenceTemperature.H.
fixedReferenceTemperature | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const word & | TName | ||
) |
Construct from components.
Definition at line 51 of file fixedReferenceTemperature.C.
References dict, and Foam::blockMeshTools::read().
|
virtualdefault |
Destructor.
|
protectedvirtual |
Set the heat transfer coefficient.
Implements heatTransferCoeffModel.
Definition at line 83 of file fixedReferenceTemperature.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), forAllConstIters(), and T.
TypeName | ( | "fixedReferenceTemperature" | ) |
Runtime type information.
|
virtual |
Read from dictionary.
Reimplemented from heatTransferCoeffModel.
Definition at line 67 of file fixedReferenceTemperature.C.
References dict, and Foam::blockMeshTools::read().
|
protected |
Reference tempetaure.
Definition at line 119 of file fixedReferenceTemperature.H.