Go to the documentation of this file.
47 int main(
int argc,
char *argv[])
51 "A solver utility for moving meshes"
58 "Override deltaT for accelerated motion"
static autoPtr< motionSolver > New(const polyMesh &)
Select constructed from polyMesh.
static word timeName(const scalar t, const int precision=precision_)
static void addNote(const string ¬e)
Add extra notes for the usage information.
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
Ostream & printExecutionTime(OSstream &os) const
Print the elapsed ExecutionTime (cpu-time), ClockTime.
virtual bool write(const bool valid=true) const
Write using setting from DB.
messageStream Info
Information stream (uses stdout - output is on the master only)
virtual bool loop()
Return true if run should continue and if so increment time.
virtual void setDeltaT(const dimensionedScalar &deltaT, const bool adjust=true)
Reset time step, normally also calling adjustDeltaT()
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual tmp< pointField > newPoints()
Provide new points for motion. Solves for motion.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
Foam::argList args(argc, argv)