41 mixedFvPatchScalarField(
p, iF),
42 Tinf_(
p.size(),
Zero),
43 alphaWall_(
p.size(),
Zero)
47 valueFraction() = 0.0;
59 mixedFvPatchScalarField(ptf,
p, iF, mapper),
60 Tinf_(ptf.Tinf_, mapper),
61 alphaWall_(ptf.alphaWall_, mapper)
72 mixedFvPatchScalarField(
p, iF),
73 Tinf_(
"Tinf",
dict,
p.size()),
74 alphaWall_(
"alphaWall",
dict,
p.size())
78 valueFraction() = 0.0;
80 if (!this->readValueEntry(
dict))
89 const wallHeatTransferFvPatchScalarField& tppsf
92 mixedFvPatchScalarField(tppsf),
94 alphaWall_(tppsf.alphaWall_)
104 mixedFvPatchScalarField(tppsf, iF),
106 alphaWall_(tppsf.alphaWall_)
119 alphaWall_.autoMap(m);
129 mixedFvPatchScalarField::rmap(ptf, addr);
134 Tinf_.rmap(tiptf.Tinf_, addr);
135 alphaWall_.rmap(tiptf.alphaWall_, addr);
152 internalField().group()
156 const label patchi = patch().index();
162 + turbModel.kappaEff(patchi)*patch().deltaCoeffs()/alphaWall_
165 mixedFvPatchScalarField::updateCoeffs();
172 Tinf_.writeEntry(
"Tinf",
os);
173 alphaWall_.writeEntry(
"alphaWall",
os);
185 wallHeatTransferFvPatchScalarField
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void autoMap(const FieldMapper &map, const bool applyFlip=true)
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 > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
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.
static const word propertiesName
Default name of the turbulence properties dictionary.
This boundary condition provides an enthalpy condition for wall heat transfer.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
wallHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
List< label > labelList
A List of labels.
static constexpr const zero Zero
Global zero (0).
fvPatchField< scalar > fvPatchScalarField