optMeshMovementNULL Class Reference

A dummy optMeshMovement object. More...

Inheritance diagram for optMeshMovementNULL:
[legend]
Collaboration diagram for optMeshMovementNULL:
[legend]

Public Member Functions

 TypeName ("none")
 Runtime type information. More...
 
 optMeshMovementNULL (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs)
 Construct from components. More...
 
virtual ~optMeshMovementNULL ()=default
 Destructor. More...
 
void moveMesh ()
 Calculates surface mesh movement. More...
 
virtual scalar computeEta (const scalarField &correction)
 Compute eta value based on max displacement. 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 labelListgetPatchIDs ()
 Return patchIDs. More...
 
void writeMeshQualityMetrics ()
 Write mesh quality metrics. More...
 
virtual void storeDesignVariables ()
 
virtual void resetDesignVariables ()
 Reset to starting point of line search. More...
 
bool maxAllowedDisplacementSet () const
 Whether maxAllowedDisplacement has been set. More...
 
virtual labelList getActiveDesignVariables () const
 Return active design variables. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from optMeshMovement
static autoPtr< optMeshMovementNew (fvMesh &mesh, const dictionary &dict, const labelList &patchIDs)
 
- Protected Member Functions inherited from optMeshMovement
scalar getMaxAllowedDisplacement () const
 Get maxAllowedDisplacement, is set. More...
 
- Protected Attributes inherited from optMeshMovement
fvMeshmesh_
 
const dictionarydict_
 
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< displacementMethoddisplMethodPtr_
 
bool writeMeshQualityMetrics_
 

Detailed Description

A dummy optMeshMovement object.

Source files

Definition at line 52 of file optMeshMovementNULL.H.

Constructor & Destructor Documentation

◆ optMeshMovementNULL()

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

Construct from components.

Definition at line 50 of file optMeshMovementNULL.C.

◆ ~optMeshMovementNULL()

virtual ~optMeshMovementNULL ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "none"  )

Runtime type information.

◆ moveMesh()

void moveMesh ( )
virtual

Calculates surface mesh movement.

Reimplemented from optMeshMovement.

Definition at line 62 of file optMeshMovementNULL.C.

◆ computeEta()

Foam::scalar computeEta ( const scalarField correction)
virtual

Compute eta value based on max displacement.

Implements optMeshMovement.

Definition at line 69 of file optMeshMovementNULL.C.


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