Heat transfer coefficient calculation based on Reynolds Analogy, which is used to relate turbulent momentum and heat transfer. More...
Public Member Functions | |
TypeName ("ReynoldsAnalogy") | |
Runtime type information. More... | |
ReynoldsAnalogy (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
Construct from components. More... | |
ReynoldsAnalogy (const ReynoldsAnalogy &)=delete | |
No copy construct. More... | |
void | operator= (const ReynoldsAnalogy &)=delete |
No copy assignment. 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... | |
heatTransferCoeffModel (const heatTransferCoeffModel &)=delete | |
No copy construct. More... | |
void | operator= (const heatTransferCoeffModel &)=delete |
No copy assignment. 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 | read (const dictionary &dict) |
Read from dictionary. 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... | |
virtual void | htc (volScalarField &htc, const FieldField< Field, scalar > &q)=0 |
Set the heat transfer coefficient. 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. 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, which is used to relate turbulent momentum and heat transfer.
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 \]
where
\( h \) | = | Convective heat transfer coefficient of the flow |
\( \rho_\infty \) | = | Reference fluid density |
\( c_{p,\infty} \) | = | Reference specific heat capacity at constant pressure |
\( U_{\infty} \) | = | Reference velocity |
\( C_f \) | = | Skin friction coefficient |
\( \tau_w \) | = | Wall shear stress |
system/controlDict.functions
: heatTransferCoeff1 { // Mandatory and other optional entries ... htcModel ReynoldsAnalogy; // Conditional mandatory entries (runtime modifiable) UInf (10 0 0); // Conditional optional entries (runtime modifiable) Cp <CpName>; rho <rhoName>; // mandatory if Cp == CpInf CpInf 1005; // mandatory if rho == rhoInf rhoInf 1; }
where the entries mean:
Property | Description | Type | Reqd | Dflt |
---|---|---|---|---|
type | Model name: ReynoldsAnalogy | word | yes | - |
UInf | Reference velocity | scalar | yes | - |
Cp | Name of reference specific heat capacity | word | no | Cp |
CpInf | Reference specific heat capacity value | scalar | cndtnl | - |
rho | Name of reference fluid density | word | no | rho |
rhoInf | Reference fluid density value | scalar | cndtnl | - |
Cp
, set Cp
to CpInf
rho
, set rho
to rhoInf
Definition at line 186 of file ReynoldsAnalogy.H.
ReynoldsAnalogy | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const word & | TName | ||
) |
Construct from components.
Definition at line 196 of file ReynoldsAnalogy.C.
References dict, and ReynoldsAnalogy::read().
|
delete |
No copy construct.
|
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(), rho, ReynoldsAnalogy::rhoName_, ReynoldsAnalogy::rhoRef_, and UPtrList< T >::size().
|
protectedvirtual |
Definition at line 76 of file ReynoldsAnalogy.C.
References basicThermo::dictName, Foam::exit(), Foam::FatalError, FatalErrorInFunction, n, and Foam::New().
|
protectedvirtual |
Definition at line 103 of file ReynoldsAnalogy.C.
References Foam::dev(), basicThermo::dictName, Foam::dimViscosity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::fvc::grad(), nu, transportProperties(), turb, Foam::twoSymm(), and U.
|
protected |
Definition at line 161 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 245 of file ReynoldsAnalogy.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), Cp, ReynoldsAnalogy::htc(), Foam::mag(), and rho.
Referenced by ReynoldsAnalogy::htc().
TypeName | ( | "ReynoldsAnalogy" | ) |
Runtime type information.
|
delete |
No copy assignment.
|
virtual |
Read from dictionary.
Reimplemented from heatTransferCoeffModel.
Definition at line 217 of file ReynoldsAnalogy.C.
References dict, and kEpsilonLopesdaCosta< BasicTurbulenceModel >::read().
Referenced by ReynoldsAnalogy::ReynoldsAnalogy().
|
protected |
Name of velocity field.
Definition at line 195 of file ReynoldsAnalogy.H.
|
protected |
Reference velocity.
Definition at line 198 of file ReynoldsAnalogy.H.
|
protected |
Name of density field.
Definition at line 201 of file ReynoldsAnalogy.H.
Referenced by ReynoldsAnalogy::rho().
|
protected |
Reference density.
Definition at line 204 of file ReynoldsAnalogy.H.
Referenced by ReynoldsAnalogy::rho().
|
protected |
Name of specific heat capacity field.
Definition at line 207 of file ReynoldsAnalogy.H.
|
protected |
Reference specific heat capacity.
Definition at line 210 of file ReynoldsAnalogy.H.