34 namespace compressible
46 fixedValueFvPatchScalarField(p, iF),
59 fixedValueFvPatchScalarField(p, iF, dict),
60 L_(dict.
lookup<scalar>(
"L"))
73 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
85 fixedValueFvPatchScalarField(htcpsf, iF),
106 thermophysicalTransportModel::typeName,
107 internalField().
group()
131 const label celli = patch().faceCells()[facei];
133 const scalar
Re =
mag(Uc[celli] - Uw[facei])*
L_/nuw[facei];
137 htc[facei] = 0.664*
sqrt(Re)*
cbrt(Pr[facei])*kappaw[facei]/
L_;
141 htc[facei] = 0.037*
pow(Re, 0.8)*
cbrt(Pr[facei])*kappaw[facei]/
L_;
145 fixedValueFvPatchScalarField::updateCoeffs();
const char *const group
Group name for atomic constants.
#define forAll(list, i)
Loop across all elements in list.
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...
virtual const fluidThermo & thermo() const =0
Access function to incompressible transport model.
const compressibleMomentumTransportModel & momentumTransport() const
const Boundary & boundaryField() const
Return const-reference to the boundary field.
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...
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual const volScalarField & Cp() const =0
Heat capacity at constant pressure [J/kg/K].
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Abstract base class for thermophysical transport models (RAS, LES and laminar).
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
convectiveHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual const volScalarField & T() const =0
Temperature [K].
virtual tmp< volScalarField > alphaEff() const =0
Effective thermal turbulent diffusivity of mixture [kg/m/s].
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].
Base class for single-phase compressible turbulence models.
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.