41 use json_module,
only : json_file
72 class(
sigma_t),
intent(inout) :: this
74 type(
coef_t),
intent(in) :: coef
75 type(json_file),
intent(inout) :: json
76 character(len=:),
allocatable :: nut_name
78 character(len=:),
allocatable :: delta_type
95 class(
sigma_t),
intent(inout) :: this
97 type(
coef_t),
intent(in) :: coef
99 character(len=*),
intent(in) :: nut_name
100 character(len=*),
intent(in) :: delta_type
104 call this%init_base(
dofmap, coef, nut_name, delta_type)
112 class(
sigma_t),
intent(inout) :: this
114 call this%free_base()
121 class(
sigma_t),
intent(inout) :: this
122 real(kind=
rp),
intent(in) :: t
123 integer,
intent(in) :: tstep
Retrieves a parameter by name or assigns a provided default value. In the latter case also adds the m...
Retrieves a parameter by name or throws an error.
Defines a mapping of the degrees of freedom.
Utilities for retrieving parameters from the case files.
integer, parameter neko_bcknd_device
integer, parameter, public rp
Global precision used in computations.
Implements the CPU kernel for the sigma_t type. Following Nicoud et al. "Using singular values to bui...
subroutine, public sigma_compute_cpu(t, tstep, coef, nut, delta, c)
Compute eddy viscosity on the CPU.
Implements the device kernel for the sigma_t type.
subroutine, public sigma_compute_device(t, tstep, coef, nut, delta, c)
Compute eddy viscosity on device.
subroutine sigma_compute(this, t, tstep)
Compute eddy viscosity.
subroutine sigma_init_from_components(this, dofmap, coef, c, nut_name, delta_type)
Constructor from components.
subroutine sigma_init(this, dofmap, coef, json)
Constructor.
subroutine sigma_free(this)
Destructor for the les_model_t (base) class.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
Base abstract type for LES models based on the Boussinesq approximation.
Implements the Sigma LES model.