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

Macros | |
| #define | __CLEARY__ 8.f |
| #define | _GRADP_ grad_p[i].XYZ |
| #define | _DIVU_ div_u[i] |
Functions | |
| __kernel void | entry (const __global uint *iset, const __global int *imove, const __global vec *r, const __global vec *u, const __global float *rho, const __global float *m, const __global float *p, __constant float *refd, __global vec *grad_p, __global float *div_u, usize N, vec g, LINKLIST_LOCAL_PARAMS) |
| Fluid particles interactions with the ghost ones. | |
Fluid-Ghost particles interactions computation.
| #define __CLEARY__ 8.f |
| #define _DIVU_ div_u[i] |
| #define _GRADP_ grad_p[i].XYZ |
| __kernel void entry | ( | const __global uint * | iset, |
| const __global int * | imove, | ||
| const __global vec * | r, | ||
| const __global vec * | u, | ||
| const __global float * | rho, | ||
| const __global float * | m, | ||
| const __global float * | p, | ||
| __constant float * | refd, | ||
| __global vec * | grad_p, | ||
| __global float * | div_u, | ||
| usize | N, | ||
| vec | g, | ||
| LINKLIST_LOCAL_PARAMS | ) |
Fluid particles interactions with the ghost ones.
Compute the differential operators except the Laplacian of the velocity already computed, taking into account just the fluid-ghost interactions.
| iset | Set of particles index. |
| imove | Moving flags.
|
| r | Position \( \mathbf{r} \). |
| u | Velocity \( \mathbf{u} \). |
| rho | Density \( \rho \). |
| m | Mass \( m \). |
| p | Pressure \( p \). |
| refd | Density of reference \( \rho_0 \) (one per set of particles) |
| grad_p | Pressure gradient \( \frac{\nabla p}{rho} \). |
| 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 |
| g | Gravity acceleration \( \mathbf{g} \). |
