35 namespace compressible
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,
119 internalField().
group()
133 const scalarField Cpw(turbModel.transport().Cp(pw, Tw, patchi));
141 label celli = patch().faceCells()[facei];
143 scalar
Re = rhow[facei]*
mag(Uc[celli] - 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);
const char *const group
Group name for atomic constants.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
This boundary condition provides a convective heat transfer coefficient condition.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedScalar sqrt(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > alphaEff() const
Effective thermal turbulent diffusivity of mixture [kg/m/s].
static word groupName(Name name, const word &group)
Foam::fvPatchFieldMapper.
dimensionedScalar cbrt(const dimensionedScalar &ds)
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 successful.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
convectiveHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
scalarField Re(const UList< complex > &cf)
const scalar L_
L Length scale [m].
makePatchTypeField(fvPatchScalarField, thermalBaffleFvPatchScalarField)
virtual void write(Ostream &) const
Write.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.