61 logical,
intent(in) :: if_ext
62 real(kind=
rp),
intent(in) :: t
63 integer,
intent(in) :: tstep
64 type(
coef_t),
intent(in) :: coef
65 type(
field_t),
intent(inout) :: nut
66 type(
field_t),
intent(in) :: delta
67 real(kind=
rp),
intent(in) :: c_s
68 type(
field_t),
pointer :: u, v, w
70 type(
field_t),
pointer :: s11, s22, s33, s12, s13, s23
71 integer :: temp_indices(6)
74 if (if_ext .eqv. .true.)
then
92 call strain_rate(s11%x_d, s22%x_d, s33%x_d, s12%x_d, s13%x_d, s23%x_d, &
93 u%x_d, v%x_d, w%x_d, coef)
103 s12%x_d, s13%x_d, s23%x_d, &
104 delta%x_d, nut%x_d, coef%mult_d, &
108 call device_col2(nut%x_d, coef%mult_d, nut%dof%size())
subroutine, public device_smagorinsky_nut_compute(s11_d, s22_d, s33_d, s12_d, s13_d, s23_d, delta_d, nut_d, mult_d, c_s, n)
Compute the eddy viscosity field for the Sigma model indevice.
subroutine, public smagorinsky_compute_device(if_ext, t, tstep, coef, nut, delta, c_s)
Compute eddy viscosity on the device.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...