initStage Class Reference

Calculate the initial stage using the velcity at cage points from cageInit. More...

#include <initStage.h>

List of all members.

Public Member Functions

 initStage ()
void solve (int nPatch, real &t, real &dt, real Re, int nTruncate, int cellNumberPerPatch, int **StartIndex, real *xParticleCenter, real *yParticleCenter, real *zParticleCenter, int **pointNumberMeshU, int **pointNumberMeshV, int **pointNumberMeshW, int **pointNumberMeshP, int dim, real ***xU, real ***xV, real ***xW, real ***xP, real *h, real ****u, int ****uUnknowns, real ****v, int ****vUnknowns, real ****w, int ****wUnknowns, real ****p, real ****uAux, real ****vAux, real ****wAux, real ****fp, real ****exactP, int ****pUnknowns, int ****uCagePoint, int ****vCagePoint, int ****wCagePoint, int ****pCagePoint, int **nCell, PetscLinearSolver &pSolver, int &zeroInitialGuess)
 Calculate the initial stage using the velcity at cage points from cageInit.
 ~initStage ()


Detailed Description

Calculate the initial stage using the velcity at cage points from cageInit.

This class is similar to NSSolver. except that the velocity at cage points is from cageInit rather than from cage.


Constructor & Destructor Documentation

initStage::initStage (  ) 

constructor

initStage::~initStage (  ) 

destructor


Member Function Documentation

void initStage::solve ( int  nPatch,
real &  t,
real &  dt,
real  Re,
int  nTruncate,
int  cellNumberPerPatch,
int **  StartIndex,
real *  xParticleCenter,
real *  yParticleCenter,
real *  zParticleCenter,
int **  pointNumberMeshU,
int **  pointNumberMeshV,
int **  pointNumberMeshW,
int **  pointNumberMeshP,
int  dim,
real ***  xU,
real ***  xV,
real ***  xW,
real ***  xP,
real *  h,
real ****  u,
int ****  uUnknowns,
real ****  v,
int ****  vUnknowns,
real ****  w,
int ****  wUnknowns,
real ****  p,
real ****  uAux,
real ****  vAux,
real ****  wAux,
real ****  fp,
real ****  exactP,
int ****  pUnknowns,
int ****  uCagePoint,
int ****  vCagePoint,
int ****  wCagePoint,
int ****  pCagePoint,
int **  nCell,
PetscLinearSolver pSolver,
int &  zeroInitialGuess 
)

Calculate the initial stage using the velcity at cage points from cageInit.

This class is similar to NSSolver. except that the velocity at cage points is from cageInit rather than from cage.

Parameters:
nPatch  number of patches
t  time
dt  time increment
Re  Reynolds number
nTruncate  the order for truncated spectral analytical solution
cellNumberPerPatch  cell numbers per patch surrounding the sphere
StartIndex  used to put the refined mesh
xParticleCenter  x coordinate of particle center
yParticleCenter  y coordinate of particle center
zParticleCenter  z coordinate of particle center
pointNumberMeshU  mesh points for u
pointNumberMeshV  mesh points for v
pointNumberMeshW  mesh points for w
pointNumberMeshP  mesh points for p
dim  dimension
xU  coordinates of u
xV  coordinates of v
xW  coordinates of w
xP  coordinates of p
h  space step
u  velocity u
uUnknowns  mesh points for u
v  velocity v
vUnknowns  mesh points for v
w  velocity w
wUnknowns  mesh points for w
p  pressure
uAux  predicted u
vAux  predicted v
wAux  predicted w
fp  extra force
exactP  exact pressure
pUnknowns  mesh points for p
uCagePoint  cage points for u
vCagePoint  cage points for v
wCagePoint  cage points for w
pCagePoint  cage points for p
nCell  number of cells
pSolver  PETSC linear solver
zeroInitialGuess  if use zero as the initial guess for pressure


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

Generated on Tue May 18 21:30:43 2010 by  doxygen 1.5.6