Device kernel wrapper for computing Deardorff SGS quantities.
|
| 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.
|
| |
◆ 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_d | Device pointer to the TKE field. |
| dTdx_d | Device pointer to the x-gradient of temperature. |
| dTdy_d | Device pointer to the y-gradient of temperature. |
| dTdz_d | Device pointer to the z-gradient of temperature. |
| a11_d | Device pointer to velocity gradient component a11. |
| a12_d | Device pointer to velocity gradient component a12. |
| a13_d | Device pointer to velocity gradient component a13. |
| a21_d | Device pointer to velocity gradient component a21. |
| a22_d | Device pointer to velocity gradient component a22. |
| a23_d | Device pointer to velocity gradient component a23. |
| a31_d | Device pointer to velocity gradient component a31. |
| a32_d | Device pointer to velocity gradient component a32. |
| a33_d | Device pointer to velocity gradient component a33. |
| delta_d | Device pointer to LES filter width field. |
| nut_d | Device pointer to eddy viscosity output field. |
| temperature_alphat | Device pointer to temperature eddy diffusivity. |
| TKE_alphat | Device pointer to TKE eddy diffusivity. |
| TKE_source | Device pointer to TKE source output field. |
| c_k | Deardorff model constant. |
| T0 | Reference temperature. |
| g | Gravity vector. |
| eps | Lower bound used to clip TKE. |
| n | Number of degrees of freedom. |
Definition at line 123 of file device_deardorff_nut.F90.