154 unsigned short iMarker_Monitoring, vector<su2double>& displacements);
164 unsigned short iZone);
293 unsigned short iDV,
bool ResetDef)
const;
304 unsigned short iDV,
bool ResetDef)
const;
315 unsigned short iDV,
bool ResetDef)
const;
326 unsigned short iDV,
bool ResetDef)
const;
337 unsigned short iDV,
bool ResetDef)
const;
348 unsigned short iDV,
bool ResetDef)
const;
359 unsigned short iDV,
bool ResetDef)
const;
370 unsigned short iDV,
bool ResetDef)
const;
381 unsigned short iDV,
bool ResetDef);
392 unsigned short iDV,
bool ResetDef)
const;
403 unsigned short iDV,
bool ResetDef)
const;
414 CFreeFormDefBox** ResetFFDBox,
unsigned short iDV,
bool ResetDef)
const;
468 for (
unsigned short iFFDBox = 0; iFFDBox <
GetnFFDBox(); iFFDBox++) {
Headers of the CGridMovement class.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
string GetFFDTag(unsigned short val_dv) const
Get the FFD Tag of a particular design variable.
Definition CConfig.hpp:3045
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Class for moving the surface and volumetric numerical grid (2D and 3D problems).
Definition CGridMovement.hpp:39
Class for moving the surface numerical grid.
Definition CSurfaceMovement.hpp:38
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.
Definition CSurfaceMovement.cpp:2348
~CSurfaceMovement(void) override
Destructor of the class.
Definition CSurfaceMovement.cpp:42
void WriteFFDInfo(CSurfaceMovement **surface_movement, CGeometry ****geometry, CConfig **config)
Write the Free Form information in the SU2 file.
Definition CSurfaceMovement.cpp:5005
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.
Definition CSurfaceMovement.cpp:2079
void GetCartesianCoordCP(CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBoxParent, CFreeFormDefBox *FFDBoxChild)
Get the cartes.
Definition CSurfaceMovement.cpp:969
vector< su2double > GlobalCoordY[MAX_NUMBER_FFD]
Definition CSurfaceMovement.hpp:47
vector< su2double > GlobalCoordX[MAX_NUMBER_FFD]
Definition CSurfaceMovement.hpp:46
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.
Definition CSurfaceMovement.cpp:2968
void SetHicksHenne(CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
Set a Hicks-Henne deformation bump functions on an airfoil.
Definition CSurfaceMovement.cpp:2730
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.
Definition CSurfaceMovement.cpp:2357
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.
Definition CSurfaceMovement.cpp:1886
unsigned short nFFDBox
Number of FFD FFDBoxes.
Definition CSurfaceMovement.hpp:41
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.
Definition CSurfaceMovement.cpp:1747
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.
Definition CSurfaceMovement.cpp:3331
void SetSurface_Bump(CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
Set a Hicks-Henne deformation bump functions on an airfoil.
Definition CSurfaceMovement.cpp:2912
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 po...
Definition CSurfaceMovement.cpp:2644
void SetNACA_4Digits(CGeometry *boundary, CConfig *config)
Set a NACA 4 digits airfoil family for airfoil deformation.
Definition CSurfaceMovement.cpp:3824
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 SetParabolic(CGeometry *boundary, CConfig *config)
Set a parabolic family for airfoil deformation.
Definition CSurfaceMovement.cpp:3866
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.
Definition CSurfaceMovement.cpp:2201
void SetTranslation(CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
Set a displacement for surface movement.
Definition CSurfaceMovement.cpp:3256
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.
Definition CSurfaceMovement.cpp:2028
void CheckFFDIntersections(CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox)
Check the intersections of the FFD with the surface.
Definition CSurfaceMovement.cpp:1063
void SetExternal_Deformation(CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter)
Set any surface deformationsbased on an input file.
Definition CSurfaceMovement.cpp:3490
vector< unsigned long > GlobalPoint[MAX_NUMBER_FFD]
Definition CSurfaceMovement.hpp:50
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.
Definition CSurfaceMovement.cpp:2418
bool GetFFDBoxDefinition(void) const
Get information about if there is a complete FFDBox definition, or it is necessary to compute the par...
Definition CSurfaceMovement.hpp:458
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.
Definition CSurfaceMovement.cpp:2244
unsigned short GetnLevel(void) const
Obtain the number of levels.
Definition CSurfaceMovement.hpp:486
vector< su2double > GlobalCoordZ[MAX_NUMBER_FFD]
Definition CSurfaceMovement.hpp:48
unsigned short GetnFFDBox(void) const
Obtain the number of FFDBoxes.
Definition CSurfaceMovement.hpp:480
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.
Definition CSurfaceMovement.cpp:2287
unsigned short nLevel
Level of the FFD FFDBoxes (parent/child).
Definition CSurfaceMovement.hpp:42
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 F...
Definition CSurfaceMovement.cpp:1516
bool CheckFFDBoxDefinition(CConfig *config, unsigned short iDV)
Check if the design variable definition matches the FFD box definition.
Definition CSurfaceMovement.hpp:467
su2double SetCartesianCoord(CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox, bool ResetDef)
Recompute the cartesian coordinates using the control points position.
Definition CSurfaceMovement.cpp:1632
CSurfaceMovement(void)
Constructor of the class.
Definition CSurfaceMovement.cpp:32
unsigned long calculateJacobianDeterminant(CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox) const
Calculate the determinant of the Jacobian matrix for the FFD problem.
Definition CSurfaceMovement.cpp:5152
void SetParametricCoordCP(CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBoxParent, CFreeFormDefBox *FFDBoxChild)
Set the Parametric coordinates.
Definition CSurfaceMovement.cpp:951
void SetAngleOfAttack(CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
Set a Hicks-Henne deformation bump functions on an airfoil.
Definition CSurfaceMovement.cpp:2724
void SetRotation(CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
Set a rotation for surface movement.
Definition CSurfaceMovement.cpp:3172
void SetAirfoil(CGeometry *boundary, CConfig *config)
Set a obstacle in a channel.
Definition CSurfaceMovement.cpp:3899
void MergeFFDInfo(CGeometry *geometry, CConfig *config)
Merge the Free Form information in the SU2 file.
Definition CSurfaceMovement.cpp:4805
void SetHicksHenneCamber(CGeometry *boundary, CConfig *config)
Set a Hicks-Henne deformation bump function on the camberline of an airfoil.
Definition CSurfaceMovement.cpp:3700
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 ...
Definition CSurfaceMovement.cpp:751
vector< string > GlobalTag[MAX_NUMBER_FFD]
Definition CSurfaceMovement.hpp:49
void ReadFFDInfo(CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox, const string &val_mesh_filename)
Read the free form information from the grid input file.
Definition CSurfaceMovement.cpp:4174
void CheckFFDDimension(CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox)
Check the intersections of the FFD with the surface.
Definition CSurfaceMovement.cpp:995
CFreeFormDefBox ** FFDBox
Definition of the Free Form Deformation Box.
Definition CSurfaceMovement.hpp:40
void SetScale(CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
Set a displacement for surface movement.
Definition CSurfaceMovement.cpp:3294
void CopyBoundary(CGeometry *geometry, CConfig *config)
Copy the boundary coordinates to each vertex.
Definition CSurfaceMovement.cpp:737
bool FFDBoxDefinition
If the FFD FFDBox has been defined in the input file.
Definition CSurfaceMovement.hpp:43
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.
Definition CSurfaceMovement.cpp:3405
void ApplyDesignVariables(CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox, unsigned short iFFDBox)
Apply the design variables to the control point position.
Definition CSurfaceMovement.cpp:1586
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.
Definition CSurfaceMovement.cpp:2564
void SetSurface_Derivative(CGeometry *geometry, CConfig *config)
Set derivatives of the surface/boundary deformation.
Definition CSurfaceMovement.cpp:710
vector< vector< su2double > > SetSurface_Deformation(CGeometry *geometry, CConfig *config) override
Set the surface/boundary deformation.
Definition CSurfaceMovement.cpp:52
passivedouble su2double
Definition code_config.hpp:181
const unsigned int MAX_NUMBER_FFD
Maximum number of FFDBoxes for the FFD.
Definition option_structure.hpp:79