Class to describe eddies for the turbulentDFSEMInletFvPatchVectorField boundary condition.
More...
|
| | eddy () |
| | Construct null. More...
|
| |
| | eddy (Istream &is) |
| | Construct from Istream. More...
|
| |
| | eddy (const label patchFaceI, const point &position0, const scalar x, const scalar sigmaX, const symmTensor &R, Random &rndGen) |
| | Construct from components. More...
|
| |
| | eddy (const eddy &e) |
| | Copy construct. More...
|
| |
| label | patchFaceI () const noexcept |
| | Return the patch face index that spawned the eddy. More...
|
| |
| const point & | position0 () const noexcept |
| | Return the reference position. More...
|
| |
| scalar | x () const noexcept |
| | Return the distance from the reference position. More...
|
| |
| const vector & | sigma () const noexcept |
| | Return the length scales in 3-D space. More...
|
| |
| const vector & | alpha () const noexcept |
| | Return the time-averaged intensity. More...
|
| |
| const tensor & | Rpg () const noexcept |
| | Return the coordinate system transformation from local principal to global axes. More...
|
| |
| scalar | c1 () const noexcept |
| | Return the model coefficient c1. More...
|
| |
| point | position (const vector &n) const |
| | Return the eddy position. More...
|
| |
| label | dir1 () const noexcept |
| | Return the index of the streamwise direction (0,1,2) More...
|
| |
| vector | epsilon (Random &rndGen) const |
| | Return random vector of -1 and 1's. More...
|
| |
| scalar | volume () const |
| | Volume. More...
|
| |
| void | move (const scalar dx) |
| | Move the eddy. More...
|
| |
| boundBox | bounds (const bool global=true) const |
| | Eddy bounds. More...
|
| |
| vector | uPrime (const point &xp, const vector &n) const |
| | Return the fluctuating velocity contribution at local point xp. More...
|
| |
| void | writeCentreOBJ (const vector &n, Ostream &os) const |
| | Write the eddy centre in OBJ format. More...
|
| |
| label | writeSurfaceOBJ (const label pointOffset, const vector &n, Ostream &os) const |
| | Write the eddy surface in OBJ format. More...
|
| |
| void | operator= (const eddy &e) |
| |
|
| static int | debug = 0 |
| | Flag to activate debug statements. More...
|
| |
Class to describe eddies for the turbulentDFSEMInletFvPatchVectorField boundary condition.
- Source files
-
Definition at line 63 of file eddy.H.
◆ eddy() [1/4]
Construct null.
Definition at line 110 of file eddy.C.
◆ eddy() [2/4]
◆ eddy() [3/4]
| eddy |
( |
const label |
patchFaceI, |
|
|
const point & |
position0, |
|
|
const scalar |
x, |
|
|
const scalar |
sigmaX, |
|
|
const symmTensor & |
R, |
|
|
Random & |
rndGen |
|
) |
| |
Construct from components.
Definition at line 124 of file eddy.C.
References Foam::cmptAv(), Foam::cmptMin(), Foam::cmptProduct(), Foam::ensightOutput::debug, Foam::constant::electromagnetic::e, Foam::eigenValues(), Foam::eigenVectors(), Foam::endl(), epsilon, forAll, found, lambda(), Foam::Pout, R, rndGen, Random::shuffle(), dimensioned< Type >::T(), and WarningInFunction.
◆ eddy() [4/4]
Copy construct.
Definition at line 209 of file eddy.C.
◆ patchFaceI()
| Foam::label patchFaceI |
( |
| ) |
const |
|
inlinenoexcept |
Return the patch face index that spawned the eddy.
Definition at line 35 of file eddyI.H.
◆ position0()
Return the reference position.
Definition at line 41 of file eddyI.H.
◆ x()
Return the distance from the reference position.
Definition at line 47 of file eddyI.H.
◆ sigma()
Return the length scales in 3-D space.
Definition at line 53 of file eddyI.H.
◆ alpha()
Return the time-averaged intensity.
Definition at line 59 of file eddyI.H.
◆ Rpg()
Return the coordinate system transformation from local principal to global axes.
Definition at line 65 of file eddyI.H.
◆ c1()
| Foam::scalar c1 |
( |
| ) |
const |
|
inlinenoexcept |
Return the model coefficient c1.
Definition at line 71 of file eddyI.H.
◆ position()
Return the eddy position.
Definition at line 77 of file eddyI.H.
References n.
◆ dir1()
Return the index of the streamwise direction (0,1,2)
Definition at line 223 of file eddy.H.
◆ epsilon()
Return random vector of -1 and 1's.
Definition at line 83 of file eddyI.H.
References rndGen.
◆ volume()
| Foam::scalar volume |
( |
| ) |
const |
|
inline |
◆ move()
| void move |
( |
const scalar |
dx | ) |
|
|
inline |
Move the eddy.
Definition at line 95 of file eddyI.H.
◆ bounds()
◆ uPrime()
◆ writeCentreOBJ()
◆ writeSurfaceOBJ()
| Foam::label writeSurfaceOBJ |
( |
const label |
pointOffset, |
|
|
const vector & |
n, |
|
|
Ostream & |
os |
|
) |
| const |
Write the eddy surface in OBJ format.
Returns the number of points used to describe the eddy surface
Definition at line 260 of file eddy.C.
References Foam::cos(), forAll, n, Foam::nl, os(), p, Foam::constant::mathematical::pi(), s, Foam::sin(), Foam::sqr(), Foam::sqrt(), Foam::constant::mathematical::twoPi(), x, and Foam::Zero.
◆ operator=()
| void operator= |
( |
const eddy & |
e | ) |
|
◆ operator==
| bool operator== |
( |
const eddy & |
a, |
|
|
const eddy & |
b |
|
) |
| |
|
friend |
◆ operator!=
| bool operator!= |
( |
const eddy & |
a, |
|
|
const eddy & |
b |
|
) |
| |
|
friend |
◆ operator>>
◆ operator<<
◆ debug
The documentation for this class was generated from the following files:
- src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/eddy/eddy.H
- src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/eddy/eddy.C
- src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/eddy/eddyI.H
- src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/eddy/eddyIO.C