Abstract base class for component displacement pointMesh movers. More...


Public Member Functions | |
| TypeName ("displacementComponent") | |
| Runtime type information. More... | |
| displacementComponent (const polyMesh &, const dictionary &, const word &type) | |
| Construct from polyMesh and dictionary and type. More... | |
| displacementComponent (const displacementComponent &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~displacementComponent () |
| Destructor. More... | |
| scalarField & | points0 () |
| Return reference to the reference field. More... | |
| const scalarField & | 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... | |
| void | operator= (const displacementComponent &)=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 tmp< pointField > | newPoints ()=0 |
| Provide new points for motion. Solves for motion. 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... | |
| virtual bool | write () const |
| Optionally write motion state information for restart. More... | |
Protected Attributes | |
| word | cmptName_ |
| The component name to solve for. More... | |
| direction | cmpt_ |
| The component to solve for. More... | |
| scalarField | points0_ |
| Reference point field for this component. More... | |
| pointScalarField | pointDisplacement_ |
| Point motion field. More... | |
Additional Inherited Members | |
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 component displacement pointMesh movers.
The boundary displacement is set as a boundary condition on the pointDisplacementX pointScalarField.
Definition at line 54 of file displacementComponent_pointMeshMover.H.
| displacementComponent | ( | const polyMesh & | mesh, |
| const dictionary & | dict, | ||
| const word & | type | ||
| ) |
Construct from polyMesh and dictionary and type.
Definition at line 72 of file displacementComponent_pointMeshMover.C.
References TimePaths::constant(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, typeIOobject< Type >::filePath(), mesh, polyMesh::meshSubDir, IOobject::MUST_READ, IOobject::NO_WRITE, primitiveMesh::nPoints(), displacementComponent::points0_, List< T >::size(), and fvMesh::time().

|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 134 of file displacementComponent_pointMeshMover.C.
| TypeName | ( | "displacementComponent" | ) |
Runtime type information.
|
inline |
Return reference to the reference field.
Definition at line 113 of file displacementComponent_pointMeshMover.H.
References displacementComponent::points0_.
|
inline |
Return reference to the reference field.
Definition at line 119 of file displacementComponent_pointMeshMover.H.
References displacementComponent::points0_.
|
virtual |
Update local data for geometry changes.
Implements pointMeshMover.
Definition at line 140 of file displacementComponent_pointMeshMover.C.
|
virtual |
Update local data for topology changes.
Implements pointMeshMover.
Reimplemented in displacementComponentLaplacian.
Definition at line 149 of file displacementComponent_pointMeshMover.C.
References Foam::component(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::gMax(), Foam::gMin(), polyTopoChangeMap::pointMap(), points, polyTopoChangeMap::reversePointMap(), and List< T >::size().
Referenced by displacementComponentLaplacian::topoChange().


|
virtual |
Update from another mesh using the given map.
Implements pointMeshMover.
Reimplemented in displacementComponentLaplacian.
Definition at line 202 of file displacementComponent_pointMeshMover.C.
References Foam::Zero.
Referenced by displacementComponentLaplacian::mapMesh().

|
virtual |
Update corresponding to the given distribution map.
Implements pointMeshMover.
Definition at line 212 of file displacementComponent_pointMeshMover.C.
|
delete |
Disallow default bitwise assignment.
|
protected |
The component name to solve for.
Definition at line 63 of file displacementComponent_pointMeshMover.H.
|
protected |
The component to solve for.
Definition at line 66 of file displacementComponent_pointMeshMover.H.
|
protected |
Reference point field for this component.
Definition at line 69 of file displacementComponent_pointMeshMover.H.
Referenced by displacementComponent::displacementComponent(), and displacementComponent::points0().
|
mutableprotected |
Point motion field.
Definition at line 72 of file displacementComponent_pointMeshMover.H.