45 fixedValueFvPatchScalarField(
p, iF),
59 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
74 p_(
"p",
dict,
p.size())
76 if (!this->readValueEntry(
dict))
86 const alphaFixedPressureFvPatchScalarField& tppsf
89 fixedValueFvPatchScalarField(tppsf),
101 fixedValueFvPatchScalarField(tppsf, iF),
124 fixedValueFvPatchScalarField::rmap(ptf, addr);
127 refCast<const alphaFixedPressureFvPatchScalarField>(ptf);
129 p_.
rmap(tiptf.p_, addr);
147 fixedValueFvPatchScalarField::updateCoeffs();
157 p_.writeEntry(
"p",
os);
169 alphaFixedPressureFvPatchScalarField
alphaFixedPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
const Type & value() const noexcept
Return const reference to value.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
UniformDimensionedField< vector > uniformDimensionedVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fvPatchField< scalar > fvPatchScalarField
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const uniformDimensionedVectorField & g
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
OBJstream os(runTime.globalPath()/outputName)
static const gravity & New(const word &name, const Time &runTime)
Return named gravity field cached or construct on Time.
void autoMap(const FieldMapper &map, const bool applyFlip=true)
Map from self.
virtual void write(Ostream &) const
Write.
A fixed-pressure alphaContactAngle boundary.
virtual void operator=(const UList< Type > &)
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
static constexpr const zero Zero
Global zero (0)