Go to the documentation of this file.
35 namespace incompressible
46 mixedFvPatchScalarField(
p, iF),
48 alphaWall_(
p.size(), 0.0)
52 valueFraction() = 0.0;
64 mixedFvPatchScalarField(ptf,
p, iF, mapper),
65 Tinf_(ptf.
Tinf_, mapper),
77 mixedFvPatchScalarField(
p, iF),
78 Tinf_(
"Tinf",
dict,
p.size()),
79 alphaWall_(
"alphaWall",
dict,
p.size())
83 valueFraction() = 0.0;
85 if (
dict.found(
"value"))
104 mixedFvPatchScalarField(tppsf),
116 mixedFvPatchScalarField(tppsf, iF),
131 alphaWall_.autoMap(m);
141 mixedFvPatchScalarField::rmap(ptf, addr);
144 refCast<const wallHeatTransferFvPatchScalarField>(ptf);
146 Tinf_.rmap(tiptf.
Tinf_, addr);
162 const iTModel& tModel =
163 db().lookupObject<iTModel>
174 const label patchI = patch().index();
175 const scalarField&
nu = tModel.nu()->boundaryField()[patchI];
192 mixedFvPatchScalarField::updateCoeffs();
201 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.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
This boundary condition provides an enthalpy condition for wall heat transfer.
static word groupName(Name name, const word &group)
scalarField Tinf_
Temperature at the wall.
wallHeatTransferFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
void autoMap(const FieldMapper &map, const bool applyFlip=true)
Map from self.
rDeltaT dimensionedInternalField()
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static const word propertiesName
Default name of the turbulence properties dictionary.
const char *const group
Group name for atomic constants.
const Type & value() const
Return const reference to value.
A simple single-phase transport model based on viscosityModel.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
scalarField alphaWall_
Thermal diffusivity at the wall.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Templated abstract base class for single-phase incompressible turbulence models.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
makePatchTypeField(fvPatchScalarField, turbulentBoundaryCoupledFvPatchScalarField)