Converts NURBS control points update to actual mesh movement. More...
Public Member Functions | |
TypeName ("Bezier") | |
Runtime type information. More... | |
optMeshMovementBezier (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs) | |
Construct from components. More... | |
virtual | ~optMeshMovementBezier ()=default |
Destructor. More... | |
void | moveMesh () |
Calculates surface mesh movement. More... | |
virtual scalar | computeEta (const scalarField &correction) |
Compute eta value based on max displacement. More... | |
virtual labelList | getActiveDesignVariables () const |
Return active design variables. More... | |
Public Member Functions inherited from optMeshMovement | |
TypeName ("optMeshMovement") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, optMeshMovement, dictionary,(fvMesh &mesh, const dictionary &dict, const labelList &patchIDs),(mesh, dict, patchIDs)) | |
optMeshMovement (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs) | |
Construct from components. More... | |
virtual | ~optMeshMovement ()=default |
Destructor. More... | |
void | setCorrection (const scalarField &correction) |
Set design variable correction. More... | |
autoPtr< displacementMethod > & | returnDisplacementMethod () |
Return displacementMethod. More... | |
const labelList & | getPatchIDs () |
Return patchIDs. More... | |
void | writeMeshQualityMetrics () |
Write mesh quality metrics. More... | |
virtual void | storeDesignVariables () |
Store design variables and mesh, to act as the starting point of line search. More... | |
virtual void | resetDesignVariables () |
Reset to starting point of line search. More... | |
bool | maxAllowedDisplacementSet () const |
Whether maxAllowedDisplacement has been set. More... | |
Protected Member Functions | |
void | computeBoundaryMovement (const scalarField &correction) |
Protected Member Functions inherited from optMeshMovement | |
scalar | getMaxAllowedDisplacement () const |
Get maxAllowedDisplacement, is set. More... | |
Protected Attributes | |
Bezier | Bezier_ |
Parameterization based on NURBS curves. More... | |
pointVectorField | dx_ |
Boundary movement due to change of NURBS control points. More... | |
vectorField | cumulativeChange_ |
Cumulative change of control points. More... | |
Protected Attributes inherited from optMeshMovement | |
fvMesh & | mesh_ |
const dictionary & | dict_ |
scalarField | correction_ |
Correction of design variables. More... | |
labelList | patchIDs_ |
IDs of patches to be moved. More... | |
vectorField | pointsInit_ |
Fall back points in case line-search is used. More... | |
autoPtr< displacementMethod > | displMethodPtr_ |
Mesh movement engine and interface for applying mesh movement boundary conditions. More... | |
bool | writeMeshQualityMetrics_ |
Whether to write the mesh quality metrics to files each time the mesh is updated. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from optMeshMovement | |
static autoPtr< optMeshMovement > | New (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs) |
Converts NURBS control points update to actual mesh movement.
Definition at line 50 of file optMeshMovementBezier.H.
optMeshMovementBezier | ( | fvMesh & | mesh, |
const dictionary & | dict, | ||
const labelList & | patchIDs | ||
) |
Construct from components.
Definition at line 87 of file optMeshMovementBezier.C.
|
virtualdefault |
Destructor.
|
protected |
Definition at line 43 of file optMeshMovementBezier.C.
References Foam::correction(), Foam::endl(), Foam::Info, and Foam::Zero.
Referenced by optMeshMovementBezier::moveMesh().
TypeName | ( | "Bezier" | ) |
Runtime type information.
|
virtual |
Calculates surface mesh movement.
Reimplemented from optMeshMovement.
Definition at line 115 of file optMeshMovementBezier.C.
References optMeshMovementBezier::computeBoundaryMovement(), optMeshMovement::correction_, optMeshMovement::displMethodPtr_, optMeshMovementBezier::dx_, and optMeshMovement::moveMesh().
|
virtual |
Compute eta value based on max displacement.
Implements optMeshMovement.
Definition at line 129 of file optMeshMovementBezier.C.
References Foam::correction(), Foam::endl(), Foam::gMax(), Foam::Info, and Foam::mag().
|
virtual |
Return active design variables.
Reimplemented from optMeshMovement.
Definition at line 147 of file optMeshMovementBezier.C.
|
protected |
Parameterization based on NURBS curves.
Definition at line 61 of file optMeshMovementBezier.H.
|
protected |
Boundary movement due to change of NURBS control points.
Definition at line 66 of file optMeshMovementBezier.H.
Referenced by optMeshMovementBezier::moveMesh().
|
protected |
Cumulative change of control points.
Definition at line 71 of file optMeshMovementBezier.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.