AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Functions
FreeSlip.cl File Reference

Velocity extension for the computation of the Laplacian of the velocity, when free-slip should be enforced. More...

#include "resources/Scripts/types/types.h"
#include "resources/Scripts/KernelFunctions/Kernel.h"
Include dependency graph for FreeSlip.cl:

Functions

__kernel void entry (const __global uint *iset, const __global int *imove, const __global uint *associations, const __global vec *gp_u, __global vec *u, uint N, uint freeslip_iset)
 Velocity extension for the computation of the Laplacian of the velocity, when free-slip should be enforced.
 

Detailed Description

Velocity extension for the computation of the Laplacian of the velocity, when free-slip should be enforced.

Function Documentation

◆ entry()

__kernel void entry ( const __global uint *  iset,
const __global int *  imove,
const __global uint *  associations,
const __global vec gp_u,
__global vec u,
uint  N,
uint  freeslip_iset 
)

Velocity extension for the computation of the Laplacian of the velocity, when free-slip should be enforced.

In this case, both the normal and the tangential velocities are taken from the mirroring interpolated value (SSM).

Herein the density is also got from the mirroring interpolated value (SSM)

Parameters
isetSet of particles index.
imoveMoving flags.
  • imove > 0 for regular fluid particles.
  • imove = 0 for sensors.
  • imove < 0 for boundary elements/particles.
associationsMirroring particles.
gp_uInterpolated velocity in the mirrored position \( \mathbf{u} \).
uVelocity \( \mathbf{u} \).
NNumber of particles.
freeslip_isetParticles set which should be considered free-slip.