Neko 1.99.1
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, ind_r, ind_s, ind_t, ind_e, n_x, n_y, n_z, nu, h, tau_x, tau_y, tau_z, n_nodes, lx, nelv, 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 98 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(lx, lx, lx, nelv), intent(in u,
real(kind=rp), dimension(lx, lx, lx, nelv), intent(in v,
real(kind=rp), dimension(lx, lx, lx, nelv), intent(in w,
integer, dimension(n_nodes), intent(in ind_r,
integer, dimension(n_nodes), intent(in ind_s,
integer, dimension(n_nodes), intent(in ind_t,
integer, dimension(n_nodes), intent(in ind_e,
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 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,
integer, intent(in lx,
integer, intent(in nelv,
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: