48 int main(
int argc,
char *argv[])
65 <<
"Create mesh " << regionName <<
" for time = " 72 <<
"Create mesh for time = " 91 Info<<
"Writing VTK files with weights of AMI patches." <<
nl <<
endl;
101 while (runTime.run())
108 Info<<
"Time = " << runTime.userTimeName() <<
endl;
128 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 129 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s" bool update()
Update the mesh for topology change, mesh to mesh mapping.
pimpleNoLoopControl & pimple
static word defaultRegion
Return the default region name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
A class for handling words, derived from string.
virtual const dictionary & dict() const
Return the solution dictionary.
virtual bool checkMesh(const bool report=false) const
Check mesh for correctness. Returns false for no error.
bool move()
Move the mesh.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Pimple control class. Provides time-loop control methods which exit the simulation once convergence c...
void writeAMIWeightsSums(const polyMesh &)
Write out the weights-sums on all the AMI patches.
Mesh data needed to do the Finite Volume discretisation.
bool loop(Time &time)
Time loop loop.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Foam::argList args(argc, argv)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...