Go to the documentation of this file.
96 #ifndef activePressureForceBaffleVelocityFvPatchVectorField_H
97 #define activePressureForceBaffleVelocityFvPatchVectorField_H
111 class activePressureForceBaffleVelocityFvPatchVectorField
113 public fixedValueFvPatchVectorField
165 TypeName(
"activePressureForceBaffleVelocity");
174 const DimensionedField<vector, volMesh>&
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
vectorField initWallSf_
Initial wall patch areas.
label orientation_
Orientation (1 or -1) of the active baffle mode.
A class for handling words, derived from string.
A class for managing temporary objects.
label cyclicPatchLabel_
Index of the cyclic patch used when the active baffle is open.
word cyclicPatchName_
Name of the cyclic patch used when the active baffle is open.
TypeName("activePressureForceBaffleVelocity")
Runtime type information.
scalar openingTime_
Time taken for the active baffle to open.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
word pName_
Name of the pressure field used to calculate the force.
scalar minThresholdValue_
Minimum value for the active baffle to start opening.
Field< vector > vectorField
Specialisation of Field<T> for vector.
bool fBased_
Force based active baffle.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
Write.
scalar openFraction_
Current fraction of the active baffle which is open.
A list of keyword definitions, which are a keyword followed by any number of values (e....
vectorField nbrCyclicSf_
Initial neighbour-side cyclic patch areas.
activePressureForceBaffleVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
scalar maxOpenFractionDelta_
Maximum fractional change to the active baffle openness.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
vectorField initCyclicSf_
Initial cyclic patch areas.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition is applied to the flow velocity, to simulate the opening or closure of a baff...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
bool baffleActivated_
Baffle is activated.