|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
#include <cfloat>#include <algorithm>#include <cmath>

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) |
| __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 | ||
| ) |
CUDA kernel for the Cai & Sagaut Model-II wall model.
| u_d | The sampled x-velocity field. |
| v_d | The sampled y-velocity field. |
| w_d | The sampled z-velocity field. |
| ind_r_d | The r-index array for sampled GLL points. |
| ind_s_d | The s-index array for sampled GLL points. |
| ind_t_d | The t-index array for sampled GLL points. |
| ind_e_d | The element-index array for sampled GLL points. |
| n_x_d | The x-component of the wall normals. |
| n_y_d | The y-component of the wall normals. |
| n_z_d | The z-component of the wall normals. |
| nu_d | The sampled kinematic viscosity at wall points. |
| rho_w_d | The sampled density at wall points. |
| h_d | The wall-model sampling distances. |
| tau_x_d | The x-component of the wall shear stress. |
| tau_y_d | The y-component of the wall shear stress. |
| tau_z_d | The z-component of the wall shear stress. |
| n_nodes | The number of wall points. |
| lx | The number of GLL points per direction. |
| kappa | The von Karman coefficient. |
| B | The log-law intercept. |
| p | The blending exponent. |
| s | The blending scale. |
Definition at line 68 of file cai_sagaut_model_ii_kernel.h.
