Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
optMeshMovementVolumetricBSplinesExternalMotionSolver Class Reference

Converts NURBS volume control points update to actual mesh movement. Internal points are moved based on a motionSolver other than volumetricBSplinesExternalMotionSolver. More...

Inheritance diagram for optMeshMovementVolumetricBSplinesExternalMotionSolver:
Inheritance graph
[legend]
Collaboration diagram for optMeshMovementVolumetricBSplinesExternalMotionSolver:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("volumetricBSplinesExternalMotionSolver")
 
 optMeshMovementVolumetricBSplinesExternalMotionSolver (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs)
 
virtual ~optMeshMovementVolumetricBSplinesExternalMotionSolver ()=default
 
void moveMesh ()
 
virtual scalar computeEta (const scalarField &correction)
 
virtual labelList getActiveDesignVariables () const
 
- Public Member Functions inherited from optMeshMovement
 TypeName ("optMeshMovement")
 
 declareRunTimeSelectionTable (autoPtr, optMeshMovement, dictionary,(fvMesh &mesh, const dictionary &dict, const labelList &patchIDs),(mesh, dict, patchIDs))
 
 optMeshMovement (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs)
 
virtual ~optMeshMovement ()=default
 
void setCorrection (const scalarField &correction)
 
autoPtr< displacementMethod > & returnDisplacementMethod ()
 
const labelListgetPatchIDs ()
 
void writeMeshQualityMetrics ()
 
virtual void storeDesignVariables ()
 
virtual void resetDesignVariables ()
 
bool maxAllowedDisplacementSet () const
 

Protected Member Functions

void computeBoundaryMovement (const scalarField &correction)
 
- Protected Member Functions inherited from optMeshMovement
scalar getMaxAllowedDisplacement () const
 

Protected Attributes

volBSplinesBasevolBSplinesBase_
 
pointVectorField dx_
 
vectorField cpMovement_
 
- Protected Attributes inherited from optMeshMovement
fvMeshmesh_
 
const dictionarydict_
 
scalarField correction_
 
labelList patchIDs_
 
vectorField pointsInit_
 
autoPtr< displacementMethoddisplMethodPtr_
 
bool writeMeshQualityMetrics_
 

Additional Inherited Members

- Static Public Member Functions inherited from optMeshMovement
static autoPtr< optMeshMovementNew (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs)
 

Detailed Description

Converts NURBS volume control points update to actual mesh movement. Internal points are moved based on a motionSolver other than volumetricBSplinesExternalMotionSolver.

Source files

Definition at line 51 of file optMeshMovementVolumetricBSplinesExternalMotionSolver.H.

Constructor & Destructor Documentation

◆ optMeshMovementVolumetricBSplinesExternalMotionSolver()

optMeshMovementVolumetricBSplinesExternalMotionSolver ( fvMesh mesh,
const dictionary dict,
const labelList patchIDs 
)

◆ ~optMeshMovementVolumetricBSplinesExternalMotionSolver()

Member Function Documentation

◆ computeBoundaryMovement()

void computeBoundaryMovement ( const scalarField correction)
protected

Definition at line 49 of file optMeshMovementVolumetricBSplinesExternalMotionSolver.C.

References Foam::correction(), and forAll.

Referenced by optMeshMovementVolumetricBSplinesExternalMotionSolver::moveMesh().

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

◆ TypeName()

TypeName ( "volumetricBSplinesExternalMotionSolver"  )

◆ moveMesh()

void moveMesh ( )
virtual

◆ computeEta()

Foam::scalar computeEta ( const scalarField correction)
virtual

Implements optMeshMovement.

Definition at line 156 of file optMeshMovementVolumetricBSplinesExternalMotionSolver.C.

References Foam::correction(), Foam::endl(), Foam::gMax(), Foam::Info, and Foam::mag().

Here is the call graph for this function:

◆ getActiveDesignVariables()

Foam::labelList getActiveDesignVariables ( ) const
virtual

Reimplemented from optMeshMovement.

Definition at line 176 of file optMeshMovementVolumetricBSplinesExternalMotionSolver.C.

Member Data Documentation

◆ volBSplinesBase_

volBSplinesBase& volBSplinesBase_
protected

◆ dx_

pointVectorField dx_
protected

◆ cpMovement_

vectorField cpMovement_
protected

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