141#ifndef turbulentDFSEMInletFvPatchVectorField_H
142#define turbulentDFSEMInletFvPatchVectorField_H
159class turbulentDFSEMInletFvPatchVectorField
161 public fixedValueFvPatchVectorField
166 static label seedIterMax_;
169 autoPtr<PatchFunction1<vector>> U_;
172 autoPtr<PatchFunction1<symmTensor>> R_;
175 autoPtr<PatchFunction1<scalar>> L_;
199 const label nCellPerEddy_;
223 boundBox patchBounds_;
259 void writeLumleyCoeffs()
const;
262 void writeEddyOBJ()
const;
265 void initialisePatch();
268 void initialiseEddyBox();
274 void initialiseEddies();
277 void convectEddies(
const vector& UBulk,
const scalar deltaT);
284 void calcOverlappingProcEddies
379 virtual void autoMap(
const fvPatchFieldMapper& m);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A bounding box defined in terms of min/max extrema points.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
The turbulentDFSEMInlet is a synthesised-eddy based velocity inlet boundary condition to generate syn...
static void checkStresses(const symmTensorField &R)
Check if input Reynolds stresses are valid.
virtual void rmap(const fvPatchVectorField &ptf, const labelList &addr)
Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< fvPatchVectorField > clone(const DimensionedField< vector, volMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual ~turbulentDFSEMInletFvPatchVectorField()=default
Destructor.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
virtual void autoMap(const fvPatchFieldMapper &m)
Map (and resize as needed) from self given a mapping object.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
TypeName("turbulentDFSEMInlet")
Runtime type information.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
List< label > labelList
A List of labels.
List< scalar > scalarList
A List of scalars.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
List< face > faceList
A List of faces.
fvPatchField< vector > fvPatchVectorField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.