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

Converts NURBS volume control points update to actual mesh movement. Internal points are also moved based on the movement of the control points. More...

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

Public Member Functions

 TypeName ("volumetricBSplines")
 
 optMeshMovementVolumetricBSplines (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs)
 
virtual ~optMeshMovementVolumetricBSplines ()=default
 
void moveMesh ()
 
virtual void storeDesignVariables ()
 
virtual void resetDesignVariables ()
 
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 ()
 
bool maxAllowedDisplacementSet () const
 

Protected Member Functions

vectorField controlPointMovement (const scalarField &correction)
 
- Protected Member Functions inherited from optMeshMovement
scalar getMaxAllowedDisplacement () const
 

Protected Attributes

volBSplinesBasevolBSplinesBase_
 
List< vectorFieldcpsInit_
 
- 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 also moved based on the movement of the control points.

Source files

Definition at line 50 of file optMeshMovementVolumetricBSplines.H.

Constructor & Destructor Documentation

◆ optMeshMovementVolumetricBSplines()

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

Definition at line 66 of file optMeshMovementVolumetricBSplines.C.

References forAll.

◆ ~optMeshMovementVolumetricBSplines()

virtual ~optMeshMovementVolumetricBSplines ( )
virtualdefault

Member Function Documentation

◆ controlPointMovement()

Foam::vectorField controlPointMovement ( const scalarField correction)
protected

Definition at line 44 of file optMeshMovementVolumetricBSplines.C.

References Foam::correction(), and Foam::Zero.

Referenced by optMeshMovementVolumetricBSplines::moveMesh().

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

◆ TypeName()

TypeName ( "volumetricBSplines"  )

◆ moveMesh()

void moveMesh ( )
virtual

◆ storeDesignVariables()

void storeDesignVariables ( )
virtual

Reimplemented from optMeshMovement.

Definition at line 107 of file optMeshMovementVolumetricBSplines.C.

References forAll, and optMeshMovement::storeDesignVariables().

Here is the call graph for this function:

◆ resetDesignVariables()

void resetDesignVariables ( )
virtual

Reimplemented from optMeshMovement.

Definition at line 118 of file optMeshMovementVolumetricBSplines.C.

References DebugInfo, Foam::endl(), forAll, and optMeshMovement::resetDesignVariables().

Here is the call graph for this function:

◆ computeEta()

Foam::scalar computeEta ( const scalarField correction)
virtual

Implements optMeshMovement.

Definition at line 136 of file optMeshMovementVolumetricBSplines.C.

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

Here is the call graph for this function:

◆ getActiveDesignVariables()

Foam::labelList getActiveDesignVariables ( ) const
virtual

Reimplemented from optMeshMovement.

Definition at line 160 of file optMeshMovementVolumetricBSplines.C.

Member Data Documentation

◆ volBSplinesBase_

volBSplinesBase& volBSplinesBase_
protected

Definition at line 59 of file optMeshMovementVolumetricBSplines.H.

◆ cpsInit_

List<vectorField> cpsInit_
protected

Definition at line 62 of file optMeshMovementVolumetricBSplines.H.


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