Heat transfer coefficient calculation based on Reynolds Analogy. More...
Public Member Functions | |
| TypeName ("ReynoldsAnalogy") | |
| Runtime type information. More... | |
| ReynoldsAnalogy (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
| Construct from components. More... | |
| virtual | ~ReynoldsAnalogy ()=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... | |
| const fvMesh & | mesh () const |
| The mesh reference. More... | |
| const labelHashSet & | patchSet () const |
| Wall patches to process. More... | |
| const word & | TName () const |
| Temperature name. More... | |
| const word & | qrName () const |
| Name of radiative heat flux. More... | |
| virtual bool | calc (volScalarField &result, const FieldField< Field, scalar > &q) |
| tmp< FieldField< Field, scalar > > | q () const |
| Return q boundary fields. More... | |
Protected Member Functions | |
| virtual tmp< Field< scalar > > | rho (const label patchi) const |
| virtual tmp< Field< scalar > > | Cp (const label patchi) const |
| virtual tmp< volSymmTensorField > | devReff () const |
| tmp< FieldField< Field, scalar > > | Cf () const |
| virtual void | htc (volScalarField &htc, const FieldField< Field, scalar > &q) |
| Set the heat transfer coefficient. More... | |
| ReynoldsAnalogy (const ReynoldsAnalogy &)=delete | |
| No copy construct. More... | |
| void | operator= (const ReynoldsAnalogy &)=delete |
| No copy assignment. More... | |
Protected Member Functions inherited from heatTransferCoeffModel | |
| heatTransferCoeffModel (const heatTransferCoeffModel &)=delete | |
| No copy construct. More... | |
| void | operator= (const heatTransferCoeffModel &)=delete |
| No copy assignment. More... | |
Protected Attributes | |
| word | UName_ |
| Name of velocity field. More... | |
| vector | URef_ |
| Reference velocity. More... | |
| word | rhoName_ |
| Name of density field. More... | |
| scalar | rhoRef_ |
| Reference density. More... | |
| word | CpName_ |
| Name of specific heat capacity field. More... | |
| scalar | CpRef_ |
| Reference specific heat capacity. More... | |
Protected Attributes inherited from heatTransferCoeffModel | |
| const fvMesh & | mesh_ |
| Mesh reference. More... | |
| labelHashSet | patchSet_ |
| Optional list of (wall) patches to process. More... | |
| const word | TName_ |
| Temperature name. More... | |
| word | qrName_ |
| Name of radiative heat flux (default = qr) More... | |
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 based on Reynolds Analogy.
The heat transfer coefficient is derived from the skin friction coefficient:
\[ C_f = \frac{\tau_w}{0.5 \rho_\infty |U|^2} \]
as:
\[ h = 0.5 \rho_\infty C_{p,\infty} |U_{\infty}| C_f \]
type heatTransferCoeff;
libs (fieldFunctionObjects);
...
htcModel ReynoldsAnalogy;
UInf (20 0 0);
Cp CpInf;
CpInf 1005;
...
Where the entries comprise:
| Property | Description | Required | Default value |
|---|---|---|---|
type | type name: heatTransferCoeff | yes | |
htcModel | selected htc model | yes | |
UInf | reference velocity | yes | |
Cp | specific heat capacity field name | no | |
rho | density field name | no |
Note:
Cp, set Cp to CpInf rho, set rho to rhoInf Definition at line 125 of file ReynoldsAnalogy.H.
|
protecteddelete |
No copy construct.
| ReynoldsAnalogy | ( | const dictionary & | dict, |
| const fvMesh & | mesh, | ||
| const word & | TName | ||
| ) |
Construct from components.
Definition at line 198 of file ReynoldsAnalogy.C.
References dict, and Foam::read().
|
virtualdefault |
Destructor.
|
protectedvirtual |
Definition at line 54 of file ReynoldsAnalogy.C.
References fvMesh::boundary(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::foundObject(), objectRegistry::lookupObject(), heatTransferCoeffModel::mesh_, n, heatTransferCoeffModel::New(), ReynoldsAnalogy::rhoName_, and ReynoldsAnalogy::rhoRef_.
|
protectedvirtual |
Definition at line 77 of file ReynoldsAnalogy.C.
References dictionary::dictName(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, n, and Foam::New().
|
protectedvirtual |
Definition at line 104 of file ReynoldsAnalogy.C.
References Foam::dev(), dictionary::dictName(), Foam::dimViscosity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::fvc::grad(), transportModel::nu(), nu, transportProperties(), turb, Foam::twoSymm(), and U.
|
protected |
Definition at line 162 of file ReynoldsAnalogy.C.
References forAll, Foam::mag(), Foam::magSqr(), Foam::New(), fvPatch::nf(), fvPatchField< Type >::patch(), R, U, and Foam::Zero.
|
protectedvirtual |
Set the heat transfer coefficient.
Implements heatTransferCoeffModel.
Definition at line 247 of file ReynoldsAnalogy.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), Cp, Foam::mag(), and rho.
|
protecteddelete |
No copy assignment.
| TypeName | ( | "ReynoldsAnalogy" | ) |
Runtime type information.
|
virtual |
Read from dictionary.
Reimplemented from heatTransferCoeffModel.
Definition at line 219 of file ReynoldsAnalogy.C.
References dict, and heatTransferCoeffModel::read().
|
protected |
Name of velocity field.
Definition at line 134 of file ReynoldsAnalogy.H.
|
protected |
Reference velocity.
Definition at line 137 of file ReynoldsAnalogy.H.
|
protected |
Name of density field.
Definition at line 140 of file ReynoldsAnalogy.H.
Referenced by ReynoldsAnalogy::rho().
|
protected |
Reference density.
Definition at line 143 of file ReynoldsAnalogy.H.
Referenced by ReynoldsAnalogy::rho().
|
protected |
Name of specific heat capacity field.
Definition at line 146 of file ReynoldsAnalogy.H.
|
protected |
Reference specific heat capacity.
Definition at line 149 of file ReynoldsAnalogy.H.