#include <uStar.h>
Public Member Functions | |
| uStar () | |
| void | initialize (int numberOfPatches, real t, real dt, real ReynoldsNumber, int cellNumberPerPatch, int **StartIndex, int **pointNumberMeshU, int **pointNumberMeshV, int **pointNumberMeshW, int dimension, real ***xU, real ***xV, real ***xW, real *h, real ****u, real ****uIter, int ****uCagePoint, real ****v, real ****vIter, int ****vCagePoint, real ****w, real ****wIter, int ****wCagePoint, real ****uAux, real ****vAux, real ****wAux) |
| Calculate the predicted velocity u*. | |
| ~uStar () | |
This class is used to calculate the predicted velocity u*.
| uStar::uStar | ( | ) |
constructor
| uStar::~uStar | ( | ) |
destructor
| void uStar::initialize | ( | int | numberOfPatches, | |
| real | t, | |||
| real | dt, | |||
| real | ReynoldsNumber, | |||
| int | cellNumberPerPatch, | |||
| int ** | StartIndex, | |||
| int ** | pointNumberMeshU, | |||
| int ** | pointNumberMeshV, | |||
| int ** | pointNumberMeshW, | |||
| int | dimension, | |||
| real *** | xU, | |||
| real *** | xV, | |||
| real *** | xW, | |||
| real * | h, | |||
| real **** | u, | |||
| real **** | uIter, | |||
| int **** | uCagePoint, | |||
| real **** | v, | |||
| real **** | vIter, | |||
| int **** | vCagePoint, | |||
| real **** | w, | |||
| real **** | wIter, | |||
| int **** | wCagePoint, | |||
| real **** | uAux, | |||
| real **** | vAux, | |||
| real **** | wAux | |||
| ) |
Calculate the predicted velocity u*.
Based on the given velocity field in the time step n, this class is used to calculate the predicted velocity u*, which is the first step in the projection meth.
| numberOfPatches | number of patches |
| t | time |
| dt | time increment |
| ReynoldsNumber | Reynolds number |
| cellNumberPerPatch | cell numbers per patch surrounding the sphere |
| StartIndex | used to put the refined mesh |
| pointNumberMeshU | mesh points for u |
| pointNumberMeshV | mesh points for v |
| pointNumberMeshW | mesh points for w |
| dimension | dimension |
| xU | coordinates of u |
| xV | coordinates of v |
| xW | coordinates of w |
| h | space step |
| u | velocity u |
| uIter | velocity u in the iteration |
| uCagePoint | cage points for u |
| v | velocity v |
| vIter | velocity v in the iteration |
| vCagePoint | cage points for v |
| w | velocity w |
| wIter | velocity w in the iteration |
| wCagePoint | cage points for w |
| uAux | predicted u |
| vAux | predicted v |
| wAux | predicted w |
1.5.6