AQUAgpusph 4.1.2
|
Boundary integral friction term. More...
Macros | |
#define | __CLEARY__ 10.f |
#define | _LAPU_ lap_u[i].XYZ |
Functions | |
__kernel void | entry (const __global uint *iset, const __global int *imove, const __global vec *r, const __global vec *normal, const __global vec *u, const __global float *rho, const __global float *m, __global vec *lap_u, __global uint *icell, __global uint *ihoc, uint N, uivec4 n_cells, uint noslip_iset, float dr) |
Performs the boundary friction effect on the fluid particles. | |
Boundary integral friction term.
#define __CLEARY__ 10.f |
#define _LAPU_ lap_u[i].XYZ |
__kernel void entry | ( | const __global uint * | iset, |
const __global int * | imove, | ||
const __global vec * | r, | ||
const __global vec * | normal, | ||
const __global vec * | u, | ||
const __global float * | rho, | ||
const __global float * | m, | ||
__global vec * | lap_u, | ||
__global uint * | icell, | ||
__global uint * | ihoc, | ||
uint | N, | ||
uivec4 | n_cells, | ||
uint | noslip_iset, | ||
float | dr | ||
) |
Performs the boundary friction effect on the fluid particles.
iset | Set of particles index. |
imove | Moving flags.
|
r | Position \( \mathbf{r} \). |
normal | Normal \( \mathbf{n} \). |
u | Velocity \( \mathbf{u} \). |
rho | Density \( \rho \). |
m | Area of the boundary element \( s \). |
lap_u | Velocity laplacian \( \frac{\Delta \mathbf{u}}{rho} \). |
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 |
noslip_iset | Particles set of the boundary terms which friction should be taken into account. |
dr | Distance between particles \( \Delta r \). |