Go to the documentation of this file.
209 #ifndef turbulentDigitalFilterInletFvPatchVectorField_H
210 #define turbulentDigitalFilterInletFvPatchVectorField_H
221 class pointToPointPlanarInterpolation;
227 class turbulentDigitalFilterInletFvPatchVectorField
229 public fixedValueFvPatchVectorField
234 mutable autoPtr<pointToPointPlanarInterpolation> mapperPtr_;
240 const bool Gaussian_;
248 const bool continuous_;
251 const bool correctFlowRate_;
260 const word mapMethod_;
272 const scalar perturb_;
281 const Tuple2<label, label> n_;
284 Vector2D<scalar> invDelta_;
288 const List<Pair<label>> indexPairs_;
319 const List<scalar> coeffs1FSM_;
323 const List<scalar> coeffs2FSM_;
327 const List<label> szBox_;
330 const List<label> boxFactors2D_;
333 const List<label> boxFactors3D_;
336 const List<label> iNextToLastPlane_;
339 List<List<scalar>> box_;
342 const List<List<scalar>> filterCoeffs_;
345 List<List<scalar>> filteredBox_;
361 const word& fieldName,
363 bool& interpolateField
370 const word& fieldName
374 template<
class Form,
class Type>
375 Form randomSet(
const label len);
388 scalar calcFlowRate()
const;
421 void twoPointCorrs();
433 TypeName(
"turbulentDigitalFilterInlet");
513 virtual void autoMap(
const fvPatchFieldMapper& m);
524 virtual void write(Ostream&)
const;
List< label > labelList
A List of labels.
const vector L(dict.get< vector >("L"))
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
Interpolates between two sets of unstructured points using 2D Delaunay triangulation....
virtual void write(Ostream &) const
Write.
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual void autoMap(const fvPatchFieldMapper &m)
Map (and resize as needed) from self given a mapping object.
TypeName("turbulentDigitalFilterInlet")
Runtime type information.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
turbulentDigitalFilterInletFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void rmap(const fvPatchVectorField &ptf, const labelList &addr)
Reverse map the given fvPatchField onto this fvPatchField.
fvPatchField< vector > fvPatchVectorField
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
Header files for all the primitive types that Fields are instantiated for.
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.
virtual ~turbulentDigitalFilterInletFvPatchVectorField()=default
Destructor.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...