Solid-body motion of the mesh specified by a run-time selectable motion function. More...
Public Member Functions | |
TypeName ("multiSolidBodyMotionSolver") | |
Runtime type information. More... | |
multiSolidBodyMotionSolver (const word &name, const polyMesh &, const dictionary &) | |
Construct from mesh and dictionary. More... | |
multiSolidBodyMotionSolver (const multiSolidBodyMotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
~multiSolidBodyMotionSolver () | |
Destructor. More... | |
virtual tmp< pointField > | curPoints () const |
Return point location obtained from the current motion field. More... | |
virtual bool | solidBody () const |
This is a solid body motion. More... | |
virtual void | solve () |
Solve for motion. More... | |
void | operator= (const multiSolidBodyMotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from points0MotionSolver | |
TypeName ("points0MotionSolver") | |
Runtime type information. More... | |
points0MotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type) | |
Construct from mesh and dictionary. More... | |
points0MotionSolver (const points0MotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~points0MotionSolver () |
Destructor. More... | |
pointField & | points0 () |
Return reference to the reference field. More... | |
const pointField & | points0 () const |
Return reference to the reference field. More... | |
virtual void | movePoints (const pointField &) |
Update local data for geometry changes. More... | |
virtual void | topoChange (const polyTopoChangeMap &) |
Update local data for topology changes. More... | |
virtual void | mapMesh (const polyMeshMap &) |
Update from another mesh using the given map. More... | |
virtual void | distribute (const polyDistributionMap &) |
Update corresponding to the given distribution map. More... | |
virtual bool | write () const |
Write points0 if the mesh topology changed. More... | |
void | operator= (const points0MotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from motionSolver | |
TypeName ("motionSolver") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
motionSolver (const word &name, const polyMesh &mesh, const dictionary &, const word &type) | |
Construct from polyMesh and dictionary and type. More... | |
virtual autoPtr< motionSolver > | clone () const |
Clone function. More... | |
virtual | ~motionSolver () |
Destructor. More... | |
const word & | name () const |
Return name. More... | |
const word & | keyword () const |
Return keyword. More... | |
const polyMesh & | mesh () const |
Return reference to mesh. More... | |
const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
virtual tmp< pointField > | newPoints () |
Provide new points for motion. Solves for motion. More... | |
virtual void | twoDCorrectPoints (pointField &) const |
Correct point field for reduced-dimensionality cases. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from points0MotionSolver | |
static pointVectorField | readPoints0 (const polyMesh &mesh) |
Static Public Member Functions inherited from motionSolver | |
static autoPtr< motionSolver > | New (const word &name, const polyMesh &, const dictionary &) |
Select constructed from polyMesh and dictionary. More... | |
Protected Attributes inherited from points0MotionSolver | |
pointVectorField | points0_ |
Starting points. More... | |
Solid-body motion of the mesh specified by a run-time selectable motion function.
Definition at line 50 of file multiSolidBodyMotionSolver.H.
multiSolidBodyMotionSolver | ( | const word & | name, |
const polyMesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from mesh and dictionary.
Definition at line 49 of file multiSolidBodyMotionSolver.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::constant::universal::c, primitiveMesh::cells(), polyMesh::cellZones(), motionSolver::coeffDict(), Foam::endl(), Foam::exit(), f(), polyMesh::faces(), Foam::FatalIOError, FatalIOErrorInFunction, PtrListDictionary< T >::findIndex(), forAll, forAllConstIter, Foam::Info, k, motionSolver::keyword(), motionSolver::mesh(), solidBodyMotionFunction::New(), primitiveMesh::nPoints(), List< T >::setSize(), List< T >::size(), syncTools::syncPointList(), objectRegistry::time(), DictionaryBase< IDLListType, T >::toc(), and List< T >::transfer().
|
delete |
Disallow default bitwise copy construction.
Destructor.
Definition at line 136 of file multiSolidBodyMotionSolver.C.
TypeName | ( | "multiSolidBodyMotionSolver" | ) |
Runtime type information.
|
virtual |
Return point location obtained from the current motion field.
Implements motionSolver.
Definition at line 142 of file multiSolidBodyMotionSolver.C.
References forAll, points, tmp< T >::ref(), and Foam::transformPoints().
|
inlinevirtual |
This is a solid body motion.
Reimplemented from motionSolver.
Definition at line 96 of file multiSolidBodyMotionSolver.H.
|
inlinevirtual |
Solve for motion.
Implements motionSolver.
Definition at line 102 of file multiSolidBodyMotionSolver.H.
|
delete |
Disallow default bitwise assignment.