displacementSBRStressFvMotionSolver Class Reference

Mesh motion solver for an fvMesh. Based on solving the cell-centre solid-body rotation stress equations for the motion displacement. More...

Inheritance diagram for displacementSBRStressFvMotionSolver:
Collaboration diagram for displacementSBRStressFvMotionSolver:

Public Member Functions

 TypeName ("displacementSBRStress")
 Runtime type information. More...
 
 displacementSBRStressFvMotionSolver (const word &name, const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 displacementSBRStressFvMotionSolver (const displacementSBRStressFvMotionSolver &)
 Disallow default bitwise copy construction. More...
 
 ~displacementSBRStressFvMotionSolver ()
 Destructor. More...
 
volVectorFieldcellDisplacement ()
 Return reference to the cell motion displacement field. More...
 
const volVectorFieldcellDisplacement () const
 Return const reference to the cell motion displacement field. More...
 
motionDiffusivitydiffusivity ()
 Return diffusivity. More...
 
virtual tmp< pointFieldcurPoints () const
 Return point location obtained from the current motion field. More...
 
virtual void solve ()
 Solve for motion. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update corresponding to the given map. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
void operator= (const displacementSBRStressFvMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementMotionSolver
 TypeName ("displacementMotionSolver")
 Runtime type information. More...
 
 displacementMotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementMotionSolver (const displacementMotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementMotionSolver ()
 Destructor. More...
 
pointVectorFieldpointDisplacement ()
 Return reference to the point motion displacement field. More...
 
const pointVectorFieldpointDisplacement () const
 Return const reference to the point motion displacement field. More...
 
void operator= (const displacementMotionSolver &)=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...
 
pointFieldpoints0 ()
 Return reference to the reference field. More...
 
const pointFieldpoints0 () 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 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< motionSolverclone () const
 Clone function. More...
 
virtual ~motionSolver ()
 Destructor. More...
 
const wordname () const
 Return name. More...
 
const wordkeyword () const
 Return keyword. More...
 
const polyMeshmesh () const
 Return reference to mesh. More...
 
const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< pointFieldnewPoints ()
 Provide new points for motion. Solves for motion. More...
 
virtual void twoDCorrectPoints (pointField &) const
 
- Public Member Functions inherited from fvMotionSolver
 ClassName ("displacementMotionSolver")
 Runtime type information. More...
 
 fvMotionSolver (const polyMesh &)
 Construct from polyMesh. More...
 
const fvMeshmesh () const
 Return reference to the fvMesh to be moved. More...
 
template<class Type >
Foam::wordList cellMotionBoundaryTypes (const typename GeometricField< Type, pointPatchField, pointMesh >::Boundary &pmUbf) const
 

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< motionSolverNew (const word &name, const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 
- Protected Member Functions inherited from fvMotionSolver
template<class Type >
wordList cellMotionBoundaryTypes (const typename GeometricField< Type, pointPatchField, pointMesh >::Boundary &pmUbf) const
 Create the corresponding patch types for cellMotion from those. More...
 
- Protected Attributes inherited from displacementMotionSolver
pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from points0MotionSolver
pointVectorField points0_
 Starting points. More...
 
- Protected Attributes inherited from fvMotionSolver
const fvMeshfvMesh_
 The fvMesh to be moved. More...
 

Detailed Description

Mesh motion solver for an fvMesh. Based on solving the cell-centre solid-body rotation stress equations for the motion displacement.

Source files

Definition at line 53 of file displacementSBRStressFvMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementSBRStressFvMotionSolver() [1/2]

displacementSBRStressFvMotionSolver ( const word name,
const polyMesh mesh,
const dictionary dict 
)

Construct from polyMesh and dictionary.

Definition at line 55 of file displacementSBRStressFvMotionSolver.C.

References displacementSBRStressFvMotionSolver::~displacementSBRStressFvMotionSolver().

Here is the call graph for this function:

◆ displacementSBRStressFvMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~displacementSBRStressFvMotionSolver()

Destructor.

Definition at line 92 of file displacementSBRStressFvMotionSolver.C.

Referenced by displacementSBRStressFvMotionSolver::displacementSBRStressFvMotionSolver().

Here is the caller graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "displacementSBRStress"  )

Runtime type information.

◆ cellDisplacement() [1/2]

volVectorField& cellDisplacement ( )
inline

Return reference to the cell motion displacement field.

Definition at line 97 of file displacementSBRStressFvMotionSolver.H.

◆ cellDisplacement() [2/2]

const volVectorField& cellDisplacement ( ) const
inline

Return const reference to the cell motion displacement field.

Definition at line 103 of file displacementSBRStressFvMotionSolver.H.

◆ diffusivity()

◆ curPoints()

Foam::tmp< Foam::pointField > curPoints ( ) const
virtual

Return point location obtained from the current motion field.

Implements motionSolver.

Definition at line 99 of file displacementSBRStressFvMotionSolver.C.

References volPointInterpolation::interpolate(), MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >::New(), and tmp< T >::ref().

Referenced by displacementSBRStressFvMotionSolver::diffusivity().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ solve()

void solve ( )
virtual

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update corresponding to the given map.

Reimplemented from points0MotionSolver.

Definition at line 183 of file displacementSBRStressFvMotionSolver.C.

References lookup(), displacementSBRStressFvMotionSolver::mapMesh(), motionDiffusivity::New(), and points0MotionSolver::topoChange().

Referenced by displacementSBRStressFvMotionSolver::diffusivity(), and displacementSBRStressFvMotionSolver::solve().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Reimplemented from displacementMotionSolver.

Definition at line 201 of file displacementSBRStressFvMotionSolver.C.

References lookup(), displacementMotionSolver::mapMesh(), and motionDiffusivity::New().

Referenced by displacementSBRStressFvMotionSolver::diffusivity(), and displacementSBRStressFvMotionSolver::topoChange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const displacementSBRStressFvMotionSolver )
delete

Disallow default bitwise assignment.

Referenced by displacementSBRStressFvMotionSolver::diffusivity().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: