41 character(len=20) :: LES_KNOWN_TYPES(4) = [character(len=20) :: &
44 "dynamic_smagorinsky", &
54 module subroutine les_model_factory(object, type_name,
dofmap, coef, json)
55 class(les_model_t),
allocatable,
intent(inout) :: object
56 character(len=*),
intent(in) :: type_name
57 type(dofmap_t),
intent(in) :: dofmap
58 type(coef_t),
intent(in) :: coef
59 type(json_file),
intent(inout) :: json
60 character(len=:),
allocatable :: type_string
62 if (
allocated(object))
deallocate(object)
64 select case (trim(type_name))
69 case (
'dynamic_smagorinsky')
74 call neko_type_error(
"LES model", type_name, les_known_types)
77 end subroutine les_model_factory
79end submodule les_model_fctry
Defines a mapping of the degrees of freedom.
Implements dynamic_smagorinsky_t.
Implements smagorinsky_t.
Implements the dynamic Smagorinsky LES model.
Implements the Sigma LES model.
Implements the smagorinsky LES model.
Implements the Vreman LES model.