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;
99 mixedFvPatchScalarField(tppsf),
101 alphaWall_(tppsf.alphaWall_)
111 mixedFvPatchScalarField(tppsf, iF),
113 alphaWall_(tppsf.alphaWall_)
126 alphaWall_.autoMap(m);
136 mixedFvPatchScalarField::rmap(ptf, addr);
139 refCast<const wallHeatTransferFvPatchScalarField>(ptf);
141 Tinf_.rmap(tiptf.Tinf_, addr);
142 alphaWall_.rmap(tiptf.alphaWall_, addr);
159 internalField().group()
163 const label patchi = patch().index();
169 + turbModel.
kappaEff(patchi)*patch().deltaCoeffs()/alphaWall_
172 mixedFvPatchScalarField::updateCoeffs();
179 Tinf_.writeEntry(
"Tinf",
os);
180 alphaWall_.writeEntry(
"alphaWall",
os);
181 writeEntry(
"value",
os);
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)
Map from self.
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,...
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
virtual tmp< volScalarField > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
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 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)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.