100 #ifndef activePressureForceBaffleVelocityFvPatchVectorField_H 101 #define activePressureForceBaffleVelocityFvPatchVectorField_H 115 class activePressureForceBaffleVelocityFvPatchVectorField
117 public fixedValueFvPatchVectorField
126 word cyclicPatchName_;
129 label cyclicPatchLabel_;
141 scalar openFraction_;
148 scalar maxOpenFractionDelta_;
153 scalar minThresholdValue_;
159 bool baffleActivated_;
168 TypeName(
"activePressureForceBaffleVelocity");
233 const fvPatchFieldMapper&
248 virtual void write(Ostream&)
const;
This boundary condition is applied to the flow velocity, to simulate the opening or closure of a baff...
virtual tmp< fvPatchField< vector > > clone() const
Return a clone.
fvPatchField< vector > fvPatchVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
Write.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
TypeName("activePressureForceBaffleVelocity")
Runtime type information.
activePressureForceBaffleVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A FieldMapper for finite-volume patch fields.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Field< vector > vectorField
Specialisation of Field<T> for vector.
List< label > labelList
A List of labels.
A class for managing temporary objects.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.