Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
reichardt_device Module Reference

Implements the device kernel for the reichardt_t type.

Data Types

interface  hip_reichardt_compute

Functions/Subroutines

subroutine, public reichardt_compute_device (u_d, v_d, w_d, n_x_d, n_y_d, n_z_d, nu_d, rho_w_d, h_d, tau_x_d, tau_y_d, tau_z_d, n_nodes, kappa, c, b1, b2, tstep)
 Compute the wall shear stress on device using Reichardt's law.

Function/Subroutine Documentation

◆ reichardt_compute_device()

subroutine, public reichardt_device::reichardt_compute_device ( type(c_ptr), intent(in) u_d,
type(c_ptr), intent(in) v_d,
type(c_ptr), intent(in) w_d,
type(c_ptr), intent(in) n_x_d,
type(c_ptr), intent(in) n_y_d,
type(c_ptr), intent(in) n_z_d,
type(c_ptr), intent(in) nu_d,
type(c_ptr), intent(in) rho_w_d,
type(c_ptr), intent(in) h_d,
type(c_ptr), intent(inout) tau_x_d,
type(c_ptr), intent(inout) tau_y_d,
type(c_ptr), intent(inout) tau_z_d,
integer, intent(in) n_nodes,
real(kind=rp), intent(in) kappa,
real(kind=rp), intent(in) c,
real(kind=rp), intent(in) b1,
real(kind=rp), intent(in) b2,
integer, intent(in) tstep )
Parameters
u_dThe x component of the sampled velocity.
v_dThe y component of the sampled velocity.
w_dThe z component of the sampled velocity.
n_x_dThe x component of the wall normal.
n_y_dThe y component of the wall normal.
n_z_dThe z component of the wall normal.
nu_dThe kinematic viscosity at the wall.
rho_w_dThe density at the wall.
h_dThe wall-normal distance of the sampling point.
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 nodes.
kappaThe von Karman coefficient.
CThe amplitude of the exponential correction.
B1The damping length scale, in wall units.
B2The decay length scale of the second exponential term, in wall units.
tstepThe current time-step.

Definition at line 133 of file reichardt_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function: