Go to the documentation of this file.
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 (
dict.found(
"value"))
99 mixedFvPatchScalarField(tppsf),
101 alphaWall_(tppsf.alphaWall_)
111 mixedFvPatchScalarField(tppsf, iF),
113 alphaWall_(tppsf.alphaWall_)
124 scalarField::autoMap(m);
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);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void write(Ostream &) const
Write.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
constexpr const char *const group
Group name for atomic constants.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
static constexpr const zero Zero
Global zero (0)
static const word propertiesName
Default name of the turbulence properties dictionary.
wallHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
This boundary condition provides an enthalpy condition for wall heat transfer.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > kappaEff() const
Return the effective turbulent thermal diffusivity for temperature.
const std::string patch
OpenFOAM patch number as a std::string.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
Foam::fvPatchFieldMapper.
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,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.