39Foam::freeSurfacePressureFvPatchScalarField::
40freeSurfacePressureFvPatchScalarField
46 fixedValueFvPatchScalarField(
p, iF),
51Foam::freeSurfacePressureFvPatchScalarField::
52freeSurfacePressureFvPatchScalarField
59 fixedValueFvPatchScalarField(
p, iF,
dict, false),
60 pa_(
"pa",
dict,
p.size())
76Foam::freeSurfacePressureFvPatchScalarField::
77freeSurfacePressureFvPatchScalarField
85 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
90Foam::freeSurfacePressureFvPatchScalarField::
91freeSurfacePressureFvPatchScalarField
96 fixedValueFvPatchScalarField(ptf),
101Foam::freeSurfacePressureFvPatchScalarField::
102freeSurfacePressureFvPatchScalarField
108 fixedValueFvPatchScalarField(ptf, iF),
120 fixedValueFvPatchScalarField::autoMap(m);
131 fixedValueFvPatchScalarField::rmap(ptf, addr);
134 refCast<const freeSurfacePressureFvPatchScalarField>(ptf);
136 pa_.rmap(tiptf.
pa_, addr);
147 const fvMesh&
mesh = patch().boundaryMesh().mesh();
150 refCast<interfaceTrackingFvMesh>
163 fixedValueFvPatchScalarField::updateCoeffs();
170 pa_.writeEntry(
"pa",
os);
171 writeEntry(
"value",
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
Abstract base class for geometry and/or topology changing fvMesh.
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 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.
virtual bool write()
Write the output fields.
Mesh data needed to do the Finite Volume discretisation.
A FieldMapper for finite-volume patch fields.
virtual void operator=(const UList< Type > &)
friend Ostream & operator(Ostream &, const fvPatchField< scalar > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
The interfaceTrackingFvMesh.
tmp< scalarField > freeSurfacePressureJump()
Return free surface pressure jump.
const Type & lookupObject(const word &name, const bool recursive=false) const
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static constexpr const zero Zero
Global zero (0)