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

Compute the Laplacian of the velocity at the boundary. More...

Include dependency graph for LapU.cl:

Macros

#define __CLEARY__   8.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, usize N, LINKLIST_LOCAL_PARAMS)
 Compute the Laplacian of the velocity at the boundary, when free-slip boundary condition is considered.

Detailed Description

Compute the Laplacian of the velocity at the boundary.

Macro Definition Documentation

◆ __CLEARY__

#define __CLEARY__   8.f

◆ _LAPU_

#define _LAPU_   lap_u[i].XYZ

Function Documentation

◆ freeslip()

__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,
usize N,
LINKLIST_LOCAL_PARAMS  )

Compute the Laplacian of the velocity at the boundary, when free-slip boundary condition is considered.

Parameters
imoveMoving flags.
  • imove > 0 for regular fluid particles.
  • imove = 0 for sensors.
  • imove < 0 for boundary elements/particles.
rPosition \( \mathbf{r} \).
uVelocity \( \mathbf{u} \).
rhoDensity \( \rho \).
mMass \( m \).
pPressure \( p \).
grad_pPressure gradient \( \frac{\nabla p}{rho} \).
lap_uVelocity laplacian \( \Delta \mathbf{u} \).
div_uVelocity divergence \( \rho \nabla \cdot \mathbf{u} \).
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
Here is the call graph for this function: