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

| IntegralScaleBox | ( | const fvPatch & | p, |
| const IntegralScaleBox< Type > & | b ) |
Copy construct with patch.
Definition at line 502 of file IntegralScaleBox.C.
References b, IntegralScaleBox(), and p.

| IntegralScaleBox | ( | const fvPatch & | p, |
| const dictionary & | dict ) |
Construct from patch and dictionary.
Definition at line 531 of file IntegralScaleBox.C.
References Foam::cmptMin(), dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::min(), Foam::nl, p, and Foam::Zero.

| IntegralScaleBox | ( | const IntegralScaleBox< Type > & | b | ) |
Copy construct.
Definition at line 584 of file IntegralScaleBox.C.
References b, and IntegralScaleBox().

|
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.
References Foam::noexcept.
| void initialise | ( | ) |
Initialise integral-scale box properties.
Avoid constructor level evaluations
Definition at line 614 of file IntegralScaleBox.C.
References 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().

| void refill | ( | ) |
Add a new integral-scale box slice to the rear of the box.
Definition at line 683 of file IntegralScaleBox.C.
| 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, p, Field< Type >::replace(), UList< T >::size(), Foam::sum(), and Foam::Zero.

| void correlate | ( | scalarField & | fld | ) |
Apply forward-stepwise correlation for scalar fields.
Definition at line 831 of file IntegralScaleBox.C.
References fld().

| void correlate | ( | vectorField & | fld | ) |
Apply forward-stepwise correlation for vector fields.
Definition at line 847 of file IntegralScaleBox.C.
References fld().

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

|
static |
Flag to activate debug statements.
Definition at line 317 of file IntegralScaleBox.H.
Referenced by initialise(), and turbulentDigitalFilterInletFvPatchField< Type >::turbulentDigitalFilterInletFvPatchField().