SU2
Public Member Functions | Protected Attributes | List of all members
CSurfaceMovement Class Reference

Class for moving the surface numerical grid. More...

#include <grid_movement_structure.hpp>

Inheritance diagram for CSurfaceMovement:
CGridMovement

Public Member Functions

 CSurfaceMovement (void)
 Constructor of the class.
 
 ~CSurfaceMovement (void)
 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. More...
 
void SetSurface_Bump (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
 Set a Hicks-Henne deformation bump functions on an airfoil. More...
 
void SetAngleOfAttack (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
 Set a Hicks-Henne deformation bump functions on an airfoil. More...
 
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. More...
 
void SetNACA_4Digits (CGeometry *boundary, CConfig *config)
 Set a NACA 4 digits airfoil family for airfoil deformation. More...
 
void SetParabolic (CGeometry *boundary, CConfig *config)
 Set a parabolic family for airfoil deformation. More...
 
void SetAirfoil (CGeometry *boundary, CConfig *config)
 Set a obstacle in a channel. More...
 
void SetRotation (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
 Set a rotation for surface movement. More...
 
void Moving_Walls (CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter)
 Set the translational/rotational velocity for a moving wall. More...
 
void Surface_Translating (CGeometry *geometry, CConfig *config, unsigned long iter, unsigned short iZone)
 Computes the displacement of a translating surface for a dynamic mesh simulation. More...
 
void Surface_Plunging (CGeometry *geometry, CConfig *config, unsigned long iter, unsigned short iZone)
 Computes the displacement of a plunging surface for a dynamic mesh simulation. More...
 
void Surface_Pitching (CGeometry *geometry, CConfig *config, unsigned long iter, unsigned short iZone)
 Computes the displacement of a pitching surface for a dynamic mesh simulation. More...
 
void Surface_Rotating (CGeometry *geometry, CConfig *config, unsigned long iter, unsigned short iZone)
 Computes the displacement of a rotating surface for a dynamic mesh simulation. More...
 
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. More...
 
void AeroelasticDeform (CGeometry *geometry, CConfig *config, unsigned long ExtIter, unsigned short iMarker, unsigned short iMarker_Monitoring, vector< su2double > &displacements)
 Unsteady aeroelastic grid movement by deforming the mesh. More...
 
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. More...
 
void SetCollective_Pitch (CGeometry *geometry, CConfig *config)
 Set the collective pitch for a blade surface movement. More...
 
void SetExternal_Deformation (CGeometry *geometry, CConfig *config, unsigned short iZone, unsigned long iter)
 Set any surface deformationsbased on an input file. More...
 
void SetTranslation (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
 Set a displacement for surface movement. More...
 
void SetScale (CGeometry *boundary, CConfig *config, unsigned short iDV, bool ResetDef)
 Set a displacement for surface movement. More...
 
void CopyBoundary (CGeometry *geometry, CConfig *config)
 Copy the boundary coordinates to each vertex. More...
 
void SetSurface_Deformation (CGeometry *geometry, CConfig *config)
 Set the surface/boundary deformation. More...
 
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. More...
 
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. More...
 
void CheckFFDIntersections (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox)
 Check the intersections of the FFD with the surface. More...
 
void CheckFFDDimension (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox)
 Check the intersections of the FFD with the surface. More...
 
void SetParametricCoordCP (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBoxParent, CFreeFormDefBox *FFDBoxChild)
 _____________________. More...
 
void GetCartesianCoordCP (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBoxParent, CFreeFormDefBox *FFDBoxChild)
 _____________________. More...
 
void SetCartesianCoord (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, unsigned short iFFDBox, bool ResetDef)
 Recompute the cartesian coordinates using the control points position. More...
 
bool SetFFDCPChange_2D (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set the deformation of the Free From box using the control point position. More...
 
bool SetFFDCPChange (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set the deformation of the Free From box using the control point position. More...
 
bool SetFFDGull (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set the deformation of the Free From box using the control point position. More...
 
bool SetFFDNacelle (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set the deformation of the Free From box using the control point position. More...
 
bool SetFFDCamber_2D (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set a camber deformation of the Free From box using the control point position. More...
 
bool SetFFDTwist_2D (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set a camber deformation of the Free From box using the control point position. More...
 
bool SetFFDThickness_2D (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. More...
 
bool SetFFDCamber (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set a camber deformation of the Free From box using the control point position. More...
 
bool SetFFDThickness (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. More...
 
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. More...
 
bool SetFFDTwist (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set a twist angle deformation of the Free From box using the control point position. More...
 
bool SetFFDRotation (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set a rotation angle deformation of the Free From box using the control point position. More...
 
bool SetFFDControl_Surface (CGeometry *geometry, CConfig *config, CFreeFormDefBox *FFDBox, CFreeFormDefBox **ResetFFDBox, unsigned short iDV, bool ResetDef)
 Set a rotation angle deformation in a control surface of the Free From box using the control point position. More...
 
void ReadFFDInfo (CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox, string val_mesh_filename)
 Read the free form information from the grid input file. More...
 
void ReadFFDInfo (CGeometry *geometry, CConfig *config, CFreeFormDefBox **FFDBox)
 Read the free form information from the grid input file. More...
 
void MergeFFDInfo (CGeometry *geometry, CConfig *config)
 Merge the Free Form information in the SU2 file. More...
 
void WriteFFDInfo (CGeometry *geometry, CConfig *config)
 Write the Free Form information in the SU2 file. More...
 
bool GetFFDBoxDefinition (void)
 Get information about if there is a complete FFDBox definition, or it is necessary to compute the parametric coordinates. More...
 
bool CheckFFDBoxDefinition (CConfig *config, unsigned short iDV)
 Check if the design variable definition matches the FFD box definition. More...
 
unsigned short GetnFFDBox (void)
 Obtain the number of FFDBoxes. More...
 
unsigned short GetnLevel (void)
 Obtain the number of levels. More...
 
void SetSurface_Derivative (CGeometry *geometry, CConfig *config)
 Set derivatives of the surface/boundary deformation. More...
 
- Public Member Functions inherited from CGridMovement
 CGridMovement (void)
 Constructor of the class.
 
virtual ~CGridMovement (void)
 Destructor of the class.
 

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.
 
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]
 

Detailed Description

Class for moving the surface numerical grid.

Author
F. Palacios, T. Economon.
Version
5.0.0 "Raven"

Member Function Documentation

§ AeroelasticDeform()

void CSurfaceMovement::AeroelasticDeform ( CGeometry geometry,
CConfig config,
unsigned long  ExtIter,
unsigned short  iMarker,
unsigned short  iMarker_Monitoring,
vector< su2double > &  displacements 
)

Unsteady aeroelastic grid movement by deforming the mesh.

Parameters
[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.

§ CheckFFDBoxDefinition()

bool CSurfaceMovement::CheckFFDBoxDefinition ( CConfig config,
unsigned short  iDV 
)
inline

Check if the design variable definition matches the FFD box definition.

Parameters
[in]config- Definition of the particular problem.
[in]iDV- Index of the design variable.
Returns
TRUE if the FFD box name referenced with DV_PARAM can be found in the FFD box definition; otherwise FALSE.

§ CheckFFDDimension()

void CSurfaceMovement::CheckFFDDimension ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
unsigned short  iFFDBox 
)

Check the intersections of the FFD with the surface.

Parameters
[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- _____________________.

§ CheckFFDIntersections()

void CSurfaceMovement::CheckFFDIntersections ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
unsigned short  iFFDBox 
)

Check the intersections of the FFD with the surface.

Parameters
[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- _____________________.

§ CopyBoundary()

void CSurfaceMovement::CopyBoundary ( CGeometry geometry,
CConfig config 
)

Copy the boundary coordinates to each vertex.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.

§ GetCartesianCoordCP()

void CSurfaceMovement::GetCartesianCoordCP ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBoxParent,
CFreeFormDefBox FFDBoxChild 
)

_____________________.

Parameters
[in]geometry- _____________________.
[in]config- _____________________.
[in]FFDBoxParent- _____________________.
[in]FFDBoxChild- _____________________.

§ GetFFDBoxDefinition()

bool CSurfaceMovement::GetFFDBoxDefinition ( void  )
inline

Get information about if there is a complete FFDBox definition, or it is necessary to compute the parametric coordinates.

Returns
TRUE if the input grid file has a complete information; otherwise FALSE.

§ GetnFFDBox()

unsigned short CSurfaceMovement::GetnFFDBox ( void  )
inline

Obtain the number of FFDBoxes.

Returns
Number of FFD FFDBoxes.

§ GetnLevel()

unsigned short CSurfaceMovement::GetnLevel ( void  )
inline

Obtain the number of levels.

Returns
Number of FFD levels.

§ HTP_Rotation()

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.

Parameters
[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.

§ MergeFFDInfo()

void CSurfaceMovement::MergeFFDInfo ( CGeometry geometry,
CConfig config 
)

Merge the Free Form information in the SU2 file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_mesh_filename- Name of the grid output file.

§ Moving_Walls()

void CSurfaceMovement::Moving_Walls ( CGeometry geometry,
CConfig config,
unsigned short  iZone,
unsigned long  iter 
)

Set the translational/rotational velocity for a moving wall.

Parameters
[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.

§ ReadFFDInfo() [1/2]

void CSurfaceMovement::ReadFFDInfo ( CGeometry geometry,
CConfig config,
CFreeFormDefBox **  FFDBox,
string  val_mesh_filename 
)

Read the free form information from the grid input file.

Note
If there is no control point information, and no parametric coordinates information, the code will compute that information.
Parameters
[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.

§ ReadFFDInfo() [2/2]

void CSurfaceMovement::ReadFFDInfo ( CGeometry geometry,
CConfig config,
CFreeFormDefBox **  FFDBox 
)

Read the free form information from the grid input file.

Note
If there is no control point information, and no parametric coordinates information, the code will compute that information.
Parameters
[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.

§ SetAirfoil()

void CSurfaceMovement::SetAirfoil ( CGeometry boundary,
CConfig config 
)

Set a obstacle in a channel.

Parameters
[in]boundary- Geometry of the boundary.
[in]config- Definition of the particular problem.

§ SetAngleOfAttack()

void CSurfaceMovement::SetAngleOfAttack ( CGeometry boundary,
CConfig config,
unsigned short  iDV,
bool  ResetDef 
)

Set a Hicks-Henne deformation bump functions on an airfoil.

Parameters
[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.

§ SetBoundary_Flutter3D()

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.

Parameters
[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.

§ SetCartesianCoord()

void CSurfaceMovement::SetCartesianCoord ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
unsigned short  iFFDBox,
bool  ResetDef 
)

Recompute the cartesian coordinates using the control points position.

Parameters
[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- _____________________.

§ SetCollective_Pitch()

void CSurfaceMovement::SetCollective_Pitch ( CGeometry geometry,
CConfig config 
)

Set the collective pitch for a blade surface movement.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.

§ SetCST()

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.

Parameters
[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.

§ SetExternal_Deformation()

void CSurfaceMovement::SetExternal_Deformation ( CGeometry geometry,
CConfig config,
unsigned short  iZone,
unsigned long  iter 
)

Set any surface deformationsbased on an input file.

Parameters
[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.

§ SetFFDAngleOfAttack()

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.

Parameters
[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.

§ SetFFDCamber()

bool CSurfaceMovement::SetFFDCamber ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set a camber deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDCamber_2D()

bool CSurfaceMovement::SetFFDCamber_2D ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set a camber deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDControl_Surface()

bool CSurfaceMovement::SetFFDControl_Surface ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set a rotation angle deformation in a control surface of the Free From box using the control point position.

Parameters
[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.

§ SetFFDCPChange()

bool CSurfaceMovement::SetFFDCPChange ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set the deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDCPChange_2D()

bool CSurfaceMovement::SetFFDCPChange_2D ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set the deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDGull()

bool CSurfaceMovement::SetFFDGull ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set the deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDNacelle()

bool CSurfaceMovement::SetFFDNacelle ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set the deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDRotation()

bool CSurfaceMovement::SetFFDRotation ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set a rotation angle deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDThickness()

bool CSurfaceMovement::SetFFDThickness ( 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.

Parameters
[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.

§ SetFFDThickness_2D()

bool CSurfaceMovement::SetFFDThickness_2D ( 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.

Parameters
[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.

§ SetFFDTwist()

bool CSurfaceMovement::SetFFDTwist ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set a twist angle deformation of the Free From box using the control point position.

Parameters
[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.

§ SetFFDTwist_2D()

bool CSurfaceMovement::SetFFDTwist_2D ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBox,
CFreeFormDefBox **  ResetFFDBox,
unsigned short  iDV,
bool  ResetDef 
)

Set a camber deformation of the Free From box using the control point position.

Parameters
[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.

§ SetHicksHenne()

void CSurfaceMovement::SetHicksHenne ( CGeometry boundary,
CConfig config,
unsigned short  iDV,
bool  ResetDef 
)

Set a Hicks-Henne deformation bump functions on an airfoil.

Parameters
[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.

§ SetNACA_4Digits()

void CSurfaceMovement::SetNACA_4Digits ( CGeometry boundary,
CConfig config 
)

Set a NACA 4 digits airfoil family for airfoil deformation.

Parameters
[in]boundary- Geometry of the boundary.
[in]config- Definition of the particular problem.

§ SetParabolic()

void CSurfaceMovement::SetParabolic ( CGeometry boundary,
CConfig config 
)

Set a parabolic family for airfoil deformation.

Parameters
[in]boundary- Geometry of the boundary.
[in]config- Definition of the particular problem.

§ SetParametricCoord()

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.

Parameters
[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.

§ SetParametricCoordCP()

void CSurfaceMovement::SetParametricCoordCP ( CGeometry geometry,
CConfig config,
CFreeFormDefBox FFDBoxParent,
CFreeFormDefBox FFDBoxChild 
)

_____________________.

Parameters
[in]geometry- _____________________.
[in]config- _____________________.
[in]FFDBoxParent- _____________________.
[in]FFDBoxChild- _____________________.

§ SetRotation()

void CSurfaceMovement::SetRotation ( CGeometry boundary,
CConfig config,
unsigned short  iDV,
bool  ResetDef 
)

Set a rotation for surface movement.

Parameters
[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.

§ SetScale()

void CSurfaceMovement::SetScale ( CGeometry boundary,
CConfig config,
unsigned short  iDV,
bool  ResetDef 
)

Set a displacement for surface movement.

Parameters
[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.

§ SetSurface_Bump()

void CSurfaceMovement::SetSurface_Bump ( CGeometry boundary,
CConfig config,
unsigned short  iDV,
bool  ResetDef 
)

Set a Hicks-Henne deformation bump functions on an airfoil.

Parameters
[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.

§ SetSurface_Deformation()

void CSurfaceMovement::SetSurface_Deformation ( CGeometry geometry,
CConfig config 
)
virtual

Set the surface/boundary deformation.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.

Reimplemented from CGridMovement.

§ SetSurface_Derivative()

void CSurfaceMovement::SetSurface_Derivative ( CGeometry geometry,
CConfig config 
)

Set derivatives of the surface/boundary deformation.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]config- Definition of the particular problem.

§ SetTranslation()

void CSurfaceMovement::SetTranslation ( CGeometry boundary,
CConfig config,
unsigned short  iDV,
bool  ResetDef 
)

Set a displacement for surface movement.

Parameters
[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.

§ Surface_Pitching()

void CSurfaceMovement::Surface_Pitching ( CGeometry geometry,
CConfig config,
unsigned long  iter,
unsigned short  iZone 
)

Computes the displacement of a pitching surface for a dynamic mesh simulation.

Parameters
[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.

§ Surface_Plunging()

void CSurfaceMovement::Surface_Plunging ( CGeometry geometry,
CConfig config,
unsigned long  iter,
unsigned short  iZone 
)

Computes the displacement of a plunging surface for a dynamic mesh simulation.

Parameters
[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.

§ Surface_Rotating()

void CSurfaceMovement::Surface_Rotating ( CGeometry geometry,
CConfig config,
unsigned long  iter,
unsigned short  iZone 
)

Computes the displacement of a rotating surface for a dynamic mesh simulation.

Parameters
[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.

§ Surface_Translating()

void CSurfaceMovement::Surface_Translating ( CGeometry geometry,
CConfig config,
unsigned long  iter,
unsigned short  iZone 
)

Computes the displacement of a translating surface for a dynamic mesh simulation.

Parameters
[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.

§ UpdateParametricCoord()

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.

Parameters
[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- _____________________.

§ WriteFFDInfo()

void CSurfaceMovement::WriteFFDInfo ( CGeometry geometry,
CConfig config 
)

Write the Free Form information in the SU2 file.

Parameters
[in]config- Definition of the particular problem.
[in]geometry- Geometrical definition of the problem.
[in]val_mesh_filename- Name of the grid output file.

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