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;
86 return position0_ +
n*x_;
114 bb.
min() = Rpg_ & -sigma_;
115 bb.
max() = Rpg_ & sigma_;
const tensor & Rpg() const noexcept
const vector & sigma() const noexcept
Return the length scales in 3-D space.
const vector & alpha() const noexcept
Return the time-averaged intensity.
scalar c1() const noexcept
Return the model coefficient c1.
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.
const point & position0() const noexcept
Return the reference position.
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.
scalar x() const noexcept
Return the distance from the reference position.
point position(const vector &n) const
Return the eddy position.
Vector< scalar > vector
A scalar version of the templated Vector.
constexpr scalar pi(M_PI)
A bounding box defined in terms of min/max extrema points.
label patchFaceI() const noexcept
Return the patch face index that spawned the eddy.