This boundary condition provides a convective heat transfer coefficient condition. More...
#include <convectiveHeatTransferFvPatchScalarField.H>


Public Member Functions | |
| TypeName ("convectiveHeatTransfer") | |
| Runtime type information. | |
| convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. | |
| convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &) | |
| Construct as copy. | |
| convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< scalar > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an internal field reference. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
Protected Attributes | |
| const scalar | L_ |
| L Length scale [m]. | |
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}
\]](form_965.png)
else
![\[ htc_p = \frac{0.037 Re^{0.8} Pr^{0.333} \kappa_p}{L}
\]](form_966.png)
where
![]() | = | patch convective heat transfer coefficient |
![]() | = | Reynolds number |
![]() | = | Prandtl number |
![]() | = | thermal conductivity |
![]() | = | 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 119 of file convectiveHeatTransferFvPatchScalarField.H.
| convectiveHeatTransferFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 35 of file convectiveHeatTransferFvPatchScalarField.C.
Referenced by convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), and TypeName().

| convectiveHeatTransferFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 61 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 47 of file convectiveHeatTransferFvPatchScalarField.C.
References convectiveHeatTransferFvPatchScalarField(), L_, and p.

| convectiveHeatTransferFvPatchScalarField | ( | const convectiveHeatTransferFvPatchScalarField & | htcpsf | ) |
Construct as copy.
Definition at line 74 of file convectiveHeatTransferFvPatchScalarField.C.
References convectiveHeatTransferFvPatchScalarField(), and L_.

| convectiveHeatTransferFvPatchScalarField | ( | const convectiveHeatTransferFvPatchScalarField & | htcpsf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 85 of file convectiveHeatTransferFvPatchScalarField.C.
References convectiveHeatTransferFvPatchScalarField(), and L_.

| TypeName | ( | "convectiveHeatTransfer" | ) |
Runtime type information.
References convectiveHeatTransferFvPatchScalarField().

|
inlinevirtual |
Return a clone.
Definition at line 196 of file convectiveHeatTransferFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Definition at line 204 of file convectiveHeatTransferFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 99 of file convectiveHeatTransferFvPatchScalarField.C.
References ThermalDiffusivity< BasicTurbulenceModel >::alphaEff(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::cbrt(), forAll, IOobject::groupName(), L_, Foam::mag(), CompressibleTurbulenceModel< TransportModel >::mu(), Foam::pow(), Pr(), turbulenceModel::propertiesName, Foam::Re(), compressibleTurbulenceModel::rho(), Foam::sqrt(), TurbulenceModel< Alpha, Rho, BasicTurbulenceModel, TransportModel >::transport(), and turbulenceModel::U().

|
virtual |
Write.
Definition at line 156 of file convectiveHeatTransferFvPatchScalarField.C.
References L_, os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

|
protected |
L Length scale [m].
Definition at line 130 of file convectiveHeatTransferFvPatchScalarField.H.
Referenced by convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), updateCoeffs(), and write().