Documentation 6b54b78464
Loading...
Searching...
No Matches
CTurboVertex Class Referencefinal

Class for vertex definition for turbomachinery (equivalent to edges, but for the boundaries). More...

#include <CTurboVertex.hpp>

Inheritance diagram for CTurboVertex:
[legend]

Public Member Functions

 CTurboVertex (unsigned long val_point, unsigned short val_nDim)
 Constructor of the class.
 
 ~CTurboVertex (void) override
 Destructor of the class.
 
void SetTurboNormal (const su2double *val_normal)
 set Normal in the turbomachinery frame of reference.
 
void SetArea (su2double val_area)
 set face Area.
 
su2double GetArea (void) const
 get face Area associate to the vertex.
 
void GetTurboNormal (su2double *val_normal) const
 Copy the the turbo normal vector of a face.
 
su2double * GetTurboNormal (void)
 Get the turbo normal to a face where turboperformance are computed .
 
void SetOldVertex (unsigned long val_vertex)
 set vertex value not ordered.
 
unsigned long GetOldVertex (void) const
 retrieve vertex value not ordered.
 
void SetGlobalVertexIndex (int globalindex)
 set global index for ordered span-wise turbovertex.
 
int GetGlobalVertexIndex (void) const
 get global index for ordered span-wise turbovertex.
 
void SetAngularCoord (su2double angCoord)
 set angular coord.
 
su2double GetAngularCoord (void) const
 get angular coord.
 
void SetDeltaAngularCoord (su2double deltaAngCoord)
 set angular coord.
 
su2double GetDeltaAngularCoord (void) const
 get angular coord.
 
void SetRelAngularCoord (su2double minAngCoord)
 set angular coord.
 
su2double GetRelAngularCoord (void) const
 get angular coord.
 
- Public Member Functions inherited from CVertex
 CVertex (unsigned long val_point, unsigned short val_nDim)
 Constructor of the class.
 
unsigned short GetnNodes () const override
 Get the number of nodes of a vertex.
 
unsigned long GetNode () const
 Get the node of the vertex.
 
void SetNodes_Coord (const su2double *val_coord_Edge_CG, const su2double *val_coord_FaceElem_CG, const su2double *val_coord_Elem_CG) override
 Set the face that correspond to a vertex.
 
void SetNodes_Coord (const su2double *val_coord_Edge_CG, const su2double *val_coord_Elem_CG) override
 
void GetNormal (su2double *val_normal) const override
 Copy the the normal vector of a face.
 
su2double * GetNormal () override
 Get the normal to a face of the control volume asociated with a vertex.
 
su2double GetNormal (unsigned short iDim) const
 Get the ith component of the normal.
 
void SetZeroValues () override
 Initialize normal vector.
 
void SetAuxVar (su2double val_auxvar)
 Set the value of an auxiliary variable for gradient computation.
 
su2double GetAuxVar () const
 Get the value of an auxiliary variable for gradient computation.
 
void AddAuxVar (su2double val_auxvar)
 Add the value of an auxiliary variable for gradient computation.
 
void SetNormal (const su2double *val_face_normal) override
 Set the normal vector.
 
void AddNormal (const su2double *val_face_normal) override
 Add a vector to the normal vector.
 
void SetVarCoord (const su2double *val_varcoord)
 Set the value of the coordinate variation due to a surface modification.
 
void AddVarCoord (const su2double *val_varcoord)
 Add the value of the coordinate variation due to a surface modification.
 
su2double * GetVarCoord ()
 Get the value of the coordinate variation due to a surface modification.
 
void SetCoord (const su2double *val_coord) override
 Set the value of the cartesian coordinate for the vertex.
 
su2double * GetCoord () override
 Get the value of the cartesian coordinate for the vertex.
 
su2double GetCoord (unsigned short val_dim) const
 Get the value of the cartesian coordinate for the vertex.
 
void SetRotation_Type (short val_rotation_type)
 Set the type of rotation associated to the vertex.
 
short GetRotation_Type () const
 Get the type of rotation associated to the vertex.
 
void SetDonorPoint (long val_periodicpoint, long val_processor)
 
void SetDonorPoint (long val_periodicpoint, long val_periodicglobalindex, long val_periodicvertex, long val_periodicmarker, long val_processor)
 
void SetDonorPoint (long val_periodicpoint, long val_processor, long val_globalindex)
 
void SetActDisk_Perimeter (bool val_actdisk_perimeter)
 
long GetDonorPoint () const
 Get the value of the periodic point of a vertex.
 
long GetDonorMarker () const
 Get the value of the periodic point of a vertex.
 
long GetDonorVertex () const
 Get the value of the periodic point of a vertex.
 
long GetDonorGlobalIndex () const
 Get the value of the periodic point of a vertex.
 
long GetGlobalDonorPoint () const
 Get the value of the periodic point of a vertex.
 
long GetDonorProcessor () const
 Get the value of the periodic point of a vertex.
 
long * GetPeriodicPointDomain ()
 Get the value of the periodic point of a vertex, and its somain.
 
bool GetActDisk_Perimeter () const
 Get the value of the periodic point of a vertex, and its somain.
 
void SetBasisFunction (unsigned short val_node, su2double val_basis)
 Set the finite element basis functions needed for interpolation.
 
su2double GetBasisFunction (unsigned short val_node)
 Get the finite element basis functions needed for interpolation.
 
void SetNormal_Neighbor (unsigned long val_Normal_Neighbor)
 Set the index of the closest neighbor to a point on the boundaries.
 
unsigned long GetNormal_Neighbor () const
 Get the value of the closest neighbor.
 
void SetNearestNeighborDistance (const su2double &val)
 Set the distance of the nearest internal neighbor that is not a wall.
 
const su2double & GetNearestNeighborDistance () const
 Get the distance to the nearest internal neighbor that is not a wall.
 
- Public Member Functions inherited from CDualGrid
 CDualGrid (unsigned short val_nDim)
 Constructor of the class.
 
virtual ~CDualGrid (void)
 Destructor of the class.
 

Additional Inherited Members

- Protected Attributes inherited from CVertex
unsigned long Nodes [1]
 Vector to store the global nodes of an element.
 
su2double Normal [3] = {0.0}
 Normal coordinates of the element and its center of gravity.
 
su2double Aux_Var
 Auxiliar variable defined only on the surface.
 
su2double CartCoord [3] = {0.0}
 Vertex cartesians coordinates.
 
su2double VarCoord [3] = {0.0}
 Used for storing the coordinate variation due to a surface modification.
 
long PeriodicPoint [5] = {-1}
 Store the periodic point of a boundary (iProcessor, iPoint)
 
bool ActDisk_Perimeter = false
 Identify nodes at the perimeter of the actuator disk.
 
short Rotation_Type
 Type of rotation associated with the vertex (MPI and periodic)
 
unsigned long Normal_Neighbor
 Index of the closest, most normal, neighbor.
 
su2double NearestNeighborDist = 0.0
 Distance to nearest internal neighbor that is not a wall.
 
su2double Basis_Function [3] = {0.0}
 Basis function values for interpolation across zones.
 
- Static Protected Attributes inherited from CDualGrid
static unsigned short nDim = 0
 Number of dimensions of the problem.
 

Detailed Description

Class for vertex definition for turbomachinery (equivalent to edges, but for the boundaries).

Author
S. Vitale

Constructor & Destructor Documentation

◆ CTurboVertex()

CTurboVertex::CTurboVertex ( unsigned long  val_point,
unsigned short  val_nDim 
)

Constructor of the class.

Parameters
[in]val_point- Node of the vertex.
[in]val_nDim- Number of dimensions of the problem.

◆ ~CTurboVertex()

CTurboVertex::~CTurboVertex ( void  )
override

Destructor of the class.

Member Function Documentation

◆ GetAngularCoord()

su2double CTurboVertex::GetAngularCoord ( void  ) const
inline

get angular coord.

◆ GetArea()

su2double CTurboVertex::GetArea ( void  ) const
inline

get face Area associate to the vertex.

◆ GetDeltaAngularCoord()

su2double CTurboVertex::GetDeltaAngularCoord ( void  ) const
inline

get angular coord.

◆ GetGlobalVertexIndex()

int CTurboVertex::GetGlobalVertexIndex ( void  ) const
inline

get global index for ordered span-wise turbovertex.

◆ GetOldVertex()

unsigned long CTurboVertex::GetOldVertex ( void  ) const
inline

retrieve vertex value not ordered.

◆ GetRelAngularCoord()

su2double CTurboVertex::GetRelAngularCoord ( void  ) const
inline

get angular coord.

◆ GetTurboNormal() [1/2]

void CTurboVertex::GetTurboNormal ( su2double *  val_normal) const
inline

Copy the the turbo normal vector of a face.

Parameters
[in]val_normal- Vector where the subroutine is goint to copy the normal (dimensionaless).

◆ GetTurboNormal() [2/2]

su2double * CTurboVertex::GetTurboNormal ( void  )
inline

Get the turbo normal to a face where turboperformance are computed .

Returns
Dimensionaless normal vector, the modulus is the area of the face.

◆ SetAngularCoord()

void CTurboVertex::SetAngularCoord ( su2double  angCoord)
inline

set angular coord.

◆ SetArea()

void CTurboVertex::SetArea ( su2double  val_area)
inline

set face Area.

Parameters
[in]val_area- value of the face area.

◆ SetDeltaAngularCoord()

void CTurboVertex::SetDeltaAngularCoord ( su2double  deltaAngCoord)
inline

set angular coord.

◆ SetGlobalVertexIndex()

void CTurboVertex::SetGlobalVertexIndex ( int  globalindex)
inline

set global index for ordered span-wise turbovertex.

◆ SetOldVertex()

void CTurboVertex::SetOldVertex ( unsigned long  val_vertex)
inline

set vertex value not ordered.

Parameters
[in]val_vertex- value of the vertex before ordering.

◆ SetRelAngularCoord()

void CTurboVertex::SetRelAngularCoord ( su2double  minAngCoord)
inline

set angular coord.

◆ SetTurboNormal()

void CTurboVertex::SetTurboNormal ( const su2double *  val_normal)
inline

set Normal in the turbomachinery frame of reference.

Parameters
[in]val_normal- normal vector.

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