Skip to content

adam_fnl_turbulence_kernels ​

ADAM, FNL device kernels of the dynamic eddy viscosity (issue #119, T1).

Device twins of adam_turbulence_kernels: see there. Device arrays are transposed, (b, i, j, k, v).

Source: src/lib/fnl/adam_fnl_turbulence_kernels.F90

Dependencies

Contents ​

Subroutines ​

compute_mu_t_vreman_dev ​

Vreman.

fortran
subroutine compute_mu_t_vreman_dev(ir, iu, ni, nj, nk, ngc, blocks_number, c, dxyz_gpu, is_null, q_aux_gpu, mu_t_gpu)

Arguments

NameTypeIntentAttributesDescription
irinteger(kind=I4P)inAuxiliary indexes of the density and of u.
iuinteger(kind=I4P)inAuxiliary indexes of the density and of u.
niinteger(kind=I4P)inGrid dimensions.
njinteger(kind=I4P)inGrid dimensions.
nkinteger(kind=I4P)inGrid dimensions.
ngcinteger(kind=I4P)inGrid dimensions.
blocks_numberinteger(kind=I4P)inActual blocks number.
creal(kind=R8P)inModel constant.
dxyz_gpureal(kind=R8P)inBlocks space steps [nb, 3].
is_nulllogicalinNull directions.
q_aux_gpureal(kind=R8P)inAuxiliary variables.
mu_t_gpureal(kind=R8P)inoutEddy viscosity, [nb, i, j, k, 1].

Call graph

compute_mu_t_wale_dev ​

WALE.

fortran
subroutine compute_mu_t_wale_dev(ir, iu, ni, nj, nk, ngc, blocks_number, c, dxyz_gpu, is_null, q_aux_gpu, mu_t_gpu)

Arguments

NameTypeIntentAttributesDescription
irinteger(kind=I4P)inAuxiliary indexes of the density and of u.
iuinteger(kind=I4P)inAuxiliary indexes of the density and of u.
niinteger(kind=I4P)inGrid dimensions.
njinteger(kind=I4P)inGrid dimensions.
nkinteger(kind=I4P)inGrid dimensions.
ngcinteger(kind=I4P)inGrid dimensions.
blocks_numberinteger(kind=I4P)inActual blocks number.
creal(kind=R8P)inModel constant.
dxyz_gpureal(kind=R8P)inBlocks space steps [nb, 3].
is_nulllogicalinNull directions.
q_aux_gpureal(kind=R8P)inAuxiliary variables.
mu_t_gpureal(kind=R8P)inoutEddy viscosity, [nb, i, j, k, 1].

Call graph

compute_mu_t_sigma_dev ​

Sigma.

fortran
subroutine compute_mu_t_sigma_dev(ir, iu, ni, nj, nk, ngc, blocks_number, c, dxyz_gpu, is_null, q_aux_gpu, mu_t_gpu)

Arguments

NameTypeIntentAttributesDescription
irinteger(kind=I4P)inAuxiliary indexes of the density and of u.
iuinteger(kind=I4P)inAuxiliary indexes of the density and of u.
niinteger(kind=I4P)inGrid dimensions.
njinteger(kind=I4P)inGrid dimensions.
nkinteger(kind=I4P)inGrid dimensions.
ngcinteger(kind=I4P)inGrid dimensions.
blocks_numberinteger(kind=I4P)inActual blocks number.
creal(kind=R8P)inModel constant.
dxyz_gpureal(kind=R8P)inBlocks space steps [nb, 3].
is_nulllogicalinNull directions.
q_aux_gpureal(kind=R8P)inAuxiliary variables.
mu_t_gpureal(kind=R8P)inoutEddy viscosity, [nb, i, j, k, 1].

Call graph