Quality-based under-relaxation wrapped around generic displacementMotionSolver. More...
Public Member Functions | |
TypeName ("displacementMotionSolver") | |
Runtime type information. More... | |
displacementMotionSolverMeshMover (const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun) | |
Construct from a polyMesh and an IOdictionary. More... | |
virtual | ~displacementMotionSolverMeshMover () |
Destructor. More... | |
virtual bool | move (const dictionary &, const label nAllowableErrors, labelList &checkFaces) |
Move mesh using current pointDisplacement boundary values. More... | |
virtual void | movePoints (const pointField &) |
Update local data for geometry changes. More... | |
virtual void | updateMesh (const mapPolyMesh &) |
Update local data for topology changes. More... | |
![]() | |
TypeName ("externalDisplacementMeshMover") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, externalDisplacementMeshMover, dictionary,(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun),(dict, baffles, pointDisplacement, dryRun)) | |
externalDisplacementMeshMover (const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun) | |
Construct from dictionary and displacement field. Dictionary is. More... | |
virtual | ~externalDisplacementMeshMover () |
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... | |
const pointMesh & | pMesh () const |
const polyMesh & | mesh () const |
Additional Inherited Members | |
![]() | |
static autoPtr< externalDisplacementMeshMover > | New (const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun=false) |
Return a reference to the selected meshMover model. More... | |
![]() | |
static labelList | getFixedValueBCs (const pointVectorField &) |
Extract fixed-value patchfields. More... | |
static autoPtr< indirectPrimitivePatch > | getPatch (const polyMesh &, const labelList &) |
Construct patch on selected patches. More... | |
![]() | |
List< labelPair > | baffles_ |
Baffles in the mesh. More... | |
pointVectorField & | pointDisplacement_ |
Reference to point motion field. More... | |
const bool | dryRun_ |
In dry-run mode? More... | |
Quality-based under-relaxation wrapped around generic displacementMotionSolver.
Example of use in layer settings in snappyHexMeshDict:
meshShrinker displacementMotionSolver; solver displacementLaplacian; displacementLaplacianCoeffs { diffusivity quadratic inverseDistance 1(wall); }
Definition at line 65 of file displacementMotionSolverMeshMover.H.
displacementMotionSolverMeshMover | ( | const dictionary & | dict, |
const List< labelPair > & | baffles, | ||
pointVectorField & | pointDisplacement, | ||
const bool | dryRun | ||
) |
Construct from a polyMesh and an IOdictionary.
Definition at line 112 of file displacementMotionSolverMeshMover.C.
|
virtual |
Destructor.
Definition at line 195 of file displacementMotionSolverMeshMover.C.
TypeName | ( | "displacementMotionSolver" | ) |
Runtime type information.
|
virtual |
Move mesh using current pointDisplacement boundary values.
Return true if successful (errors on checkFaces less than allowable). Updates pointDisplacement.
Implements externalDisplacementMeshMover.
Definition at line 202 of file displacementMotionSolverMeshMover.C.
References forAll, meshRefinement::getMasterEdges(), meshRefinement::getMasterPoints(), objectRegistry::lookupObject(), Foam::mag(), mesh, nPoints, word::null, keyType::REGEX, and Foam::Zero.
|
virtual |
Update local data for geometry changes.
Reimplemented from externalDisplacementMeshMover.
Definition at line 306 of file displacementMotionSolverMeshMover.C.
References externalDisplacementMeshMover::movePoints(), and p.
|
inlinevirtual |
Update local data for topology changes.
Reimplemented from externalDisplacementMeshMover.
Definition at line 142 of file displacementMotionSolverMeshMover.H.
References NotImplemented.