Go to the documentation of this file.
41 #ifndef turbulentDFSEMInletFvPatchVectorField_eddy_H
42 #define turbulentDFSEMInletFvPatchVectorField_eddy_H
74 static label Gamma2Values[8];
158 inline scalar
x()
const;
171 inline scalar
c1()
const;
177 inline label
dir1()
const;
186 inline scalar
volume()
const;
189 inline void move(
const scalar dx);
210 const label pointOffset,
226 a.patchFaceI_ ==
b.patchFaceI_
227 && a.position0_ ==
b.position0_
229 && a.sigma_ ==
b.sigma_
230 && a.alpha_ ==
b.alpha_
233 && a.dir1_ ==
b.dir1_;
scalar x() const
Return the distance from the reference position.
friend bool operator==(const eddy &a, const eddy &b)
friend Ostream & operator<<(Ostream &os, const eddy &e)
void writeCentreOBJ(const vector &n, Ostream &os) const
Write the eddy centre in OBJ format.
vector epsilon(Random &rndGen) const
Return random vector of -1 and 1's.
boundBox bounds(const bool global=true) const
Eddy bounds.
friend bool operator!=(const eddy &a, const eddy &b)
scalar volume() const
Volume.
void move(const scalar dx)
Move the eddy.
Class to describe eddies for the turbulentDFSEMInletFvPatchVectorField boundary condition.
Istream & operator>>(Istream &, directionInfo &)
void operator=(const eddy &e)
label writeSurfaceOBJ(const label pointOffset, const vector &n, Ostream &os) const
Write the eddy surface in OBJ format.
const tensor & Rpg() const
Return the coordinate system transformation from local.
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
#define R(A, B, C, D, E, F, K, M)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
point position(const vector &n) const
Return the eddy position.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
label dir1() const
Return the index of the streamwise direction.
scalar c1() const
Return the model coefficient c1.
vector uDash(const point &xp, const vector &n) const
Return the fluctuating velocity contribution at local point xp.
const dimensionedScalar e
Elementary charge.
A bounding box defined in terms of min/max extrema points.
friend Istream & operator>>(Istream &is, eddy &e)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const vector & alpha() const
Return the time-averaged intensity.
const vector & sigma() const
Return the lLength scales in 3-D space.
label patchFaceI() const
Return the patch face index that spawned the eddy.
const point & position0() const
Return the reference position.