Abstract base-class for multiple rigid body mesh motion. More...


Classes | |
| class | bodyMesh |
| Class containing the patches and point motion weighting for each body. More... | |
Public Member Functions | |
| TypeName ("multiRigidBody") | |
| Runtime type information. More... | |
| multiRigidBody (const polyMesh &, const dictionary &dict) | |
| Construct from polyMesh and dictionary. More... | |
| multiRigidBody (const multiRigidBody &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~multiRigidBody () | |
| Destructor. More... | |
| virtual tmp< pointField > | newPoints () |
| Return point location obtained from the current motion field. 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... | |
| void | operator= (const multiRigidBody &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from displacementPoints0 | |
| TypeName ("displacementPoints0") | |
| Runtime type information. More... | |
| displacementPoints0 (const polyMesh &, const dictionary &, const word &type) | |
| Construct from mesh and dictionary. More... | |
| displacementPoints0 (const displacementPoints0 &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~displacementPoints0 () |
| 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 | 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 displacementPoints0 &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from pointMeshMover | |
| TypeName ("pointMeshMover") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, pointMeshMover, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict)) | |
| pointMeshMover (const polyMesh &mesh, const word &type) | |
| Construct from polyMesh and dictionary and type. More... | |
| virtual autoPtr< pointMeshMover > | clone () const |
| Clone function. More... | |
| virtual | ~pointMeshMover () |
| Destructor. More... | |
| const polyMesh & | poly () const |
| Return reference to mesh. More... | |
| virtual void | twoDCorrectPoints (pointField &) const |
| Correct point field for reduced-dimensionality cases. More... | |
| virtual bool | solidBodyMotion () const |
| Is the motion solid body? I.e., are the volumes and area magnitudes. More... | |
Protected Attributes | |
| PtrList< bodyMesh > | bodyMeshes_ |
| List of the bodyMeshes containing the patches and point motion. More... | |
Protected Attributes inherited from displacementPoints0 | |
| pointVectorField | points0_ |
| Starting points. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from displacementPoints0 | |
| static pointVectorField | readPoints0 (const polyMesh &mesh) |
Static Public Member Functions inherited from pointMeshMover | |
| static autoPtr< pointMeshMover > | New (const polyMesh &, const dictionary &) |
| Select constructed from polyMesh and dictionary. More... | |
Abstract base-class for multiple rigid body mesh motion.
Applies distance weighted SLERP interpolation between the septernions returned by each of the body movement functions.
Definition at line 53 of file multiRigidBody_pointMeshMover.H.
| multiRigidBody | ( | const polyMesh & | mesh, |
| const dictionary & | dict | ||
| ) |
Construct from polyMesh and dictionary.
Definition at line 173 of file multiRigidBody_pointMeshMover.C.
References PtrList< T >::append(), multiRigidBody::bodyMeshes_, fvMesh::boundary(), dict, forAll, forAllConstIter, dictionary::found(), HashSet< Key, Hash >::insert(), UPtrList< T >::last(), mesh, patchi, polyMesh::points(), and UPtrList< T >::size().

|
delete |
Disallow default bitwise copy construction.
| ~multiRigidBody | ( | ) |
Destructor.
Definition at line 261 of file multiRigidBody_pointMeshMover.C.
| TypeName | ( | "multiRigidBody" | ) |
Runtime type information.
|
virtual |
Return point location obtained from the current motion field.
Implements pointMeshMover.
Definition at line 296 of file multiRigidBody_pointMeshMover.C.
References Foam::average(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, nPoints, points, tmp< T >::ref(), and List< T >::size().

|
virtual |
Update local data for topology changes.
Reimplemented from displacementPoints0.
Definition at line 331 of file multiRigidBody_pointMeshMover.C.
References IOobject::AUTO_WRITE, Foam::average(), pointConstraints::constrain(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, DemandDrivenMeshObject< pointMesh, TopoChangeableMeshObject, pointConstraints >::New(), DemandDrivenMeshObject< polyMesh, PermanentMeshObject, pointMesh >::New(), polyTopoChangeMap::pointMap(), points, polyTopoChangeMap::reversePointMap(), and List< T >::size().

|
virtual |
Update from another mesh using the given map.
Resets points0 to the points of the new mesh
Implements displacementPoints0.
Definition at line 436 of file multiRigidBody_pointMeshMover.C.
References IOobject::AUTO_WRITE, Foam::average(), forAll, displacementPoints0::mapMesh(), and List< T >::size().

|
delete |
Disallow default bitwise assignment.
List of the bodyMeshes containing the patches and point motion.
weighting for each body
Definition at line 131 of file multiRigidBody_pointMeshMover.H.
Referenced by functionalRigidBody::functionalRigidBody(), multiRigidBody::multiRigidBody(), and rigidBodyMotion::rigidBodyMotion().