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

Boundary integral term computation. (See Aqua::CalcServer::Boundary::DeLeffe for details) More...

#include "resources/Scripts/types/types.h"
Include dependency graph for Renormalization.cl:

Functions

__kernel void entry (const __global int *imove, const __global float *shepard, __global float *gp_rho, __global float *gp_p, __global vec *gp_u, uint N)
 Set the fields for the boundary elements using the pressure interpolated by Boundary/BI/Interpolation.cl.
 

Detailed Description

Boundary integral term computation. (See Aqua::CalcServer::Boundary::DeLeffe for details)

Function Documentation

◆ entry()

__kernel void entry ( const __global int *  imove,
const __global float *  shepard,
__global float *  gp_rho,
__global float *  gp_p,
__global vec gp_u,
uint  N 
)

Set the fields for the boundary elements using the pressure interpolated by Boundary/BI/Interpolation.cl.

Therefore the pressure value will be renormalizaed, and the density computed using the inverse of the EOS.

Parameters
imoveMoving flags.
  • imove > 0 for regular fluid particles.
  • imove = 0 for sensors.
  • imove < 0 for boundary elements/particles.
shepardShepard term \( \gamma(\mathbf{x}) = \int_{\Omega} W(\mathbf{y} - \mathbf{x}) \mathrm{d}\mathbf{x} \).
gp_rhoInterpolated density in the mirrored position \( \rho \).
gp_pInterpolated pressure in the mirrored position \( p \).
gp_uInterpolated velocity in the mirrored position \( \mathbf{u} \).
NTotal number of particles and boundary elements.
Here is the call graph for this function: