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);
143 refCast<interfaceTrackingFvMesh>
153 pa_ + itm.freeSurfacePressureJump()
156 fixedValueFvPatchScalarField::updateCoeffs();
163 pa_.writeEntry(
"pa",
os);
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
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.
Abstract base class for geometry and/or topology changing fvMesh.
Mesh data needed to do the Finite Volume discretisation.
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.
The interfaceTrackingFvMesh.
static constexpr const zero Zero
Global zero (0)