Go to the documentation of this file.
39 motionControl_(
controlDict.subDict(
"motionControl")),
40 conformationControl_(
controlDict.subDict(
"surfaceConformation")),
43 minCellSize2_(
Foam::
sqr(minCellSize_)),
51 nearWallAlignedDist2_(
Foam::
sqr(nearWallAlignedDist_)),
53 insertSurfaceNearestPointPairs_
55 conformationControl_.
lookup(
"insertSurfaceNearestPointPairs")
57 mirrorPoints_(conformationControl_.
lookup(
"mirrorPoints")),
58 insertSurfaceNearPointPairs_
60 conformationControl_.
lookup(
"insertSurfaceNearPointPairs")
63 objOutput_(motionControl_.lookupOrDefault<Switch>(
"objOutput", false)),
67 motionControl_.lookupOrDefault<Switch>(
"meshedSurfaceOutput", false)
70 randomiseInitialGrid_(conformationControl_.
lookup(
"randomiseInitialGrid")),
76 maxBoundaryConformingIter_
93 minEdgeLen2_(
Foam::
sqr(minEdgeLen_)),
100 maxNotchLen2_(
Foam::
sqr(maxNotchLen_)),
107 minNearPointDist2_(
Foam::
sqr(minNearPointDist_)),
127 os.indentLevel() = 1;
131 os <<
nl <<
"Outputting CV2D Mesher controls:" <<
nl
133 <<
indent <<
"minCellSize2_ : " << minCellSize2_ <<
nl
134 <<
indent <<
"span_ / span2_ : " << span_ <<
" / " << span2_ <<
nl
135 <<
indent <<
"maxNotchLen2_ : " << maxNotchLen2_ <<
nl
136 <<
indent <<
"minNearPointDist2_ : " << minNearPointDist2_ <<
nl
137 <<
indent <<
"nearWallAlignedDist2_ : " << nearWallAlignedDist2_ <<
nl
138 <<
indent <<
"ppDist_ : " << ppDist_ <<
nl
139 <<
indent <<
"minEdgeLen2_ : " << minEdgeLen2_ <<
nl
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
void write(Ostream &os) const
Write controls to output stream.
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
Ostream & operator<<(Ostream &, const edgeMesh &)
Ostream & indent(Ostream &os)
Indent stream.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().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))
IOstream & scientific(IOstream &io)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
cv2DControls(const cv2DControls &)
Disallow default bitwise copy construct.
~cv2DControls()
Destructor.
label readLabel(Istream &is)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
stressControl lookup("compactNormalStress") >> compactNormalStress