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

Implements the CPU kernel for the spalding_t type.

Functions/Subroutines

subroutine, public spalding_compute_cpu (u, v, w, n_x, n_y, n_z, nu, rho_w, h, tau_x, tau_y, tau_z, n_nodes, kappa, b, tstep)
 Compute the wall shear stress on cpu using Spalding's model.
real(kind=rp) function solve_cpu (u, y, guess, nu, kappa, b)
 Newton solver for the algebraic equation defined by the law on cpu.

Function/Subroutine Documentation

◆ solve_cpu()

real(kind=rp) function spalding_cpu::solve_cpu ( real(kind=rp), intent(in) u,
real(kind=rp), intent(in) y,
real(kind=rp), intent(in) guess,
real(kind=rp), intent(in) nu,
real(kind=rp), intent(in) kappa,
real(kind=rp), intent(in) b )
private
Parameters
uThe velocity value.
yThe wall-normal distance.
guessInitial guess.
nuThe molecular kinematic viscosity.
kappaThe von Karman constant.
BThe log-law intercept.

Definition at line 101 of file spalding_cpu.f90.

Here is the caller graph for this function:

◆ spalding_compute_cpu()

subroutine, public spalding_cpu::spalding_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) b,
integer, intent(in) tstep )
Parameters
tThe time value.
tstepThe current time-step.

Definition at line 46 of file spalding_cpu.f90.

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