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

Device kernel wrapper for computing Deardorff SGS quantities.

Data Types

interface  hip_deardorff_nut_compute
 

Functions/Subroutines

subroutine, public device_deardorff_nut_compute (tke_d, dtdx_d, dtdy_d, dtdz_d, a11_d, a12_d, a13_d, a21_d, a22_d, a23_d, a31_d, a32_d, a33_d, delta_d, nut_d, temperature_alphat, tke_alphat, tke_source, c_k, t0, g, eps, n)
 Compute Deardorff SGS quantities on the device backend.
 

Function/Subroutine Documentation

◆ device_deardorff_nut_compute()

subroutine, public device_deardorff_nut::device_deardorff_nut_compute ( type(c_ptr)  tke_d,
type(c_ptr)  dtdx_d,
type(c_ptr)  dtdy_d,
type(c_ptr)  dtdz_d,
type(c_ptr)  a11_d,
type(c_ptr)  a12_d,
type(c_ptr)  a13_d,
type(c_ptr)  a21_d,
type(c_ptr)  a22_d,
type(c_ptr)  a23_d,
type(c_ptr)  a31_d,
type(c_ptr)  a32_d,
type(c_ptr)  a33_d,
type(c_ptr)  delta_d,
type(c_ptr)  nut_d,
type(c_ptr)  temperature_alphat,
type(c_ptr)  tke_alphat,
type(c_ptr)  tke_source,
real(kind=rp)  c_k,
real(kind=rp)  t0,
real(kind=rp), dimension(3)  g,
real(kind=rp)  eps,
integer  n 
)
Parameters
TKE_dDevice pointer to the TKE field.
dTdx_dDevice pointer to the x-gradient of temperature.
dTdy_dDevice pointer to the y-gradient of temperature.
dTdz_dDevice pointer to the z-gradient of temperature.
a11_dDevice pointer to velocity gradient component a11.
a12_dDevice pointer to velocity gradient component a12.
a13_dDevice pointer to velocity gradient component a13.
a21_dDevice pointer to velocity gradient component a21.
a22_dDevice pointer to velocity gradient component a22.
a23_dDevice pointer to velocity gradient component a23.
a31_dDevice pointer to velocity gradient component a31.
a32_dDevice pointer to velocity gradient component a32.
a33_dDevice pointer to velocity gradient component a33.
delta_dDevice pointer to LES filter width field.
nut_dDevice pointer to eddy viscosity output field.
temperature_alphatDevice pointer to temperature eddy diffusivity.
TKE_alphatDevice pointer to TKE eddy diffusivity.
TKE_sourceDevice pointer to TKE source output field.
c_kDeardorff model constant.
T0Reference temperature.
gGravity vector.
epsLower bound used to clip TKE.
nNumber of degrees of freedom.

Definition at line 123 of file device_deardorff_nut.F90.

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