AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
NoSlip.cl File Reference

Boundary integral friction term. More...

Include dependency graph for NoSlip.cl:

Macros

#define __CLEARY__   8.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, usize N, uint noslip_iset, float dr, LINKLIST_LOCAL_PARAMS)
 Performs the boundary friction effect on the fluid particles.

Detailed Description

Boundary integral friction term.

Macro Definition Documentation

◆ __CLEARY__

#define __CLEARY__   8.f

◆ _LAPU_

#define _LAPU_   lap_u[i].XYZ

Function Documentation

◆ entry()

__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,
usize N,
uint noslip_iset,
float dr,
LINKLIST_LOCAL_PARAMS  )

Performs the boundary friction effect on the fluid particles.

Parameters
isetSet of particles index.
imoveMoving flags.
  • imove > 0 for regular fluid particles.
  • imove = 0 for sensors.
  • imove < 0 for boundary elements/particles.
rPosition \( \mathbf{r} \).
normalNormal \( \mathbf{n} \).
uVelocity \( \mathbf{u} \).
rhoDensity \( \rho \).
mArea of the boundary element \( s \).
lap_uVelocity laplacian \( \frac{\Delta \mathbf{u}}{rho} \).
icellCell where each particle is located.
ihocHead of chain for each cell (first particle found).
NNumber of particles.
n_cellsNumber of cells in each direction
noslip_isetParticles set of the boundary terms which friction should be taken into account.
drDistance between particles \( \Delta r \).
Here is the call graph for this function: