Go to the documentation of this file.
42 void Foam::dynamicFvMesh::readDict()
59 if (!timeControl_.
always())
62 Info<<
"Controlled mesh update triggered on "
63 << timeControl_.
type() <<
" interval "
77 Foam::dynamicFvMesh::dynamicFvMesh(
const IOobject& io)
80 timeControl_(io.time(),
"update")
86 Foam::dynamicFvMesh::dynamicFvMesh
94 timeControl_(io.
time(),
"update")
100 Foam::dynamicFvMesh::dynamicFvMesh
116 std::move(allNeighbour),
119 timeControl_(io.
time(),
"update")
125 Foam::dynamicFvMesh::dynamicFvMesh
142 timeControl_(io.
time(),
"update")
150 if (timeControl_.execute())
152 if (!timeControl_.always())
155 Info<<
"Mesh update triggered based on "
156 << timeControl_.type() <<
nl;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
bool always() const
Return true if the control will always execute - ie, no intervention.
IOdictionary(const IOobject &)
Construct given an IOobject.
static constexpr const zero Zero
Global zero (0)
scalar interval() const
Return interval.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
IOobject(const IOobject &)=default
Copy construct.
const Time & time() const
Return time.
messageStream Info
Information stream (uses stdout - output is on the master only)
Mesh data needed to do the Finite Volume discretisation.
const word & type() const
Return the named control enumeration as its 'type'.
virtual bool controlledUpdate()
Update the mesh if controller permits.
void clear()
Reset control to 'always' - ie, no intervention.
const Time & time() const
Return the top-level database.
void read(const dictionary &dict)
Read from dictionary.
constant condensation/saturation model.
defineTypeNameAndDebug(combustionModel, 0)
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...