AQUAgpusph 4.1.2
|
Compute the Laplacian of the velocity at the boundary. More...
Macros | |
#define | __CLEARY__ 10.f |
#define | _LAPU_ lap_u[i].XYZ |
Functions | |
__kernel void | freeslip (const __global int *imove, const __global vec *r, const __global vec *u, const __global float *rho, const __global float *m, __global vec *lap_u, const __global uint *icell, const __global uint *ihoc, uint N, uivec4 n_cells) |
Compute the Laplacian of the velocity at the boundary, when free-slip boundary condition is considered. | |
Compute the Laplacian of the velocity at the boundary.
#define __CLEARY__ 10.f |
#define _LAPU_ lap_u[i].XYZ |
__kernel void freeslip | ( | const __global int * | imove, |
const __global vec * | r, | ||
const __global vec * | u, | ||
const __global float * | rho, | ||
const __global float * | m, | ||
__global vec * | lap_u, | ||
const __global uint * | icell, | ||
const __global uint * | ihoc, | ||
uint | N, | ||
uivec4 | n_cells | ||
) |
Compute the Laplacian of the velocity at the boundary, when free-slip boundary condition is considered.
imove | Moving flags.
|
r | Position \( \mathbf{r} \). |
u | Velocity \( \mathbf{u} \). |
rho | Density \( \rho \). |
m | Mass \( m \). |
p | Pressure \( p \). |
grad_p | Pressure gradient \( \frac{\nabla p}{rho} \). |
lap_u | Velocity laplacian \( \Delta \mathbf{u} \). |
div_u | Velocity divergence \( \rho \nabla \cdot \mathbf{u} \). |
icell | Cell where each particle is located. |
ihoc | Head of chain for each cell (first particle found). |
N | Number of particles. |
n_cells | Number of cells in each direction |