Neko  0.8.99
A portable framework for high-order spectral element flow simulations
les_model Module Reference

Implements les_model_t.

Data Types

type  les_model_t
 Base abstract type for LES models based on the Boussinesq approximation. More...
 
interface  les_model_compute
 Compute eddy viscosity. More...
 
interface  les_model_init
 Common constructor. More...
 
interface  les_model_free
 Destructor. More...
 

Functions/Subroutines

subroutine les_model_init_base (this, dofmap, coef, nut_name, delta_type)
 LES model factory. Both constructs and initializes the object. More...
 
subroutine les_model_free_base (this)
 Destructor for the les_model_t (base) class. More...
 
subroutine 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. More...
 

Function/Subroutine Documentation

◆ les_model_compute_delta()

subroutine les_model::les_model_compute_delta ( class(les_model_t), intent(inout)  this)
private

Definition at line 168 of file les_model.f90.

Here is the call graph for this function:

◆ les_model_free_base()

subroutine les_model::les_model_free_base ( class(les_model_t), intent(inout)  this)
private

Definition at line 154 of file les_model.f90.

◆ les_model_init_base()

subroutine les_model::les_model_init_base ( class(les_model_t), intent(inout)  this,
type(dofmap_t), intent(in)  dofmap,
type(coef_t), intent(in), target  coef,
character(len=*), intent(in)  nut_name,
character(len=*), intent(in)  delta_type 
)
private
Parameters
objectThe object to be allocated.
type_nameThe name of the LES model.
dofmapSEM map of degrees of freedom.
coefSEM coefficients.
jsonA dictionary with parameters. Constructor for the les_model_t (base) class.
dofmapSEM map of degrees of freedom.
coefSEM coefficients.
nu_nameThe name of the turbulent viscosity field.

Definition at line 132 of file les_model.f90.