43 int main(
int argc,
char *argv[])
48 "check all surface geometry for quality" 54 "conform to the initial points without any point motion" 60 runTime.functionObjects().off();
84 "cvSearchableSurfaces",
91 foamyHexMeshDict.subDict(
"geometry"),
92 foamyHexMeshDict.lookupOrDefault(
"singleRegionName",
true)
98 allGeometry.checkTopology(
true);
100 allGeometry.checkGeometry
112 conformalVoronoiMesh::debug =
true;
114 Info<<
"Create mesh for time = " << runTime.timeName() <<
nl <<
endl;
119 if (conformationOnly)
121 mesh.initialiseForConformation();
125 mesh.writeMesh(runTime.timeName());
129 mesh.initialiseForMotion();
131 while (runTime.run())
135 Info<<
nl <<
"Time = " << runTime.timeName() <<
endl;
140 <<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 141 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
const word & executable() const
Name of executable without the path.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static const word & geometryDir()
Return the geometry directory name.
Container for searchableSurfaces.
bool move()
Move the mesh.
const doubleScalar e
Elementary charge.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Foam::argList args(argc, argv)
void writeStats(const List< wordList > &, Ostream &) const
Write some stats.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...