38 #ifndef cv2DControls_H 39 #define cv2DControls_H 54 Ostream&
operator<<(Ostream&,
const cv2DControls&);
215 inline scalar
span()
const;
218 inline scalar
span2()
const;
239 inline scalar
ppDist()
const;
Switch mirrorPoints_
Mirror near-boundary points rather than insert point-pairs.
scalar minCellSize_
Minimum cell size below which protrusions through the surface are not split.
Switch insertSurfaceNearPointPairs_
Insert point-pairs vor dual-cell vertices very near the surface.
scalar randomPerturbation_
A list of keyword definitions, which are a keyword followed by a number of values (eg...
scalar maxNotchLen() const
Return the maxNotchLen.
scalar maxNotchLen2_
Square of maxNotchLen.
Switch objOutput() const
Return the objOutput Switch.
scalar span() const
Return the span.
scalar maxNotchLen2() const
Return the maxNotchLen squared.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
scalar nearWallAlignedDist2() const
Return square of nearWallAlignedDist.
scalar nearWallAlignedDist2_
Square of nearWallAlignedDist.
A bounding box defined in terms of min/max extrema points.
scalar ppDist2_
Square of ppDist.
scalar minNearPointDist2() const
Return the minNearPointDist squared.
scalar nearWallAlignedDist_
Near-wall region where cells are aligned with the wall.
Switch meshedSurfaceOutput() const
Return the meshedSurfaceOutput Switch.
Switch insertSurfaceNearestPointPairs_
Insert near-boundary point mirror or point-pairs.
label maxBoundaryConformingIter_
scalar minNearPointDist() const
Return the minNearPointDist.
void write(Ostream &os) const
Write controls to output stream.
scalar ppDist_
Distance between boundary conforming point-pairs.
Switch randomiseInitialGrid_
scalar maxQuadAngle_
Maximum quadrant angle allowed at a concave corner before additional "mitering" lines are added...
scalar ppDist() const
Return the ppDist.
runTime controlDict().readEntry("adjustTimeStep"
The central control dictionary, the contents of which are either taken directly from the FOAM_CONTROL...
~cv2DControls()=default
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label maxBoundaryConformingIter() const
Return the maximum number of boundary conformation iterations.
scalar span2_
Square of span.
scalar minCellSize2() const
Return the square of the minimum cell size.
OBJstream os(runTime.globalPath()/outputName)
scalar minNearPointDist_
The minimum distance allowed between a dual-cell vertex and the surface before a point-pair is introd...
scalar minEdgeLen2_
Square of minEdgeLen.
scalar span_
Maximum cartesian span of the geometry.
scalar maxQuadAngle() const
Return the maximum quadrant angle.
scalar minEdgeLen2() const
Return the minEdgeLen squared.
Controls for the 2D CV mesh generator.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
scalar minNearPointDist2_
Square of minNearPoint.
Switch mirrorPoints() const
Return mirrorPoints Switch.
scalar minCellSize2_
Square of minCellSize.
Switch insertSurfaceNearPointPairs() const
Return insertSurfaceNearPointPairs Switch.
scalar minCellSize() const
Return the minimum cell size.
scalar minEdgeLen_
Minimum edge-length of the cell size below which protrusions through the surface are not split...
scalar minEdgeLen() const
Return the minEdgeLen.
scalar span2() const
Return the span squared.
Switch insertSurfaceNearestPointPairs() const
Return insertSurfaceNearestPointPairs Switch.
Switch randomiseInitialGrid() const
Return the randomise initial point layout Switch.
scalar randomPerturbation() const
Return the random perturbation factor.
scalar nearWallAlignedDist() const
Return number of layers to align with the nearest wall.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Switch meshedSurfaceOutput_
scalar maxNotchLen_
Maximum notch size below which protusions into the surface are not filled.