Go to the documentation of this file.
43 void Foam::dynamicFvMesh::readDict()
60 if (!timeControl_.
always())
63 Info<<
"Controlled mesh update triggered on "
64 << timeControl_.
type() <<
" interval "
78 Foam::dynamicFvMesh::dynamicFvMesh(
const IOobject& io,
const bool doInit)
81 timeControl_(io.time(),
"update")
104 Foam::dynamicFvMesh::dynamicFvMesh
112 timeControl_(io.
time(),
"update")
118 Foam::dynamicFvMesh::dynamicFvMesh
134 std::move(allNeighbour),
137 timeControl_(io.
time(),
"update")
143 Foam::dynamicFvMesh::dynamicFvMesh
160 timeControl_(io.
time(),
"update")
168 if (timeControl_.execute())
170 if (!timeControl_.always())
173 Info<<
"Mesh update triggered based on "
174 << 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.
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)
virtual bool init(const bool doInit)
Initialise all non-demand-driven data.
IOobject(const IOobject &)=default
Copy construct.
const Time & time() const
Return Time associated with the objectRegistry.
messageStream Info
Information stream (stdout output on master, null elsewhere)
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
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.
virtual bool init(const bool doInit)
Initialise all non-demand-driven data.
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 ...