aigrid.h File Reference


Classes

struct  Vec2D
 Vector in 2D, scope: Grid2D. More...
struct  DispoHypParam
 Disposition by hyperbolical functions, scope: Global3D, Domain3D, Grid2D. More...
struct  Blade2D
 Pointwise blade definition 2D, scope: Grid2D. More...
struct  Block2D
 GridBlock 2D, scope: Grid2D. More...
struct  PointChain2D
 Chain of points in 2D (polygone), scope: Grid2D. More...
struct  Vec3D
 Vector in 3D, scope: Global3D, Domain3D. More...
struct  Blade3D
 Blade in 3D, scope: Domain3D. More...

Defines

#define TPitch
 Transposed double value from Domain3D, pitch in conformal-mapping system, scope: Grid2D.
#define TWestEnd
 Transposed double value from Domain3D, x of east-end in conformal-mapping system, scope: Grid2D.
#define TEastEnd
 Transposed double value from Domain3D, x of west-end in conformal-mapping system, scope: Grid2D.
#define TSpan
 Transposed double value from Domain3D, nondimensional blade-heigth, 0 for hub, 1 for shrourd, scope: Grid2D.
#define TIsLeakHub
 Transposed double value from Domain3D, 1 when this 2D meshing is done for the leakage grid at hub, else 0, scope: Grid2D.
#define TIsLeakShroud
 Transposed double value from Domain3D, 1 when this 2D meshing is done for the leakage grid at shroud, else 0, scope: Grid2D.

Enumerations

enum  AI_IndexDir_Enum {
  AI_MinusI, AI_MinusJ, AI_MinusK, AI_PlusI,
  AI_PlusJ, AI_PlusK
}
 Index direction, scope: Domain3D, Grid2D. More...
enum  AI_Sign_Enum { AI_Pos, AI_Neg }
 Direction switch, scope: Grid2D. More...
enum  AI_Bez_Enum {
  AI_Bez2, AI_Bez3, AI_Bez4, AI_LinBez2,
  AI_LinBez3, AI_LinBez4
}
 Bezier type, scope: Grid2D. More...
enum  AI_Base_Enum { AI_BladeBase }
 Based on type, scope: Grid2D. More...
enum  AI_Transpose_Enum { AI_Transpose }
 Transpose type, scope: Grid2D. More...
enum  AI_Abeam_Enum { AI_Abeam }
 Based on type, scope: Grid2D. More...
enum  AI_Extract_Enum { AI_Extract }
 Extract type, scope: Grid2D. More...
enum  AI_Chain_Enum { AI_Chain2, AI_Chain3, AI_Chain4, AI_Chain5 }
 Chain type, scope: Grid2D. More...
enum  AI_DomainType_Enum { AI_DomainType_Default, AI_DomainType_ShroudLeakage, AI_DomainType_HubLeakage }
 Type of bladerow, scope: Domain3D. More...

Functions

void AddBoundaryBlock (Block2D &block1, AI_IndexDir_Enum dirAlong1, AI_IndexDir_Enum dirOut1, int iCellStart1, int jCellStart1, Block2D &block2, AI_IndexDir_Enum dirAlong2, AI_IndexDir_Enum dirOut2, int iCellStart2, int jCellStart2, int maxCells, double pitch, const char *boundName)
 block connectivity boundary conditions, scope: Grid2D
void AddBoundaryWall (Block2D &block, AI_IndexDir_Enum dirAlong, AI_IndexDir_Enum dirOut, int iCellStart, int jCellStart, int maxCells, const char *boundName)
 wall boundary condition, scope: Grid2D
void AddBoundaryX (Block2D &block, AI_IndexDir_Enum dirAlong, AI_IndexDir_Enum dirOut, int iCellStart, int jCellStart, int maxCells, const char *boundName)
 boundary condition, fixed x-coordinate of nodes, scope: Grid2D
void RelaxGrid2D (int calcDistToWallLoops, int nRelaxMax, double relaxDistMin, double relaxDistMax)
 smoothing grid 2D, scope: Grid2D
void ViewOutput2D (AI_Grf_Enum grfType, const char *fileName)
 grid output for visualisation, scope: Grid2D
void LinarsOutputQuasi3D (const char *fileNameGeom, const char *fileNameFaces, double widthZ)
 write output for linars, scope: Grid2D
void UNVOutput2D (const char *fileName)
 grid export Ideas-universial, scope: Grid2D
void ControlPoint2D (Vec2D vec)
 for grid output xml: sets named control position, scope: Grid2D
void HubShroudImport (const char *fileName)
 importing hub and shroud meridional-contour from external xml-file, scope: Domain3D
void LeakageContourImport (const char *fileName)
 importing leakage meridional-contour from external xml-file, scope: Domain3D
void HubShroudOutput (const char *fileName)
 exporting the input hub-shroud to xml-grf file (to control input), scope: Domain3D
void BuildMeridCont (int maxAlong, int maxMerid)
 builds the conformal-mapped meridional contours, scope: Domain3D
void MeridCont2DOutput (const char *fileName)
 exporting the meridional-contour to xml-grf2D file (to control input), scope: Domain3D
void MeridCont3DOutput (const char *fileName)
 exporting the meridional-contour to xml-grf3D file (to control input), scope: Domain3D
void BladesOutput (const char *fileName)
 exporting the blade-contour to xml-grf3D file (to control input), scope: Domain3D
void CutBladesWithMeridCont ()
 conduct cutting of blades3D with each meridional contour, scope: Domain3D
void Define2DTopology (const char *topoName)
 defining the topology tag for meshing the 2D meridional-contours, scope: Domain3D
void DefineDomainType (AI_DomainType_Enum type)
 defining the leakage type of the blade-row, scope: Domain3D
void ConductMeshing2DTest (int meridIndex)
 conducting the meshing of a meridional contour with exporting xml-grf2D file (control), scope: Domain3D
void ConductMeshing2D ()
 conducting the meshing of all 2D meridional contour, scope: Domain3D
void BaseGrid3DOutput (const char *fileName)
 output of xml-grf3D of all meshed meridional contours base on the coare 3D frame (maxMerid, see BuildMeridCont ), scope: Domain3D
void Build3DDefault ()
 building the final 3D mesh, no leakage, scope: Domain3D
void Build3DHubLeak ()
 building the final 3D mesh, leakage at hub, scope: Domain3D
void Build3DShroudLeak ()
 building the final 3D mesh, leakage at shroud, scope: Domain3D
void Grid3DOutput (const char *fileName)
 output of final 3D mesh in xml-grf3D (control), scope: Global3D, Domain3D
void UNVOutput3D (const char *fileName)
 grid export Ideas-universial, scope: Domain3D
void LinarsOutput3D (const char *fileNameGeom, const char *fileNameFaces)
 write output for linars, scope: Global3D, Domain3D
void LinarsOutputQuasi3D (const char *fileNameGeom, const char *fileNameFaces, double span0, double span1)
 write output for linars, quasi 3D, from bladeheight span0 to span1, scope: Domain3D
void SetBladeRowName (const char *name)
 defining name of blade row, scope: Domain3D
void DefineLeakBlock (const char *blockName)
 defining a block within domain Grid2D that fill the leakage, scope: Domain3D
void MakeFillet (const char *blockName, AI_IndexDir_Enum dir1, AI_IndexDir_Enum dir2, double filletRad)
 defining fillets. Fillets are made by 'rounding' block edges, scope: Domain3D
void ConductMeshing2DShroudLeakage ()
 conducts meshing the (additional) meridional contour at the shroud leakage, scope: Domain3D
void ConductMeshing2DHubLeakage ()
 conducts meshing the (additional) meridional contour at the hub leakage, scope: Domain3D

Detailed Description

Anything

Enumeration Type Documentation

enum AI_Abeam_Enum
 

Based on type, scope: Grid2D.

Enumerator:
AI_Abeam  normal to surface transpose by distance

enum AI_Base_Enum
 

Based on type, scope: Grid2D.

Enumerator:
AI_BladeBase  based on blade

enum AI_Bez_Enum
 

Bezier type, scope: Grid2D.

Enumerator:
AI_Bez2  based on bezier line of 2 points
AI_Bez3  based on bezier line of 3 points
AI_Bez4  based on bezier line of 4 points
AI_LinBez2  based on bezier line of 2 points, linearised ground
AI_LinBez3  based on bezier line of 3 points, linearised ground
AI_LinBez4  based on bezier line of 4 points, linearised ground

enum AI_Chain_Enum
 

Chain type, scope: Grid2D.

Enumerator:
AI_Chain2  chaining 2 items
AI_Chain3  chaining 3 items
AI_Chain4  chaining 4 items
AI_Chain5  chaining 5 items

enum AI_DomainType_Enum
 

Type of bladerow, scope: Domain3D.

Enumerator:
AI_DomainType_Default  no leakage
AI_DomainType_ShroudLeakage  leakage at shroud
AI_DomainType_HubLeakage  leakage at hub

enum AI_Extract_Enum
 

Extract type, scope: Grid2D.

Enumerator:
AI_Extract  extract by index positions

enum AI_IndexDir_Enum
 

Index direction, scope: Domain3D, Grid2D.

The values AI_MinusK and AI_PlusK are not valid in scope 'Grid2D'!

Enumerator:
AI_MinusI  index i ascending
AI_MinusJ  index j ascending
AI_MinusK  index k ascending
AI_PlusI  index i descending
AI_PlusJ  index j descending
AI_PlusK  index k descending

enum AI_Sign_Enum
 

Direction switch, scope: Grid2D.

Enumerator:
AI_Pos  positive direction
AI_Neg  negative direction

enum AI_Transpose_Enum
 

Transpose type, scope: Grid2D.

Enumerator:
AI_Transpose  transpose by vector


Function Documentation

void BuildMeridCont int  maxAlong,
int  maxMerid
 

builds the conformal-mapped meridional contours, scope: Domain3D

Parameters:
maxAlong number of points along the meridional contour
maxMerid number of meridional-contours to create 2D mesh on it

void ConductMeshing2DHubLeakage  ) 
 

conducts meshing the (additional) meridional contour at the hub leakage, scope: Domain3D

Remark: For this meridional contour the parameter TIsLeakHub is set to 1.

void ConductMeshing2DShroudLeakage  ) 
 

conducts meshing the (additional) meridional contour at the shroud leakage, scope: Domain3D

Remark: For this meridional contour the parameter TIsLeakShroud is set to 1.

void ConductMeshing2DTest int  meridIndex  ) 
 

conducting the meshing of a meridional contour with exporting xml-grf2D file (control), scope: Domain3D

Parameters:
meridIndex meridional blade height index, 0 hub, maxMerid shroud (see BuildMeridCont)

void MakeFillet const char *  blockName,
AI_IndexDir_Enum  dir1,
AI_IndexDir_Enum  dir2,
double  filletRad
 

defining fillets. Fillets are made by 'rounding' block edges, scope: Domain3D

Parameters:
blockName defining the block within domain Grid2D
dir1 first index block-face that borders on the edge at the fillet
dir2 second index block-face that borders on the edge at the fillet
filletRad fillet radius

void RelaxGrid2D int  calcDistToWallLoops,
int  nRelaxMax,
double  relaxDistMin,
double  relaxDistMax
 

smoothing grid 2D, scope: Grid2D

Parameters:
calcDistToWallLoops iteration steps to get wall-distance, typical value: 3
nRelaxMax number of iteration steps for smoothing
relaxDistMin nodes nearer to a wall stay fixed
relaxDistMax nodes with more distance to a wall are undamped moved


Generated on Thu Jul 29 10:53:07 2010 for AiGrid by  doxygen 1.4.6-NO