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"))
96 const wallHeatTransferFvPatchScalarField& tppsf
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);
192 wallHeatTransferFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
virtual void write(Ostream &) const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
constexpr const char *const group
virtual void rmap(const fvPatchScalarField &, const labelList &)
void autoMap(const FieldMapper &map, const bool applyFlip=true)
static constexpr const zero Zero
static const word propertiesName
wallHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
This boundary condition provides an enthalpy condition for wall heat transfer.
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void autoMap(const fvPatchFieldMapper &)
virtual void updateCoeffs()
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
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Foam::fvPatchFieldMapper.
static word groupName(StringType base, const word &group)
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)