Go to the documentation of this file.
45 dynamicMotionSolverTopoFvMesh,
53 Foam::dynamicMotionSolverTopoFvMesh::dynamicMotionSolverTopoFvMesh
76 if (topoChangeMap.
valid())
78 Info <<
"Executing mesh topology update" <<
endl;
79 motionPtr_->updateMesh(topoChangeMap());
84 movePoints(newPoints);
92 osOld.
write(oldPts[i]);
105 pointField newPoints(motionPtr_->newPoints());
108 Info <<
"Executing mesh motion" <<
endl;
109 movePoints(newPoints);
int debug
Static debugging option.
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Defines the attributes of an object for which implicit objectRegistry management is supported,...
OFstream that keeps track of vertices.
bool valid() const noexcept
True if the managed pointer is non-null.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual Ostream & write(const char c)
Write character.
#define forAll(list, i)
Loop across all elements in list.
messageStream Info
Information stream (uses stdout - output is on the master only)
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~dynamicMotionSolverTopoFvMesh()
Destructor.
Abstract base class for a topology changing fvMesh.
defineTypeNameAndDebug(combustionModel, 0)
virtual bool update()
Update the mesh for both mesh motion and topology change.