41#ifndef turbulentDFSEMInletFvPatchVectorField_eddy_H
42#define turbulentDFSEMInletFvPatchVectorField_eddy_H
72 static label Gamma2Values[8];
160 inline scalar
x()
const noexcept;
170 inline const tensor&
Rpg()
const noexcept;
188 inline scalar
volume()
const;
191 inline void move(
const scalar dx);
212 const label pointOffset,
228 a.patchFaceI_ ==
b.patchFaceI_
229 && a.position0_ ==
b.position0_
231 && a.sigma_ ==
b.sigma_
232 && a.alpha_ ==
b.alpha_
235 && a.dir1_ ==
b.dir1_;
#define R(A, B, C, D, E, F, K, M)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A bounding box defined in terms of min/max extrema points.
Class to describe eddies for the turbulentDFSEMInletFvPatchVectorField boundary condition.
friend bool operator==(const eddy &a, const eddy &b)
friend bool operator!=(const eddy &a, const eddy &b)
void move(const scalar dx)
Move the eddy.
scalar c1() const noexcept
Return the model coefficient c1.
const tensor & Rpg() const noexcept
Return the coordinate system transformation from local principal to global axes.
const point & position0() const noexcept
Return the reference position.
scalar volume() const
Volume.
void writeCentreOBJ(const vector &n, Ostream &os) const
Write the eddy centre in OBJ format.
label dir1() const noexcept
Return the index of the streamwise direction (0,1,2).
void operator=(const eddy &e)
const vector & alpha() const noexcept
Return the time-averaged intensity.
vector uPrime(const point &xp, const vector &n) const
Return the fluctuating velocity contribution at local point xp.
friend Istream & operator>>(Istream &is, eddy &e)
point position(const vector &n) const
Return the eddy position.
label writeSurfaceOBJ(const label pointOffset, const vector &n, Ostream &os) const
Write the eddy surface in OBJ format.
static int debug
Flag to activate debug statements.
label patchFaceI() const noexcept
Return the patch face index that spawned the eddy.
friend Ostream & operator<<(Ostream &os, const eddy &e)
scalar x() const noexcept
Return the distance from the reference position.
const vector & sigma() const noexcept
Return the length scales in 3-D space.
OBJstream os(runTime.globalPath()/outputName)
Namespace for bounding specifications. At the moment, mostly for tables.
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Istream & operator>>(Istream &, directionInfo &)
vector point
Point is a vector.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)