95 #ifndef activePressureForceBaffleVelocityFvPatchVectorField_H 96 #define activePressureForceBaffleVelocityFvPatchVectorField_H 110 class activePressureForceBaffleVelocityFvPatchVectorField
112 public fixedValueFvPatchVectorField
121 word cyclicPatchName_;
124 label cyclicPatchLabel_;
140 scalar openFraction_;
147 scalar maxOpenFractionDelta_;
152 scalar minThresholdValue_;
158 bool baffleActivated_;
164 TypeName(
"activePressureForceBaffleVelocity");
173 const DimensionedField<vector, volMesh>&
This boundary condition is applied to the flow velocity, to simulate the opening or closure of a baff...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
TypeName("activePressureForceBaffleVelocity")
Runtime type information.
activePressureForceBaffleVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Foam::fvPatchFieldMapper.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void write(Ostream &) const
Write.
Field< vector > vectorField
Specialisation of Field<T> for vector.
A class for managing temporary objects.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.