CG  Version 25
Macros | Functions
cnsBC.C File Reference
#include "Cgcns.h"
#include "CnsParameters.h"
#include "App.h"
#include "FlowSolutions.h"
#include "ParallelUtility.h"
#include "ParallelGridUtility.h"
#include "SurfaceEquation.h"
Include dependency graph for cnsBC.C:

Macros

#define ForBoundary(side, axis)   for( int axis=0; axis<mg.numberOfDimensions(); axis++ ) for( int side=0; side<=1; side++ )
 
#define cnsSlipWallBC   EXTERN_C_NAME(cnsslipwallbc)
 
#define cnsSlipWallBC2   EXTERN_C_NAME(cnsslipwallbc2)
 
#define cnsFarFieldBC   EXTERN_C_NAME(cnsfarfieldbc)
 
#define cnsNoSlipWallBC   EXTERN_C_NAME(cnsnoslipwallbc)
 
#define cnsNoSlipBC   EXTERN_C_NAME(cnsnoslipbc)
 
#define INOUTFLOWEXP   EXTERN_C_NAME(inoutflowexp)
 
#define ogfTaylor   EXTERN_C_NAME(ogftaylor)
 
#define mixedRHS(component, side, axis, grid)   bcData(component+numberOfComponents*(0),side,axis,grid)
 
#define mixedCoeff(component, side, axis, grid)   bcData(component+numberOfComponents*(1),side,axis,grid)
 
#define mixedNormalCoeff(component, side, axis, grid)   bcData(component+numberOfComponents*(2),side,axis,grid)
 

Functions

void cnsSlipWallBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &u2, const real &gv, const real &gv2, const real &gtt, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &exact, const real &uKnown, const DataBase *pdb, const int &ierr)
 
void cnsSlipWallBC2 (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &u2, const real &gv, const real &gv2, const real &gtt, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &interfaceType, const int &exact, const real &uKnown, const DataBase *pdb, const int &ierr)
 
void cnsFarFieldBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &u2, const real &gv, const real &gv2, const real &gtt, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &exact, const real &uKnown, const int &ierr)
 
void cnsNoSlipWallBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const real *u, const real *x, const real *aj, const real *rsxy, const int *ipar, const real *rpar, const int *indexRange, const int *bc)
 
void cnsNoSlipBC (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &ipar, const real &rpar, real &u, const real &gv, const real &gtt, const int &mask, const real &x, const real &rsxy, const int &bc, const int &indexRange, const int &exact, const real &uKnown, const int &ierr)
 
void INOUTFLOWEXP (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const real *ul, const real *x, const real *aj, const real *rsxy, const int *ipar, const real *rpar, const int *indexRange, const int *bc, const real *bd, const int *bt, int &nbd)
 
void ogfTaylor (OGFunction *&ep, const real &x, const real &y, const real &z, const real &t, const int &nd, real *ud)
 
int checkSolution (realMappedGridFunction &u, const aString &title, bool printResults, int grid, real &maxVal, bool printResultsOnFailure=false)
 
void checkNormalBC (int grid, MappedGrid &mg, realMappedGridFunction &u, Parameters &parameters)
 

Macro Definition Documentation

#define cnsFarFieldBC   EXTERN_C_NAME(cnsfarfieldbc)
#define cnsNoSlipBC   EXTERN_C_NAME(cnsnoslipbc)
#define cnsNoSlipWallBC   EXTERN_C_NAME(cnsnoslipwallbc)
#define cnsSlipWallBC   EXTERN_C_NAME(cnsslipwallbc)
#define cnsSlipWallBC2   EXTERN_C_NAME(cnsslipwallbc2)
#define ForBoundary (   side,
  axis 
)    for( int axis=0; axis<mg.numberOfDimensions(); axis++ ) for( int side=0; side<=1; side++ )
#define INOUTFLOWEXP   EXTERN_C_NAME(inoutflowexp)
#define mixedCoeff (   component,
  side,
  axis,
  grid 
)    bcData(component+numberOfComponents*(1),side,axis,grid)
#define mixedNormalCoeff (   component,
  side,
  axis,
  grid 
)    bcData(component+numberOfComponents*(2),side,axis,grid)
#define mixedRHS (   component,
  side,
  axis,
  grid 
)    bcData(component+numberOfComponents*(0),side,axis,grid)
#define ogfTaylor   EXTERN_C_NAME(ogftaylor)

Function Documentation

void checkNormalBC ( int  grid,
MappedGrid &  mg,
realMappedGridFunction &  u,
Parameters parameters 
)
int checkSolution ( realMappedGridFunction &  u,
const aString &  title,
bool  printResults,
int  grid,
real &  maxVal,
bool  printResultsOnFailure = false 
)
void cnsFarFieldBC ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const int &  ipar,
const real &  rpar,
real &  u,
const real &  u2,
const real &  gv,
const real &  gv2,
const real &  gtt,
const int &  mask,
const real &  x,
const real &  rsxy,
const int &  bc,
const int &  indexRange,
const int &  exact,
const real &  uKnown,
const int &  ierr 
)
void cnsNoSlipBC ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const int &  ipar,
const real &  rpar,
real &  u,
const real &  gv,
const real &  gtt,
const int &  mask,
const real &  x,
const real &  rsxy,
const int &  bc,
const int &  indexRange,
const int &  exact,
const real &  uKnown,
const int &  ierr 
)
void cnsNoSlipWallBC ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const real *  u,
const real *  x,
const real *  aj,
const real *  rsxy,
const int *  ipar,
const real *  rpar,
const int *  indexRange,
const int *  bc 
)
void cnsSlipWallBC ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const int &  ipar,
const real &  rpar,
real &  u,
const real &  u2,
const real &  gv,
const real &  gv2,
const real &  gtt,
const int &  mask,
const real &  x,
const real &  rsxy,
const int &  bc,
const int &  indexRange,
const int &  exact,
const real &  uKnown,
const DataBase *  pdb,
const int &  ierr 
)
void cnsSlipWallBC2 ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const int &  ipar,
const real &  rpar,
real &  u,
const real &  u2,
const real &  gv,
const real &  gv2,
const real &  gtt,
const int &  mask,
const real &  x,
const real &  rsxy,
const int &  bc,
const int &  indexRange,
const int &  interfaceType,
const int &  exact,
const real &  uKnown,
const DataBase *  pdb,
const int &  ierr 
)
void INOUTFLOWEXP ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const real *  ul,
const real *  x,
const real *  aj,
const real *  rsxy,
const int *  ipar,
const real *  rpar,
const int *  indexRange,
const int *  bc,
const real *  bd,
const int *  bt,
int &  nbd 
)
void ogfTaylor ( OGFunction *&  ep,
const real &  x,
const real &  y,
const real &  z,
const real &  t,
const int &  nd,
real *  ud 
)

References gm1, n, r, rx, rxx, ry, u, uc, ut(), utt, ux, uxx, uy, v, vc, vt, and vtt.