Unstruct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Unstructured Triangular Grids
 All Classes Files Functions Variables Typedefs Enumerations Macros
BoundaryConds Class Reference

Public Types

enum  FlowType { External, Internal }
 types of fluid flow
 

Public Member Functions

 BoundaryConds ()
 
 ~BoundaryConds ()
 
void AllocateMemory (const Geometry *geometry)
 

Public Attributes

FlowType flowType
 
bool vortCorr
 
REAL machinf
 
REAL alpha
 
REAL pinf
 
REAL tinf
 
REAL rhoinf
 
REAL uinf
 
REAL vinf
 
REAL qinf
 
REAL ptinl
 
REAL ttinl
 
REAL betainl
 
REAL betaout
 
REAL p12rat
 
REAL pout
 

Constructor & Destructor Documentation

BoundaryConds::BoundaryConds ( )

Initializes variables related to boundary conditions.

BoundaryConds::~BoundaryConds ( )

Finishes and cleans up the memory.

Member Function Documentation

void BoundaryConds::AllocateMemory ( const Geometry geometry)

Allocates all necessary memory.

Parameters
geometrygeometrical data (number of boundary nodes at far-field)
Exceptions
std::bad_allocfailed memory allocation

Member Data Documentation

REAL BoundaryConds::alpha

angle of attack

REAL BoundaryConds::betainl

low angle at inlet (with x-axis, positive in the clock-wise direction)

REAL BoundaryConds::betaout

approximate outlet angle (utilized for the initial guess only)

FlowType BoundaryConds::flowType

type of flow (external or internal)

REAL BoundaryConds::machinf

Mach-number at infinity (far-field)

REAL BoundaryConds::p12rat

ratio of inlet to outlet static pressure (initial guess only)

REAL BoundaryConds::pinf

static pressure at infinity

REAL BoundaryConds::pout

static pressure at outlet

REAL BoundaryConds::ptinl

total pressure at inlet

REAL BoundaryConds::qinf

total velocity (= SQRT(uinf**2+vinf**2))

REAL BoundaryConds::rhoinf

density at infinity

REAL BoundaryConds::tinf

static temperature at infinity

REAL BoundaryConds::ttinl

total temperature at inlet

REAL BoundaryConds::uinf

u-component of velocity vector at infinity

REAL BoundaryConds::vinf

v-component of velocity vector at infinity

bool BoundaryConds::vortCorr

far-field vortex correction (true or false)


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