This boundary condition provides a convective heat transfer coefficient condition. More...
Public Member Functions | |
TypeName ("convectiveHeatTransfer") | |
Runtime type information. More... | |
convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Protected Attributes | |
const scalar | L_ |
L Length scale [m]. More... | |
This boundary condition provides a convective heat transfer coefficient condition.
if Re > 500000
\[ htc_p = \frac{0.664 Re^{0.5} Pr^{0.333} \kappa_p}{L} \]
else
\[ htc_p = \frac{0.037 Re^{0.8} Pr^{0.333} \kappa_p}{L} \]
where
\( htc_p \) | = | patch convective heat transfer coefficient |
\( Re \) | = | Reynolds number |
\( Pr \) | = | Prandtl number |
\( \kappa_p \) | = | thermal conductivity |
\( L \) | = | length scale |
Property | Description | Required | Default value |
---|---|---|---|
L | Length scale [m] | yes |
Example of the boundary condition specification:
<patchName> { type convectiveHeatTransfer; L 0.1; }
Definition at line 123 of file convectiveHeatTransferFvPatchScalarField.H.
convectiveHeatTransferFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 42 of file convectiveHeatTransferFvPatchScalarField.C.
convectiveHeatTransferFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 68 of file convectiveHeatTransferFvPatchScalarField.C.
convectiveHeatTransferFvPatchScalarField | ( | const convectiveHeatTransferFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
convectiveHeatTransferFvPatchScalarField onto a new patch
Definition at line 54 of file convectiveHeatTransferFvPatchScalarField.C.
Construct as copy.
Definition at line 81 of file convectiveHeatTransferFvPatchScalarField.C.
convectiveHeatTransferFvPatchScalarField | ( | const convectiveHeatTransferFvPatchScalarField & | htcpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 92 of file convectiveHeatTransferFvPatchScalarField.C.
TypeName | ( | "convectiveHeatTransfer" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 176 of file convectiveHeatTransferFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 192 of file convectiveHeatTransferFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 106 of file convectiveHeatTransferFvPatchScalarField.C.
References ThermalDiffusivity< BasicTurbulenceModel >::alphaEff(), Foam::cbrt(), forAll, IOobject::groupName(), convectiveHeatTransferFvPatchScalarField::L_, Foam::mag(), Foam::pow(), Pr(), phaseSystem::propertiesName, Foam::Re(), and Foam::sqrt().
|
virtual |
Write.
Definition at line 163 of file convectiveHeatTransferFvPatchScalarField.C.
References convectiveHeatTransferFvPatchScalarField::L_, os(), ObukhovLength::write(), and Ostream::writeEntry().
|
protected |
L Length scale [m].
Definition at line 132 of file convectiveHeatTransferFvPatchScalarField.H.
Referenced by convectiveHeatTransferFvPatchScalarField::updateCoeffs(), and convectiveHeatTransferFvPatchScalarField::write().