Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion displacement. More...
Public Member Functions | |
TypeName ("displacementComponentLaplacian") | |
Runtime type information. More... | |
displacementComponentLaplacianFvMotionSolver (const polyMesh &, const dictionary &) | |
Construct from polyMesh and dictionary. More... | |
displacementComponentLaplacianFvMotionSolver (const displacementComponentLaplacianFvMotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
~displacementComponentLaplacianFvMotionSolver () | |
Destructor. More... | |
volScalarField & | cellDisplacement () |
Non-const access to the cellDisplacement in order to allow. More... | |
virtual tmp< pointField > | curPoints () const |
Return point location obtained from the current motion field. More... | |
virtual void | solve () |
Solve for motion. More... | |
virtual void | updateMesh (const mapPolyMesh &) |
Update topology. More... | |
void | operator= (const displacementComponentLaplacianFvMotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from componentDisplacementMotionSolver | |
TypeName ("componentDisplacementMotionSolver") | |
Runtime type information. More... | |
componentDisplacementMotionSolver (const polyMesh &, const dictionary &, const word &type) | |
Construct from polyMesh and dictionary and type. More... | |
componentDisplacementMotionSolver (const componentDisplacementMotionSolver &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~componentDisplacementMotionSolver () |
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... | |
void | operator= (const componentDisplacementMotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from motionSolver | |
TypeName ("motionSolver") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict)) | |
motionSolver (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 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 |
virtual bool | write () const |
Optionally write motion state information for restart. More... | |
Public Member Functions inherited from fvMotionSolver | |
ClassName ("displacementMotionSolver") | |
Runtime type information. More... | |
fvMotionSolver (const polyMesh &) | |
Construct from polyMesh. More... | |
const fvMesh & | mesh () 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 motionSolver | |
static autoPtr< motionSolver > | New (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 componentDisplacementMotionSolver | |
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... | |
Protected Attributes inherited from fvMotionSolver | |
const fvMesh & | fvMesh_ |
The fvMesh to be moved. More... | |
Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion displacement.
Definition at line 53 of file displacementComponentLaplacianFvMotionSolver.H.
displacementComponentLaplacianFvMotionSolver | ( | const polyMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from polyMesh and dictionary.
Definition at line 52 of file displacementComponentLaplacianFvMotionSolver.C.
References IOobject::AUTO_WRITE, Foam::endl(), Foam::Info, IOobject::MUST_READ, MeshObject< polyMesh, PatchMeshObject, pointMesh >::New(), Foam::nl, and displacementComponentLaplacianFvMotionSolver::~displacementComponentLaplacianFvMotionSolver().
|
delete |
Disallow default bitwise copy construction.
Destructor.
Definition at line 129 of file displacementComponentLaplacianFvMotionSolver.C.
Referenced by displacementComponentLaplacianFvMotionSolver::displacementComponentLaplacianFvMotionSolver().
TypeName | ( | "displacementComponentLaplacian" | ) |
Runtime type information.
|
inline |
Non-const access to the cellDisplacement in order to allow.
changes to the boundary motion
Definition at line 111 of file displacementComponentLaplacianFvMotionSolver.H.
|
virtual |
Return point location obtained from the current motion field.
Implements motionSolver.
Definition at line 136 of file displacementComponentLaplacianFvMotionSolver.C.
References Foam::endl(), forAll, Foam::Info, volPointInterpolation::interpolate(), MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >::New(), primitiveFieldRef(), tmp< T >::ref(), and Field< Type >::replace().
|
virtual |
Solve for motion.
Implements motionSolver.
Definition at line 214 of file displacementComponentLaplacianFvMotionSolver.C.
References Foam::fvm::laplacian(), Foam::solve(), and displacementComponentLaplacianFvMotionSolver::updateMesh().
|
virtual |
Update topology.
Reimplemented from componentDisplacementMotionSolver.
Definition at line 236 of file displacementComponentLaplacianFvMotionSolver.C.
References lookup(), motionDiffusivity::New(), and componentDisplacementMotionSolver::updateMesh().
Referenced by displacementComponentLaplacianFvMotionSolver::solve().
|
delete |
Disallow default bitwise assignment.