49 fixedValueFvPatchScalarField(
p, iF),
63 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
76 fixedValueFvPatchScalarField(
p, iF,
dict),
87 fixedValueFvPatchScalarField(htcpsf),
99 fixedValueFvPatchScalarField(htcpsf, iF),
113 const label patchi = patch().index();
121 internalField().group()
143 label celli = patch().faceCells()[facei];
145 scalar
Re = rhow[facei]*
mag(Uc[celli] - Uw[facei])*
L_/muw[facei];
153 htc[facei] = 0.037*
pow(
Re, 0.8)*
cbrt(
Pr[facei])*kappaw[facei]/
L_;
157 fixedValueFvPatchScalarField::updateCoeffs();
176 convectiveHeatTransferFvPatchScalarField
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > mu() const
Return the laminar dynamic viscosity.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
const transportModel & transport() const
Access function to incompressible transport model.
const volScalarField & rho() const
Return the density field.
This boundary condition provides a convective heat transfer coefficient condition.
const scalar L_
L Length scale [m].
convectiveHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
const volVectorField & U() const
Access function to velocity field.
static const word propertiesName
Default name of the turbulence properties dictionary.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Field< vector > vectorField
Specialisation of Field<T> for vector.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
dimensionedScalar cbrt(const dimensionedScalar &ds)
fvPatchField< scalar > fvPatchScalarField
dimensionedScalar Pr("Pr", dimless, laminarTransport)
#define forAll(list, i)
Loop across all elements in list.