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

Velocity extension for the computation of the Laplacian of the velocity. More...

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

Functions

__kernel void entry (const __global int *imove, const __global uint *associations, const __global vec *normal, const __global float *gp_rho, const __global vec *gp_u, __global float *rho, __global vec *u, uint N)
 Velocity extension for the computation of the Laplacian of the velocity.
 

Detailed Description

Velocity extension for the computation of the Laplacian of the velocity.

Function Documentation

◆ entry()

__kernel void entry ( const __global int *  imove,
const __global uint *  associations,
const __global vec normal,
const __global float *  gp_rho,
const __global vec gp_u,
__global float *  rho,
__global vec u,
uint  N 
)

Velocity extension for the computation of the Laplacian of the velocity.

For the Laplacian of the velocity, the normmal velocity is taken from the mirroring interpolated value (SSM), while the tangential velocity is taken directly from the body motion (U0M).

In the thesis of Benjamin Bouscasse the tangential velocity is asymetrically extended (ASM). However it is producing unphysical results.

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

Parameters
imoveMoving flags.
  • imove > 0 for regular fluid particles.
  • imove = 0 for sensors.
  • imove < 0 for boundary elements/particles.
associationsMirroring particles.
normalNormal \( \mathbf{n} \).
gp_rhoInterpolated density in the mirrored position \( \rho \).
gp_uInterpolated velocity in the mirrored position \( \mathbf{u} \).
rhoDensity \( \rho \).
uVelocity \( \mathbf{u} \).
NNumber of particles.