Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacement. More...
Public Member Functions | |
TypeName ("displacementLaplacian") | |
Runtime type information. More... | |
displacementLaplacianFvMotionSolver (const polyMesh &, const dictionary &) | |
Construct from polyMesh and dictionary. More... | |
displacementLaplacianFvMotionSolver (const displacementLaplacianFvMotionSolver &) | |
Disallow default bitwise copy construction. More... | |
~displacementLaplacianFvMotionSolver () | |
Destructor. More... | |
volVectorField & | cellDisplacement () |
Return reference to the cell motion displacement field. More... | |
const volVectorField & | cellDisplacement () const |
Return const reference to the cell motion displacement field. More... | |
motionDiffusivity & | diffusivity () |
Return reference to the diffusivity field. 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 displacementLaplacianFvMotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from displacementMotionSolver | |
TypeName ("displacementMotionSolver") | |
Runtime type information. More... | |
displacementMotionSolver (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... | |
pointVectorField & | pointDisplacement () |
Return reference to the point motion displacement field. More... | |
const pointVectorField & | pointDisplacement () 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 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... | |
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... | |
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 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 displacementMotionSolver | |
pointVectorField | pointDisplacement_ |
Point motion field. More... | |
Protected Attributes inherited from points0MotionSolver | |
pointIOField | points0_ |
Starting points. 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 motion displacement.
Definition at line 53 of file displacementLaplacianFvMotionSolver.H.
displacementLaplacianFvMotionSolver | ( | const polyMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from polyMesh and dictionary.
Definition at line 53 of file displacementLaplacianFvMotionSolver.C.
References IOobject::AUTO_WRITE, Foam::endl(), Foam::Info, IOobject::MUST_READ, MeshObject< polyMesh, PatchMeshObject, pointMesh >::New(), Foam::nl, and displacementLaplacianFvMotionSolver::~displacementLaplacianFvMotionSolver().
Disallow default bitwise copy construction.
Destructor.
Definition at line 136 of file displacementLaplacianFvMotionSolver.C.
Referenced by displacementLaplacianFvMotionSolver::displacementLaplacianFvMotionSolver().
TypeName | ( | "displacementLaplacian" | ) |
Runtime type information.
|
inline |
Return reference to the cell motion displacement field.
Definition at line 104 of file displacementLaplacianFvMotionSolver.H.
|
inline |
Return const reference to the cell motion displacement field.
Definition at line 110 of file displacementLaplacianFvMotionSolver.H.
References displacementLaplacianFvMotionSolver::curPoints(), displacementLaplacianFvMotionSolver::diffusivity(), displacementLaplacianFvMotionSolver::operator=(), displacementLaplacianFvMotionSolver::solve(), and displacementLaplacianFvMotionSolver::updateMesh().
Foam::motionDiffusivity & diffusivity | ( | ) |
Return reference to the diffusivity field.
Definition at line 143 of file displacementLaplacianFvMotionSolver.C.
References lookup(), and motionDiffusivity::New().
Referenced by displacementLaplacianFvMotionSolver::cellDisplacement().
|
virtual |
Return point location obtained from the current motion field.
Implements motionSolver.
Definition at line 158 of file displacementLaplacianFvMotionSolver.C.
References Foam::endl(), forAll, Foam::Info, volPointInterpolation::interpolate(), MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >::New(), and primitiveFieldRef().
Referenced by displacementLaplacianFvMotionSolver::cellDisplacement().
|
virtual |
Solve for motion.
Implements motionSolver.
Definition at line 223 of file displacementLaplacianFvMotionSolver.C.
References Foam::fvm::laplacian(), Foam::solve(), and displacementLaplacianFvMotionSolver::updateMesh().
Referenced by displacementLaplacianFvMotionSolver::cellDisplacement().
|
virtual |
Update topology.
Reimplemented from points0MotionSolver.
Definition at line 245 of file displacementLaplacianFvMotionSolver.C.
References points0MotionSolver::updateMesh().
Referenced by displacementLaplacianFvMotionSolver::cellDisplacement(), and displacementLaplacianFvMotionSolver::solve().
|
delete |
Disallow default bitwise assignment.
Referenced by displacementLaplacianFvMotionSolver::cellDisplacement().