Go to the documentation of this file.
35 Foam::scalar Foam::eddy::epsi(Random&
rndGen)
const
38 return rndGen.sample01<scalar>() > 0.5 ? 1 : -1;
80 return position0_ +
n*x_;
114 bb.
min() = Rpg_ & -sigma_;
115 bb.
max() = Rpg_ & sigma_;
scalar x() const
Return the distance from the reference position.
vector epsilon(Random &rndGen) const
Return random vector of -1 and 1's.
Different types of constants.
boundBox bounds(const bool global=true) const
Eddy bounds.
Cmpt cmptProduct(const VectorSpace< Form, Cmpt, Ncmpts > &vs)
scalar volume() const
Volume.
void move(const scalar dx)
Move the eddy.
const point & max() const
Maximum describing the bounding box.
const point & min() const
Minimum describing the bounding box.
const tensor & Rpg() const
Return the coordinate system transformation from local.
point position(const vector &n) const
Return the eddy position.
Vector< scalar > vector
A scalar version of the templated Vector.
scalar c1() const
Return the model coefficient c1.
constexpr scalar pi(M_PI)
A bounding box defined in terms of min/max extrema points.
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.