38#ifndef Foam_IntegralScaleBox_H
39#define Foam_IntegralScaleBox_H
63 typedef typename std::conditional
65 std::is_same<Type, scalar>::value,
74 enum kernelType :
bool
96 const enum kernelType kernelType_;
160 void calcCoordinateSystem();
188 TypeL convert(
const TypeL&
L)
const;
193 scalar calcC1(
const vector&
L)
const;
199 scalar calcC2(
const vector&
L)
const;
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of faces which address into the list of points.
Templated 2D Vector derived from VectorSpace adding construction from 2 components,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Class to describe the integral-scale container being used in the turbulentDigitalFilterInletFvPatchFi...
void initialise()
Initialise integral-scale box properties.
void refill()
Add a new integral-scale box slice to the rear of the box.
const primitivePatch & patch()
Return const reference to integral-scale box inlet patch.
bool fsm() const noexcept
Return the object: fsm.
void correlate(scalarField &fld)
Apply forward-stepwise correlation for scalar fields.
static int debug
Flag to activate debug statements.
Field< Type > convolve() const
Embed two-point correlations, i.e. L.
compressible::turbulenceModel & turbulence
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const vector L(dict.get< vector >("L"))