Go to the documentation of this file.
90 #ifndef turbulentDFSEMInletFvPatchVectorField_H
91 #define turbulentDFSEMInletFvPatchVectorField_H
104 class pointToPointPlanarInterpolation;
110 class turbulentDFSEMInletFvPatchVectorField
112 public fixedValueFvPatchVectorField
117 static label seedIterMax_;
129 mutable autoPtr<globalIndex> globalFacesPtr_;
141 mutable autoPtr<pointToPointPlanarInterpolation> mapperPtr_;
223 void initialisePatch();
226 void initialiseEddyBox();
232 void initialiseEddies();
235 void convectEddies(
const scalar deltaT);
245 const word& fieldName,
247 bool& interpolateField
254 const word& fieldName
258 void writeLumleyCoeffs()
const;
261 void writeEddyOBJ()
const;
268 void calcOverlappingProcEddies
355 virtual void autoMap(
const fvPatchFieldMapper& m);
372 virtual void write(Ostream&)
const;
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
List< scalar > scalarList
A List of scalars.
static bool checkStresses(const symmTensorField &Rf)
Helper function to check that Reynold stresses are valid.
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.
turbulentDFSEMInletFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
Field< vector > vectorField
Specialisation of Field<T> for vector.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Vector< scalar > vector
A scalar version of the templated Vector.
virtual ~turbulentDFSEMInletFvPatchVectorField()=default
Destructor.
TypeName("turbulentDFSEMInlet")
Runtime type information.
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.
List< face > faceList
A List of faces.
Velocity boundary condition including synthesised eddies for use with LES and DES turbulent flows.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A bounding box defined in terms of min/max extrema points.
virtual void autoMap(const fvPatchFieldMapper &m)
Map (and resize as needed) from self given a mapping object.
Foam::fvPatchFieldMapper.
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...