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);
129 pa_.rmap(tiptf.
pa_, addr);
151 pa_ + itm->freeSurfacePressureJump()
159 fixedValueFvPatchScalarField::updateCoeffs();
166 pa_.writeEntry(
"pa",
os);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition provides static pressure condition for p_rgh, calculated as:
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
freeSurfacePressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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.
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
List< label > labelList
A List of labels.
Type * isA_constCast(const U &obj)
Attempt dynamic_cast to Type followed by a const_cast of the result.
static constexpr const zero Zero
Global zero (0).
fvPatchField< scalar > fvPatchScalarField