47 fixedValueFvPatchScalarField(p, iF),
61 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
74 fixedValueFvPatchScalarField(p, iF, dict),
85 fixedValueFvPatchScalarField(htcpsf),
97 fixedValueFvPatchScalarField(htcpsf, iF),
118 compressible::turbulenceModel::propertiesName,
133 const scalarField Cpw(turbModel.transport().Cp(pw, Tw, patchi));
141 label faceCellI = patch().faceCells()[faceI];
143 scalar
Re = rhow[faceI]*
mag(Uc[faceCellI] - Uw[faceI])*
L_/muw[faceI];
147 htc[faceI] = 0.664*
sqrt(Re)*
cbrt(Pr[faceI])*kappaw[faceI]/
L_;
151 htc[faceI] = 0.037*
pow(Re, 0.8)*
cbrt(Pr[faceI])*kappaw[faceI]/
L_;
155 fixedValueFvPatchScalarField::updateCoeffs();
165 writeEntry(
"value", os);
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensionedScalar Pr("Pr", dimless, laminarTransport)
const scalar L_
L Length scale [m].
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< scalar > mag(const dimensioned< Type > &)
const char *const group
Group name for atomic constants.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar cbrt(const dimensionedScalar &ds)
Foam::fvPatchFieldMapper.
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, thermalBaffleFvPatchScalarField)
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void write(Ostream &) const
Write.
This boundary condition provides a convective heat transfer coefficient condition.
static word groupName(Name name, const word &group)
virtual tmp< volScalarField > alphaEff() const
Return the effective turbulent thermal diffusivity for enthalpy.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
Macros for easy insertion into run-time selection tables.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
rDeltaT dimensionedInternalField()
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
convectiveHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
A class for managing temporary objects.
scalarField Re(const UList< complex > &cf)