Loading [MathJax]/jax/output/HTML-CSS/config.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
les_model.f90 File Reference

Go to the source code of this file.

Data Types

type  les_model::les_model_t
 Base abstract type for LES models based on the Boussinesq approximation. More...
 
interface  les_model::les_model_compute
 Compute eddy viscosity. More...
 
interface  les_model::les_model_init
 Common constructor. More...
 
interface  les_model::les_model_free
 Destructor. More...
 
interface  les_model::les_model_allocate
 LES model allocator. More...
 
type  les_model::allocator_entry
 Called in user modules to add an allocator for custom types. More...
 

Modules

module  les_model
 Implements les_model_t.
 

Functions/Subroutines

subroutine les_model::les_model_init_base (this, fluid, nut_name, delta_type, if_ext)
 Constructor for the les_model_t (base) class.
 
subroutine les_model::les_model_free_base (this)
 Destructor for the les_model_t (base) class.
 
subroutine les_model::les_model_compute_delta (this)
 Compute the LES lengthscale. For each GLL point, we take the distance between its neighbours in all 3 directions divided by 2 with the exception of face nodes, where only one neighbour exists. To form the lengthscale the distances along 3 directions are multiplied, and a cubic root is extracted from the result. This roughly corresponds to a cubic root of the cell volume in FVM computations.
 

Variables

character(len=20), dimension(3) les_model::delta_known_types = [character(len=20) :: "pointwise", "elementwise_average", "elementwise_max"]
 
type(allocator_entry), dimension(:), allocatable les_model::les_model_registry
 Registry of LES model allocators for user-defined types.
 
integer les_model::les_model_registry_size = 0
 The size of the les_model_registry