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

Implements les_model_t. More...

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)
 Constructor for the les_model_t (base) class. 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...
 

Detailed Description

Implements les_model_t.

Function/Subroutine Documentation

◆ les_model_compute_delta()

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

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.

Definition at line 143 of file les_model.f90.

◆ les_model_free_base()

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

Destructor for the les_model_t (base) class.

Definition at line 130 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 
)
private

Constructor for the les_model_t (base) class.

Parameters
dofmapSEM map of degrees of freedom.
coefSEM coefficients.
nu_nameThe name of the turbulent viscosity field.

Definition at line 110 of file les_model.f90.