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

Converts NURBS control points update to actual mesh movement. More...

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

Public Member Functions

 TypeName ("Bezier")
 
 optMeshMovementBezier (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs)
 
virtual ~optMeshMovementBezier ()=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

Bezier Bezier_
 
pointVectorField dx_
 
vectorField cumulativeChange_
 
- 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 control points update to actual mesh movement.

Source files

Definition at line 50 of file optMeshMovementBezier.H.

Constructor & Destructor Documentation

◆ optMeshMovementBezier()

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

Definition at line 87 of file optMeshMovementBezier.C.

◆ ~optMeshMovementBezier()

virtual ~optMeshMovementBezier ( )
virtualdefault

Member Function Documentation

◆ computeBoundaryMovement()

void computeBoundaryMovement ( const scalarField correction)
protected

Definition at line 43 of file optMeshMovementBezier.C.

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

Referenced by optMeshMovementBezier::moveMesh().

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

◆ TypeName()

TypeName ( "Bezier"  )

◆ moveMesh()

void moveMesh ( )
virtual

◆ computeEta()

Foam::scalar computeEta ( const scalarField correction)
virtual

Implements optMeshMovement.

Definition at line 129 of file optMeshMovementBezier.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 147 of file optMeshMovementBezier.C.

Member Data Documentation

◆ Bezier_

Bezier Bezier_
protected

Definition at line 59 of file optMeshMovementBezier.H.

◆ dx_

pointVectorField dx_
protected

Definition at line 62 of file optMeshMovementBezier.H.

Referenced by optMeshMovementBezier::moveMesh().

◆ cumulativeChange_

vectorField cumulativeChange_
protected

Definition at line 65 of file optMeshMovementBezier.H.


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