|
AQUAgpusph 5.0.4
|
Fluid particles interactions computation. More...

Macros | |
| #define | _P_ p[i] |
Functions | |
| __kernel void | entry (const __global uint *iset, const __global int *imove, const __global vec *r, const __global float *m, const __global float *rho, const __global vec *grad_p, __global float *p, __constant float *refd, usize N, LINKLIST_LOCAL_PARAMS) |
| Pressure interpolation at the boundary elements. | |
Fluid particles interactions computation.
| #define _P_ p[i] |
| __kernel void entry | ( | const __global uint * | iset, |
| const __global int * | imove, | ||
| const __global vec * | r, | ||
| const __global float * | m, | ||
| const __global float * | rho, | ||
| const __global vec * | grad_p, | ||
| __global float * | p, | ||
| __constant float * | refd, | ||
| usize | N, | ||
| LINKLIST_LOCAL_PARAMS | ) |
Pressure interpolation at the boundary elements.
The values are computed using just the fluid information. The resulting interpolated values are not renormalized yet.
Just the elements with the flag imove = -3 are considered boundary elements.
| iset | Set of particles index. |
| imove | Moving flags.
|
| r | Position \( \mathbf{r} \). |
| m | Mass \( m \). |
| rho | Density \( \rho \). |
| grad_p | Pressure gradient \( \frac{\nabla p}{rho} \). |
| p | Pressure \( p \). |
| icell | Cell where each particle is located. |
| ihoc | Head of chain for each cell (first particle found). |
| refd | Density of reference of the fluid \( \rho_0 \). |
| N | Number of particles. |
| n_cells | Number of cells in each direction |
