Virtual base class for velocity motion solver. More...
Public Member Functions | |
TypeName ("componentVelocityMotionSolver") | |
Runtime type information. More... | |
componentVelocityMotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type) | |
Construct from mesh and dictionary. More... | |
componentVelocityMotionSolver (const componentVelocityMotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~componentVelocityMotionSolver () |
Destructor. More... | |
pointScalarField & | pointMotionU () |
Non-const access to the pointMotionU in order to allow changes. 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 componentVelocityMotionSolver &)=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 tmp< pointField > | curPoints () const =0 |
Provide current points for motion. Uses current motion field. More... | |
virtual void | twoDCorrectPoints (pointField &) const |
Correct point field for reduced-dimensionality cases. More... | |
virtual bool | solidBody () const |
Is the motion solid body? I.e., are the volumes and area magnitudes. More... | |
virtual void | solve ()=0 |
Solve for motion. 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... | |
pointScalarField | pointMotionU_ |
Point motion field. More... | |
Additional Inherited Members | |
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... | |
Virtual base class for velocity motion solver.
The boundary displacement is set as a boundary condition on the pointMotionUX pointScalarField.
Definition at line 54 of file componentVelocityMotionSolver.H.
componentVelocityMotionSolver | ( | const word & | name, |
const polyMesh & | mesh, | ||
const dictionary & | dict, | ||
const word & | type | ||
) |
Construct from mesh and dictionary.
Definition at line 69 of file componentVelocityMotionSolver.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 97 of file componentVelocityMotionSolver.C.
TypeName | ( | "componentVelocityMotionSolver" | ) |
Runtime type information.
|
inline |
Non-const access to the pointMotionU in order to allow changes.
to the boundary motion
Definition at line 112 of file componentVelocityMotionSolver.H.
|
virtual |
Update local data for geometry changes.
Implements motionSolver.
Definition at line 103 of file componentVelocityMotionSolver.C.
|
virtual |
Update local data for topology changes.
Implements motionSolver.
Reimplemented in velocityComponentLaplacianFvMotionSolver.
Definition at line 109 of file componentVelocityMotionSolver.C.
Referenced by velocityComponentLaplacianFvMotionSolver::topoChange().
|
virtual |
Update from another mesh using the given map.
Implements motionSolver.
Reimplemented in velocityComponentLaplacianFvMotionSolver.
Definition at line 118 of file componentVelocityMotionSolver.C.
References Foam::Zero.
Referenced by velocityComponentLaplacianFvMotionSolver::mapMesh().
|
virtual |
Update corresponding to the given distribution map.
Implements motionSolver.
Definition at line 128 of file componentVelocityMotionSolver.C.
|
delete |
Disallow default bitwise assignment.
|
protected |
The component name to solve for.
Definition at line 63 of file componentVelocityMotionSolver.H.
|
protected |
The component to solve for.
Definition at line 66 of file componentVelocityMotionSolver.H.
|
mutableprotected |
Point motion field.
Definition at line 69 of file componentVelocityMotionSolver.H.