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 &)=delete | |
Disallow copy without setting internal field reference. More... | |
convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor 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.
else
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 118 of file convectiveHeatTransferFvPatchScalarField.H.
convectiveHeatTransferFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 41 of file convectiveHeatTransferFvPatchScalarField.C.
Referenced by convectiveHeatTransferFvPatchScalarField::clone(), and convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().
convectiveHeatTransferFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 53 of file convectiveHeatTransferFvPatchScalarField.C.
References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().
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 66 of file convectiveHeatTransferFvPatchScalarField.C.
References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().
|
delete |
Disallow copy without setting internal field reference.
convectiveHeatTransferFvPatchScalarField | ( | const convectiveHeatTransferFvPatchScalarField & | htcpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 80 of file convectiveHeatTransferFvPatchScalarField.C.
TypeName | ( | "convectiveHeatTransfer" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 179 of file convectiveHeatTransferFvPatchScalarField.H.
References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField::updateCoeffs(), and convectiveHeatTransferFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 92 of file convectiveHeatTransferFvPatchScalarField.C.
References thermophysicalTransportModel::alphaEff(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::cbrt(), basicThermo::Cp(), forAll, Foam::constant::atomic::group, IOobject::groupName(), convectiveHeatTransferFvPatchScalarField::L_, Foam::mag(), thermophysicalTransportModel::momentumTransport(), patchi, Foam::pow(), Foam::Re(), Foam::sqrt(), basicThermo::T(), and thermophysicalTransportModel::thermo().
Referenced by convectiveHeatTransferFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 151 of file convectiveHeatTransferFvPatchScalarField.C.
References convectiveHeatTransferFvPatchScalarField::L_, Foam::compressible::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by convectiveHeatTransferFvPatchScalarField::clone().
|
protected |
L Length scale [m].
Definition at line 127 of file convectiveHeatTransferFvPatchScalarField.H.
Referenced by convectiveHeatTransferFvPatchScalarField::updateCoeffs(), and convectiveHeatTransferFvPatchScalarField::write().