Class to describe the integral-scale container being used in the turbulentDigitalFilterInletFvPatchField boundary condition.
More...
Public Member Functions | |
| IntegralScaleBox (const fvPatch &p) | |
| Construct from patch. More... | |
| IntegralScaleBox (const fvPatch &p, const IntegralScaleBox &b) | |
| Copy construct with patch. More... | |
| IntegralScaleBox (const fvPatch &p, const dictionary &dict) | |
| Construct from patch and dictionary. More... | |
| IntegralScaleBox (const IntegralScaleBox &b) | |
| Copy construct. More... | |
| const primitivePatch & | patch () |
| Return const reference to integral-scale box inlet patch. More... | |
| bool | fsm () const noexcept |
| Return the object: fsm. More... | |
| void | initialise () |
| Initialise integral-scale box properties. More... | |
| void | shift () |
| Discard current time-step integral-scale box slice (the closest to the patch) by shifting from the back to the front. More... | |
| void | refill () |
| Add a new integral-scale box slice to the rear of the box. More... | |
| Field< Type > | convolve () const |
| Embed two-point correlations, i.e. L. More... | |
| void | correlate (scalarField &fld) |
| Apply forward-stepwise correlation for scalar fields. More... | |
| void | correlate (vectorField &fld) |
| Apply forward-stepwise correlation for vector fields. More... | |
| void | write (Ostream &) const |
| Write integral-scale box settings. More... | |
Static Public Attributes | |
| static int | debug = 0 |
| Flag to activate debug statements. More... | |
Class to describe the integral-scale container being used in the turbulentDigitalFilterInletFvPatchField boundary condition.
Definition at line 53 of file IntegralScaleBox.H.
|
explicit |
Construct from patch.
Definition at line 475 of file IntegralScaleBox.C.
| IntegralScaleBox | ( | const fvPatch & | p, |
| const IntegralScaleBox< Type > & | b | ||
| ) |
Copy construct with patch.
Definition at line 503 of file IntegralScaleBox.C.
| IntegralScaleBox | ( | const fvPatch & | p, |
| const dictionary & | dict | ||
| ) |
Construct from patch and dictionary.
Definition at line 532 of file IntegralScaleBox.C.
References Foam::cmptMin(), dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::min(), and Foam::nl.

| IntegralScaleBox | ( | const IntegralScaleBox< Type > & | b | ) |
Copy construct.
Definition at line 585 of file IntegralScaleBox.C.
|
inline |
Return const reference to integral-scale box inlet patch.
Definition at line 327 of file IntegralScaleBox.H.
|
inlinenoexcept |
Return the object: fsm.
Definition at line 340 of file IntegralScaleBox.H.
| void initialise | ( | ) |
Initialise integral-scale box properties.
Avoid constructor level evaluations
Definition at line 614 of file IntegralScaleBox.C.
References Foam::ensightOutput::debug, Foam::endl(), Foam::Info, Foam::nl, Vector2D< Cmpt >::x(), Vector2D< Cmpt >::y(), and Foam::Zero.

| void shift | ( | ) |
Discard current time-step integral-scale box slice (the closest to the patch) by shifting from the back to the front.
Definition at line 664 of file IntegralScaleBox.C.
References Foam::inplaceRotateList(), and Foam::expressions::Detail::nComponents().

| void refill | ( | ) |
Add a new integral-scale box slice to the rear of the box.
Definition at line 683 of file IntegralScaleBox.C.
References Foam::expressions::Detail::nComponents().

| Foam::Field< Type > convolve | ( | ) | const |
Embed two-point correlations, i.e. L.
Apply three-dimensional "valid"-type separable convolution summation algorithm
Definition at line 704 of file IntegralScaleBox.C.
References k, Foam::expressions::Detail::nComponents(), p, UList< T >::size(), UList< Type >::size(), Foam::sum(), and Foam::Zero.

| void correlate | ( | scalarField & | fld | ) |
Apply forward-stepwise correlation for scalar fields.
Definition at line 832 of file IntegralScaleBox.C.
References fld.
| void correlate | ( | vectorField & | fld | ) |
Apply forward-stepwise correlation for vector fields.
Definition at line 848 of file IntegralScaleBox.C.
References fld, and Foam::expressions::Detail::nComponents().

| void write | ( | Ostream & | os | ) | const |
Write integral-scale box settings.
Definition at line 870 of file IntegralScaleBox.C.
References os().

|
static |
Flag to activate debug statements.
Definition at line 317 of file IntegralScaleBox.H.