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);
129 p_.rmap(tiptf.p_, addr);
147 fixedValueFvPatchScalarField::updateCoeffs();
157 p_.writeEntry(
"p",
os);
169 alphaFixedPressureFvPatchScalarField
Macros for easy insertion into run-time selection tables.
const uniformDimensionedVectorField & g
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void autoMap(const FieldMapper &map, const bool applyFlip=true)
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,...
A fixed-pressure alphaContactAngle boundary.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
alphaFixedPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
const scalarField & p() const
Return the alphaFixed pressure.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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.
static const gravity & New(const word &name, const Time &runTime)
Return named gravity field cached or construct on Time.
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
UniformDimensionedField< vector > uniformDimensionedVectorField
static constexpr const zero Zero
Global zero (0).
fvPatchField< scalar > fvPatchScalarField