#include <boundaryCond.h>
Public Member Functions | |
boundaryCond () | |
void | initialize (int option, real t, real dt, int **pointNumberMeshU, int **pointNumberMeshV, int **pointNumberMeshW, real ***xU, real ***xV, real ***xW, real ****u, real ****v, real ****w, real ****uAux, real ****vAux, real ****wAux) |
~boundaryCond () |
This class sets theboundary conditions for three velocity components in the six outer faces. These include the Direchilet, Neumann, and periodic boundary conditions. Their corresponding boundary conditions for pressure are set in the class pressure.
boundaryCond::boundaryCond | ( | ) |
constructor
boundaryCond::~boundaryCond | ( | ) |
destructor
void boundaryCond::initialize | ( | int | option, | |
real | t, | |||
real | dt, | |||
int ** | pointNumberMeshU, | |||
int ** | pointNumberMeshV, | |||
int ** | pointNumberMeshW, | |||
real *** | xU, | |||
real *** | xV, | |||
real *** | xW, | |||
real **** | u, | |||
real **** | v, | |||
real **** | w, | |||
real **** | uAux, | |||
real **** | vAux, | |||
real **** | wAux | |||
) |
Sets the boundary conditions for three velocity components in the six outer faces. These include the Direchilet, Neumann, and periodic boundary conditions.
set velocity boundary conditions at boundary points in the coarse mesh for west, east, south north, bottom, and top faces.
option | 1 for uStar and 2 for uNew |
t | time t |
dt | time increment dt |
pointNumberMeshU | mesh for velocity u |
pointNumberMeshV | mesh for velocity v |
pointNumberMeshW | mesh for velocity w |
xU | coordinates for u |
xV | coordinates for v |
xW | coordinates for w |
u | velocity u in uNew |
v | velocity v in uNew |
w | velocity w in uNew |
uAux | velocity u in uStar |
vAux | velocity v in uStar |
wAux | velocity w in uStar |