Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
cai_sagaut_model_ii_kernel.h File Reference
#include <cfloat>
#include <algorithm>
#include <cmath>
Include dependency graph for cai_sagaut_model_ii_kernel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
__global__ void cai_sagaut_model_ii_compute (const T *__restrict__ u_d, const T *__restrict__ v_d, const T *__restrict__ w_d, const int *__restrict__ ind_r_d, const int *__restrict__ ind_s_d, const int *__restrict__ ind_t_d, const int *__restrict__ ind_e_d, const T *__restrict__ n_x_d, const T *__restrict__ n_y_d, const T *__restrict__ n_z_d, const T *__restrict__ nu_d, const T *__restrict__ rho_w_d, const T *__restrict__ h_d, T *__restrict__ tau_x_d, T *__restrict__ tau_y_d, T *__restrict__ tau_z_d, const int n_nodes, const int lx, const T kappa, const T B, const T p, const T s)
 

Function Documentation

◆ cai_sagaut_model_ii_compute()

template<typename T >
__global__ void cai_sagaut_model_ii_compute ( const T *__restrict__  u_d,
const T *__restrict__  v_d,
const T *__restrict__  w_d,
const int *__restrict__  ind_r_d,
const int *__restrict__  ind_s_d,
const int *__restrict__  ind_t_d,
const int *__restrict__  ind_e_d,
const T *__restrict__  n_x_d,
const T *__restrict__  n_y_d,
const T *__restrict__  n_z_d,
const T *__restrict__  nu_d,
const T *__restrict__  rho_w_d,
const T *__restrict__  h_d,
T *__restrict__  tau_x_d,
T *__restrict__  tau_y_d,
T *__restrict__  tau_z_d,
const int  n_nodes,
const int  lx,
const T  kappa,
const T  B,
const T  p,
const T  s 
)

HIP kernel for the Cai & Sagaut Model-II wall model.

Parameters
u_dThe sampled x-velocity field.
v_dThe sampled y-velocity field.
w_dThe sampled z-velocity field.
ind_r_dThe r-index array for sampled GLL points.
ind_s_dThe s-index array for sampled GLL points.
ind_t_dThe t-index array for sampled GLL points.
ind_e_dThe element-index array for sampled GLL points.
n_x_dThe x-component of the wall normals.
n_y_dThe y-component of the wall normals.
n_z_dThe z-component of the wall normals.
nu_dThe sampled kinematic viscosity at wall points.
rho_w_dThe sampled density at wall points.
h_dThe wall-model sampling distances.
tau_x_dThe x-component of the wall shear stress.
tau_y_dThe y-component of the wall shear stress.
tau_z_dThe z-component of the wall shear stress.
n_nodesThe number of wall points.
lxThe number of GLL points per direction.
kappaThe von Karman coefficient.
BThe log-law intercept.
pThe blending exponent.
sThe blending scale.

Definition at line 68 of file cai_sagaut_model_ii_kernel.h.

Here is the call graph for this function: