46 fixedValueFvPatchScalarField(
p, iF),
60 pa_(
"pa",
dict,
p.size())
62 if (!this->readValueEntry(
dict))
78 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
89 fixedValueFvPatchScalarField(ptf),
101 fixedValueFvPatchScalarField(ptf, iF),
113 fixedValueFvPatchScalarField::autoMap(m);
124 fixedValueFvPatchScalarField::rmap(ptf, addr);
127 refCast<const freeSurfacePressureFvPatchScalarField>(ptf);
142 isA_constCast<interfaceTrackingFvMesh>
144 patch().boundaryMesh().mesh()
151 pa_ + itm->freeSurfacePressureJump()
159 fixedValueFvPatchScalarField::updateCoeffs();
166 pa_.writeEntry(
"pa",
os);
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.
Macros for easy insertion into run-time selection tables.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
This boundary condition provides static pressure condition for p_rgh, calculated as: ...
A FieldMapper for finite-volume patch fields.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
scalarField pa_
Ambient pressure.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
freeSurfacePressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void write(Ostream &) const
Write.
static constexpr const zero Zero
Global zero (0)