|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|
Implements the CPU kernel for the reichardt_t type.
Functions/Subroutines | |
| subroutine, public | reichardt_compute_cpu (u, v, w, n_x, n_y, n_z, nu, rho_w, h, tau_x, tau_y, tau_z, n_nodes, kappa, c, b1, b2, tstep) |
| Compute the wall shear stress on cpu using Reichardt's law. | |
| pure real(kind=rp) function | reichardt_up (yp, kappa, c, b1, b2) |
| Evaluate Reichardt's law of the wall, u+ as a function of y+. | |
| pure real(kind=rp) function | reichardt_dup (yp, kappa, c, b1, b2) |
| Evaluate the derivative du+/dy+ of Reichardt's law of the wall. | |
| real(kind=rp) function | solve_cpu (u, y, guess, nu, kappa, c, b1, b2) |
| Newton solver for the algebraic equation defined by the law on cpu. Solves f(utau) = utau * u+(y utau / nu) - u = 0. | |
| subroutine, public reichardt_cpu::reichardt_compute_cpu | ( | real(kind=rp), dimension(n_nodes), intent(in) | u, |
| real(kind=rp), dimension(n_nodes), intent(in) | v, | ||
| real(kind=rp), dimension(n_nodes), intent(in) | w, | ||
| real(kind=rp), dimension(n_nodes), intent(in) | n_x, | ||
| real(kind=rp), dimension(n_nodes), intent(in) | n_y, | ||
| real(kind=rp), dimension(n_nodes), intent(in) | n_z, | ||
| real(kind=rp), dimension(n_nodes), intent(in) | nu, | ||
| real(kind=rp), dimension(n_nodes), intent(in) | rho_w, | ||
| real(kind=rp), dimension(n_nodes), intent(in) | h, | ||
| real(kind=rp), dimension(n_nodes), intent(inout) | tau_x, | ||
| real(kind=rp), dimension(n_nodes), intent(inout) | tau_y, | ||
| real(kind=rp), dimension(n_nodes), intent(inout) | tau_z, | ||
| 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 ) |
| u | The x component of the sampled velocity. |
| v | The y component of the sampled velocity. |
| w | The z component of the sampled velocity. |
| n_x | The x component of the wall normal. |
| n_y | The y component of the wall normal. |
| n_z | The z component of the wall normal. |
| nu | The kinematic viscosity at the wall. |
| rho_w | The density at the wall. |
| h | The wall-normal distance of the sampling point. |
| tau_x | The x component of the wall shear stress. |
| tau_y | The y component of the wall shear stress. |
| tau_z | 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 64 of file reichardt_cpu.f90.


|
private |
| yp | The wall-normal distance in wall units. |
| 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. |
Definition at line 140 of file reichardt_cpu.f90.

|
private |
| yp | The wall-normal distance in wall units. |
| 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. |
Definition at line 126 of file reichardt_cpu.f90.

|
private |
| u | The velocity value. |
| y | The wall-normal distance. |
| guess | Initial guess. |
| nu | The molecular kinematic viscosity. |
| kappa | The von Karman constant. |
| 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. |
Definition at line 158 of file reichardt_cpu.f90.

