41#ifndef turbulentDFSEMInletFvPatchVectorField_eddy_H
42#define turbulentDFSEMInletFvPatchVectorField_eddy_H
74 static label Gamma2Values[8];
190 inline scalar
volume()
const;
193 inline void move(
const scalar dx);
196 inline boundBox bounds(
const bool global =
true)
const;
214 const label pointOffset,
230 a.patchFaceI_ ==
b.patchFaceI_
231 && a.position0_ ==
b.position0_
233 && a.sigma_ ==
b.sigma_
234 && a.alpha_ ==
b.alpha_
237 && 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
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)
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 &)
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)