![]() |
Documentation 6b54b78464
|
Class for moving the volumetric numerical grid. More...
#include <CVolumetricMovement.hpp>
Public Member Functions | |
| CVolumetricMovement () | |
| Constructor of the class. | |
| CVolumetricMovement (CGeometry *geometry) | |
| Constructor of the Class. | |
| ~CVolumetricMovement () override | |
| Destructor of the class. | |
| void | UpdateDualGrid (CGeometry *geometry, CConfig *config) |
| Update the dual grid after the grid movement (edges and control volumes). | |
| void | UpdateMultiGrid (CGeometry **geometry, CConfig *config) |
| Update the coarse multigrid levels after the grid movement. | |
| su2double | GetHexa_Volume (su2double CoordCorners[8][3]) const |
| Compute the shape functions for hexahedron. | |
| su2double | GetTetra_Volume (su2double CoordCorners[8][3]) const |
| Compute the shape functions for hexahedron. | |
| su2double | GetPrism_Volume (su2double CoordCorners[8][3]) const |
| Compute the shape functions for hexahedron. | |
| su2double | GetPyram_Volume (su2double CoordCorners[8][3]) const |
| Compute the shape functions for hexahedron. | |
| su2double | GetTriangle_Area (su2double CoordCorners[8][3]) const |
| Compute the shape functions for hexahedron. | |
| su2double | GetQuadrilateral_Area (su2double CoordCorners[8][3]) const |
| Compute the shape functions for hexahedron. | |
| void | ComputeDeforming_Element_Volume (CGeometry *geometry, su2double &MinVolume, su2double &MaxVolume, bool Screen_Output) |
| Check for negative volumes (all elements) after performing grid deformation. | |
| void | ComputenNonconvexElements (CGeometry *geometry, bool Screen_Output) |
| Compute amount of nonconvex elements. | |
| void | Rigid_Rotation (CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter) |
| Unsteady grid movement using rigid mesh rotation. | |
| void | Rigid_Pitching (CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter) |
| Unsteady pitching grid movement using rigid mesh motion. | |
| void | Rigid_Plunging (CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter) |
| Unsteady plunging grid movement using rigid mesh motion. | |
| void | Rigid_Translation (CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter) |
| Unsteady translational grid movement using rigid mesh motion. | |
| void | SetVolume_Scaling (CGeometry *geometry, CConfig *config, bool UpdateGeo) |
| Scale the volume grid by a multiplicative factor. | |
| void | SetVolume_Translation (CGeometry *geometry, CConfig *config, bool UpdateGeo) |
| Translate the volume grid by a specified displacement vector. | |
| void | SetVolume_Rotation (CGeometry *geometry, CConfig *config, bool UpdateGeo) |
| Rotate the volume grid around a specified axis and angle. | |
| virtual void | SetVolume_Deformation (CGeometry *geometry, CConfig *config, bool UpdateGeo, bool Derivative=false, bool ForwardProjectionDerivative=false) |
| Grid deformation using the spring analogy method. | |
| virtual void | SetVolume_Deformation_Elas (CGeometry *geometry, CConfig *config, bool UpdateGeo, bool screen_output, bool Derivative=false) |
| Grid deformation using the spring analogy method. | |
| virtual void | Boundary_Dependencies (CGeometry **geometry, CConfig *config) |
| Set the boundary dependencies in the mesh side of the problem. | |
| bool | IsDeformationMarker (const CConfig *config, unsigned short iMarker) |
| Returns true if a marker should be deformed. | |
Public Member Functions inherited from CGridMovement | |
| CGridMovement (void) | |
| Constructor of the class. | |
| virtual | ~CGridMovement (void) |
| Destructor of the class. | |
| virtual vector< vector< su2double > > | SetSurface_Deformation (CGeometry *geometry, CConfig *config) |
| Set the surface/boundary deformation. | |
Protected Attributes | |
| unsigned short | nDim |
| Number of dimensions. | |
Protected Attributes inherited from CGridMovement | |
| int | rank |
| MPI Rank. | |
| int | size |
| MPI Size. | |
Class for moving the volumetric numerical grid.
| CVolumetricMovement::CVolumetricMovement | ( | ) |
Constructor of the class.
| CVolumetricMovement::CVolumetricMovement | ( | CGeometry * | geometry | ) |
Constructor of the Class.
|
overridedefault |
Destructor of the class.
|
inlinevirtual |
Set the boundary dependencies in the mesh side of the problem.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| void CVolumetricMovement::ComputeDeforming_Element_Volume | ( | CGeometry * | geometry, |
| su2double & | MinVolume, | ||
| su2double & | MaxVolume, | ||
| bool | Screen_Output | ||
| ) |
Check for negative volumes (all elements) after performing grid deformation.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | Screen_Output | - determines if text is written to screen |
| void CVolumetricMovement::ComputenNonconvexElements | ( | CGeometry * | geometry, |
| bool | Screen_Output | ||
| ) |
Compute amount of nonconvex elements.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | Screen_Output | - determines if text is written to screen |
Compute the shape functions for hexahedron.
| [in] | CoordCorners | - coordinates of the cornes of the hexahedron. |
Compute the shape functions for hexahedron.
| [in] | CoordCorners | - coordinates of the cornes of the hexahedron. |
Compute the shape functions for hexahedron.
| [in] | CoordCorners | - coordinates of the cornes of the hexahedron. |
Compute the shape functions for hexahedron.
| [in] | CoordCorners | - coordinates of the cornes of the hexahedron. |
Compute the shape functions for hexahedron.
| [in] | CoordCorners | - coordinates of the cornes of the hexahedron. |
Compute the shape functions for hexahedron.
| [in] | CoordCorners | - coordinates of the cornes of the hexahedron. |
|
inline |
Returns true if a marker should be deformed.
| [in] | config | - Definition of the particular problem. |
| [in] | iMarker | - Index of marker in "marker all". |
| void CVolumetricMovement::Rigid_Pitching | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| unsigned short | iZone, | ||
| unsigned long | iter | ||
| ) |
Unsteady pitching grid movement using rigid mesh motion.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | iZone | - Zone number in the mesh. |
| [in] | iter | - Physical time iteration number. |
| void CVolumetricMovement::Rigid_Plunging | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| unsigned short | iZone, | ||
| unsigned long | iter | ||
| ) |
Unsteady plunging grid movement using rigid mesh motion.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | iZone | - Zone number in the mesh. |
| [in] | iter | - Physical time iteration number. |
| void CVolumetricMovement::Rigid_Rotation | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| unsigned short | iZone, | ||
| unsigned long | iter | ||
| ) |
Unsteady grid movement using rigid mesh rotation.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | iZone | - Zone number in the mesh. |
| [in] | iter | - Physical time iteration number. |
| void CVolumetricMovement::Rigid_Translation | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| unsigned short | iZone, | ||
| unsigned long | iter | ||
| ) |
Unsteady translational grid movement using rigid mesh motion.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | iZone | - Zone number in the mesh. |
| [in] | iter | - Physical time iteration number. |
|
inlinevirtual |
Grid deformation using the spring analogy method.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | UpdateGeo | - Update geometry. |
| [in] | Derivative | - Compute the derivative (disabled by default). Does not actually deform the grid if enabled. |
Reimplemented in CLinearElasticity, and CRadialBasisFunctionInterpolation.
|
inlinevirtual |
Grid deformation using the spring analogy method.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | UpdateGeo | - Update geometry. |
| [in] | Derivative | - Compute the derivative (disabled by default). Does not actually deform the grid if enabled. |
| void CVolumetricMovement::SetVolume_Rotation | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| bool | UpdateGeo | ||
| ) |
Rotate the volume grid around a specified axis and angle.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | UpdateGeo | - Update geometry. |
| void CVolumetricMovement::SetVolume_Scaling | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| bool | UpdateGeo | ||
| ) |
Scale the volume grid by a multiplicative factor.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | UpdateGeo | - Update geometry. |
| void CVolumetricMovement::SetVolume_Translation | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| bool | UpdateGeo | ||
| ) |
Translate the volume grid by a specified displacement vector.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | UpdateGeo | - Update geometry. |
Update the dual grid after the grid movement (edges and control volumes).
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
Update the coarse multigrid levels after the grid movement.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
|
protected |
Number of dimensions.