#include <vorticity.h>
Public Member Functions | |
vorticity () | |
void | calOmegaFromUVW (int numberOfPatches, int **pointNumberMeshOmegaX, int **pointNumberMeshOmegaY, int **pointNumberMeshOmegaZ, real *h, real ****u, real ****v, real ****w, real ****omegaX, real ****omegaY, real ****omegaZ) |
Calculate vorticity. | |
~vorticity () |
This class is used to calculate vorticity from the known velocity field.
vorticity::vorticity | ( | ) |
constructor
vorticity::~vorticity | ( | ) |
destructor
void vorticity::calOmegaFromUVW | ( | int | numberOfPatches, | |
int ** | pointNumberMeshOmegaX, | |||
int ** | pointNumberMeshOmegaY, | |||
int ** | pointNumberMeshOmegaZ, | |||
real * | h, | |||
real **** | u, | |||
real **** | v, | |||
real **** | w, | |||
real **** | omegaX, | |||
real **** | omegaY, | |||
real **** | omegaZ | |||
) |
Calculate vorticity.
This class is used to calculate vorticity. The vorticity information is needed by the Physalis method to impose the no-slip boundary conditions on the sphere.
numberOfPatches | number of patches |
pointNumberMeshOmegaX | mesh points for vorticity omegaX |
pointNumberMeshOmegaY | mesh points for vorticity omegaY |
pointNumberMeshOmegaZ | mesh points for vorticity omegaZ |
h | space step |
u | velocity u |
v | velocity v |
w | velocity w |
omegaX | vorticity omegaX |
omegaY | vorticity omegaY |
omegaZ | vorticity omegaZ |