![]() |
Documentation 6b54b78464
|
Class for moving the surface numerical grid. More...
#include <CSurfaceMovement.hpp>
Public Member Functions | |
| CSurfaceMovement (void) | |
| Constructor of the class. | |
| ~CSurfaceMovement (void) override | |
| Destructor of the class. | |
| void | SetHicksHenne (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef) |
| Set a Hicks-Henne deformation bump functions on an airfoil. | |
| void | SetSurface_Bump (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef) |
| Set a Hicks-Henne deformation bump functions on an airfoil. | |
| void | SetAngleOfAttack (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef) |
| Set a Hicks-Henne deformation bump functions on an airfoil. | |
| void | SetCST (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef) |
| Set a deformation based on a change in the Kulfan parameters for an airfoil. | |
| void | SetHicksHenneCamber (CGeometry *boundary, CConfig *config) |
| Set a Hicks-Henne deformation bump function on the camberline of an airfoil. | |
| void | SetNACA_4Digits (CGeometry *boundary, CConfig *config) |
| Set a NACA 4 digits airfoil family for airfoil deformation. | |
| void | SetParabolic (CGeometry *boundary, CConfig *config) |
| Set a parabolic family for airfoil deformation. | |
| void | SetAirfoil (CGeometry *boundary, CConfig *config) |
| Set a obstacle in a channel. | |
| void | SetRotation (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef) |
| Set a rotation for surface movement. | |
| void | HTP_Rotation (CGeometry *geometry, CConfig *config, unsigned long iter, unsigned short iZone) |
| Computes the displacement of a rotating surface for a dynamic mesh simulation. | |
| void | AeroelasticDeform (CGeometry *geometry, CConfig *config, unsigned long TimeIter, unsigned short iMarker, unsigned short iMarker_Monitoring, vector< su2double > &displacements) |
| Unsteady aeroelastic grid movement by deforming the mesh. | |
| void | SetBoundary_Flutter3D (CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox, unsigned long iter, unsigned short iZone) |
| Deforms a 3-D flutter/pitching surface during an unsteady simulation. | |
| void | SetExternal_Deformation (CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter) |
| Set any surface deformationsbased on an input file. | |
| void | SetTranslation (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef) |
| Set a displacement for surface movement. | |
| void | SetScale (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef) |
| Set a displacement for surface movement. | |
| void | CopyBoundary (CGeometry *geometry, CConfig *config) |
| Copy the boundary coordinates to each vertex. | |
| vector< vector< su2double > > | SetSurface_Deformation (CGeometry *geometry, CConfig *config) override |
| Set the surface/boundary deformation. | |
| void | SetParametricCoord (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox) |
| Compute the parametric coordinates of a grid point using a point inversion strategy in the free form FFDBox. | |
| void | UpdateParametricCoord (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox) |
| Update the parametric coordinates of a grid point using a point inversion strategy in the free form FFDBox. | |
| void | CheckFFDIntersections (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox) |
| Check the intersections of the FFD with the surface. | |
| void | CheckFFDDimension (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox) |
| Check the intersections of the FFD with the surface. | |
| void | SetParametricCoordCP (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBoxParent, CFreeFormDefBox *FFDBoxChild) |
| Set the Parametric coordinates. | |
| void | GetCartesianCoordCP (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBoxParent, CFreeFormDefBox *FFDBoxChild) |
| Get the cartes. | |
| void | ApplyDesignVariables (CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox, unsigned short iFFDBox) |
| Apply the design variables to the control point position. | |
| su2double | SetCartesianCoord (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox, bool ResetDef) |
| Recompute the cartesian coordinates using the control points position. | |
| bool | SetFFDCPChange_2D (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set the deformation of the Free From box using the control point position. | |
| bool | SetFFDCPChange (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set the deformation of the Free From box using the control point position. | |
| bool | SetFFDGull (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set the deformation of the Free From box using the control point position. | |
| bool | SetFFDNacelle (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set the deformation of the Free From box using the control point position. | |
| bool | SetFFDCamber_2D (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set a camber deformation of the Free From box using the control point position. | |
| bool | SetFFDThickness_2D (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set a thickness deformation of the Free From box using the control point position. | |
| bool | SetFFDCamber (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set a camber deformation of the Free From box using the control point position. | |
| bool | SetFFDThickness (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set a thickness deformation of the Free From box using the control point position. | |
| void | SetFFDAngleOfAttack (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) |
| Set a thickness deformation of the Free From box using the control point position. | |
| bool | SetFFDTwist (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set a twist angle deformation of the Free From box using the control point position. | |
| bool | SetFFDRotation (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set a rotation angle deformation of the Free From box using the control point position. | |
| bool | SetFFDControl_Surface (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef) const |
| Set a rotation angle deformation in a control surface of the Free From box using the control point position. | |
| void | ReadFFDInfo (CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox, const string &val_mesh_filename) |
| Read the free form information from the grid input file. | |
| void | ReadFFDInfo (CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox) |
| Read the free form information from the grid input file. | |
| void | MergeFFDInfo (CGeometry *geometry, CConfig *config) |
| Merge the Free Form information in the SU2 file. | |
| void | WriteFFDInfo (CSurfaceMovement **surface_movement, CGeometry ****geometry, CConfig **config) |
| Write the Free Form information in the SU2 file. | |
| bool | GetFFDBoxDefinition (void) const |
| Get information about if there is a complete FFDBox definition, or it is necessary to compute the parametric coordinates. | |
| bool | CheckFFDBoxDefinition (CConfig *config, unsigned short iDV) |
| Check if the design variable definition matches the FFD box definition. | |
| unsigned short | GetnFFDBox (void) const |
| Obtain the number of FFDBoxes. | |
| unsigned short | GetnLevel (void) const |
| Obtain the number of levels. | |
| void | SetSurface_Derivative (CGeometry *geometry, CConfig *config) |
| Set derivatives of the surface/boundary deformation. | |
| unsigned long | calculateJacobianDeterminant (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox) const |
| Calculate the determinant of the Jacobian matrix for the FFD problem. | |
Public Member Functions inherited from CGridMovement | |
| CGridMovement (void) | |
| Constructor of the class. | |
| virtual | ~CGridMovement (void) |
| Destructor of the class. | |
Public Attributes | |
| vector< su2double > | GlobalCoordX [MAX_NUMBER_FFD] |
| vector< su2double > | GlobalCoordY [MAX_NUMBER_FFD] |
| vector< su2double > | GlobalCoordZ [MAX_NUMBER_FFD] |
| vector< string > | GlobalTag [MAX_NUMBER_FFD] |
| vector< unsigned long > | GlobalPoint [MAX_NUMBER_FFD] |
Protected Attributes | |
| CFreeFormDefBox ** | FFDBox |
| Definition of the Free Form Deformation Box. | |
| unsigned short | nFFDBox |
| Number of FFD FFDBoxes. | |
| unsigned short | nLevel |
| Level of the FFD FFDBoxes (parent/child). | |
| bool | FFDBoxDefinition |
| If the FFD FFDBox has been defined in the input file. | |
Protected Attributes inherited from CGridMovement | |
| int | rank |
| MPI Rank. | |
| int | size |
| MPI Size. | |
Class for moving the surface numerical grid.
| CSurfaceMovement::CSurfaceMovement | ( | void | ) |
Constructor of the class.
|
override |
Destructor of the class.
| void CSurfaceMovement::AeroelasticDeform | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| unsigned long | TimeIter, | ||
| unsigned short | iMarker, | ||
| unsigned short | iMarker_Monitoring, | ||
| vector< su2double > & | displacements | ||
| ) |
Unsteady aeroelastic grid movement by deforming the mesh.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | ExtIter | - Physical iteration number. |
| [in] | iMarker | - Marker to deform. |
| [in] | iMarker_Monitoring | - Marker we are monitoring. |
| [in] | displacements | - solution of typical section wing model. |
| void CSurfaceMovement::ApplyDesignVariables | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox ** | FFDBox, | ||
| unsigned short | iFFDBox | ||
| ) |
Apply the design variables to the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iFFDBox | - Index of FFD box. |
| unsigned long CSurfaceMovement::calculateJacobianDeterminant | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox | ||
| ) | const |
Calculate the determinant of the Jacobian matrix for the FFD problem.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Free form deformation box. |
|
inline |
Check if the design variable definition matches the FFD box definition.
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
TRUE if the FFD box name referenced with DV_PARAM can be found in the FFD box definition; otherwise FALSE. | void CSurfaceMovement::CheckFFDDimension | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| unsigned short | iFFDBox | ||
| ) |
Check the intersections of the FFD with the surface.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iFFDBox | - Index of FFD box. |
| void CSurfaceMovement::CheckFFDIntersections | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| unsigned short | iFFDBox | ||
| ) |
Check the intersections of the FFD with the surface.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iFFDBox | - Index of FFD box. |
Copy the boundary coordinates to each vertex.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| void CSurfaceMovement::GetCartesianCoordCP | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBoxParent, | ||
| CFreeFormDefBox * | FFDBoxChild | ||
| ) |
Get the cartes.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBoxParent | - Array with parent FFDBoxes of the computation. |
| [in] | FFDBoxChild | - Array with child FFDBoxes of the computation. |
|
inline |
Get information about if there is a complete FFDBox definition, or it is necessary to compute the parametric coordinates.
TRUE if the input grid file has a complete information; otherwise FALSE.
|
inline |
Obtain the number of FFDBoxes.
|
inline |
Obtain the number of levels.
| void CSurfaceMovement::HTP_Rotation | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| unsigned long | iter, | ||
| unsigned short | iZone | ||
| ) |
Computes the displacement of a rotating surface for a dynamic mesh simulation.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | iter | - Current physical time iteration. |
| [in] | iZone | - Zone number in the mesh. |
Merge the Free Form information in the SU2 file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_mesh_filename | - Name of the grid output file. |
| void CSurfaceMovement::ReadFFDInfo | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox ** | FFDBox | ||
| ) |
Read the free form information from the grid input file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| void CSurfaceMovement::ReadFFDInfo | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox ** | FFDBox, | ||
| const string & | val_mesh_filename | ||
| ) |
Read the free form information from the grid input file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | val_mesh_filename | - Name of the grid input file. |
Set a obstacle in a channel.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| void CSurfaceMovement::SetAngleOfAttack | ( | CGeometry * | boundary, |
| CConfig * | config, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a Hicks-Henne deformation bump functions on an airfoil.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| void CSurfaceMovement::SetBoundary_Flutter3D | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox ** | FFDBox, | ||
| unsigned long | iter, | ||
| unsigned short | iZone | ||
| ) |
Deforms a 3-D flutter/pitching surface during an unsteady simulation.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | iter | - Current physical time iteration. |
| [in] | iZone | - Zone number in the mesh. |
| su2double CSurfaceMovement::SetCartesianCoord | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| unsigned short | iFFDBox, | ||
| bool | ResetDef | ||
| ) |
Recompute the cartesian coordinates using the control points position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iFFDBox | - Index of FFD box. |
| void CSurfaceMovement::SetCST | ( | CGeometry * | boundary, |
| CConfig * | config, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a deformation based on a change in the Kulfan parameters for an airfoil.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| void CSurfaceMovement::SetExternal_Deformation | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| unsigned short | iZone, | ||
| unsigned long | iter | ||
| ) |
Set any surface deformationsbased on an input file.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | iZone | - Zone number in the mesh. |
| [in] | iter | - Current physical time iteration. |
| void CSurfaceMovement::SetFFDAngleOfAttack | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a thickness deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDCamber | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set a camber deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDCamber_2D | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set a camber deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDControl_Surface | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set a rotation angle deformation in a control surface of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDCPChange | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set the deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDCPChange_2D | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set the deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDGull | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set the deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDNacelle | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set the deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDRotation | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set a rotation angle deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDThickness | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set a thickness deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDThickness_2D | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set a thickness deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| bool CSurfaceMovement::SetFFDTwist | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| CFreeFormDefBox ** | ResetFFDBox, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) | const |
Set a twist angle deformation of the Free From box using the control point position.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| void CSurfaceMovement::SetHicksHenne | ( | CGeometry * | boundary, |
| CConfig * | config, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a Hicks-Henne deformation bump functions on an airfoil.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
Set a Hicks-Henne deformation bump function on the camberline of an airfoil.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
Set a NACA 4 digits airfoil family for airfoil deformation.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
Set a parabolic family for airfoil deformation.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| void CSurfaceMovement::SetParametricCoord | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| unsigned short | iFFDBox | ||
| ) |
Compute the parametric coordinates of a grid point using a point inversion strategy in the free form FFDBox.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| void CSurfaceMovement::SetParametricCoordCP | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBoxParent, | ||
| CFreeFormDefBox * | FFDBoxChild | ||
| ) |
Set the Parametric coordinates.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBoxParent | - Array with parent FFDBoxes of the computation. |
| [in] | FFDBoxChild | - Array with child FFDBoxes of the computation. |
| void CSurfaceMovement::SetRotation | ( | CGeometry * | boundary, |
| CConfig * | config, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a rotation for surface movement.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| void CSurfaceMovement::SetScale | ( | CGeometry * | boundary, |
| CConfig * | config, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a displacement for surface movement.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| void CSurfaceMovement::SetSurface_Bump | ( | CGeometry * | boundary, |
| CConfig * | config, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a Hicks-Henne deformation bump functions on an airfoil.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
|
overridevirtual |
Set the surface/boundary deformation.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
Reimplemented from CGridMovement.
Set derivatives of the surface/boundary deformation.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| void CSurfaceMovement::SetTranslation | ( | CGeometry * | boundary, |
| CConfig * | config, | ||
| unsigned short | iDV, | ||
| bool | ResetDef | ||
| ) |
Set a displacement for surface movement.
| [in] | boundary | - Geometry of the boundary. |
| [in] | config | - Definition of the particular problem. |
| [in] | iDV | - Index of the design variable. |
| [in] | ResetDef | - Reset the deformation before starting a new one. |
| void CSurfaceMovement::UpdateParametricCoord | ( | CGeometry * | geometry, |
| CConfig * | config, | ||
| CFreeFormDefBox * | FFDBox, | ||
| unsigned short | iFFDBox | ||
| ) |
Update the parametric coordinates of a grid point using a point inversion strategy in the free form FFDBox.
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | config | - Definition of the particular problem. |
| [in] | FFDBox | - Array with all the free forms FFDBoxes of the computation. |
| [in] | iFFDBox | - Index of FFD box. |
| void CSurfaceMovement::WriteFFDInfo | ( | CSurfaceMovement ** | surface_movement, |
| CGeometry **** | geometry, | ||
| CConfig ** | config | ||
| ) |
Write the Free Form information in the SU2 file.
| [in] | config | - Definition of the particular problem. |
| [in] | geometry | - Geometrical definition of the problem. |
| [in] | val_mesh_filename | - Name of the grid output file. |
|
protected |
Definition of the Free Form Deformation Box.
|
protected |
If the FFD FFDBox has been defined in the input file.
| vector<su2double> CSurfaceMovement::GlobalCoordX[MAX_NUMBER_FFD] |
| vector<su2double> CSurfaceMovement::GlobalCoordY[MAX_NUMBER_FFD] |
| vector<su2double> CSurfaceMovement::GlobalCoordZ[MAX_NUMBER_FFD] |
| vector<unsigned long> CSurfaceMovement::GlobalPoint[MAX_NUMBER_FFD] |
| vector<string> CSurfaceMovement::GlobalTag[MAX_NUMBER_FFD] |
|
protected |
Number of FFD FFDBoxes.
|
protected |
Level of the FFD FFDBoxes (parent/child).