Implements the device kernel for the reichardt_t type.
|
| 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.
|
◆ 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_d | The x component of the sampled velocity. |
| v_d | The y component of the sampled velocity. |
| w_d | The z component of the sampled velocity. |
| n_x_d | The x component of the wall normal. |
| n_y_d | The y component of the wall normal. |
| n_z_d | The z component of the wall normal. |
| nu_d | The kinematic viscosity at the wall. |
| rho_w_d | The density at the wall. |
| h_d | The wall-normal distance of the sampling point. |
| 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 nodes. |
| kappa | The von Karman coefficient. |
| C | The amplitude of the exponential correction. |
| B1 | The damping length scale, in wall units. |
| B2 | The decay length scale of the second exponential term, in wall units. |
| tstep | The current time-step. |
Definition at line 133 of file reichardt_device.F90.