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

Implements smagorinsky_t.

Data Types

type  smagorinsky_t
 Implements the smagorinsky LES model. More...
 

Functions/Subroutines

subroutine smagorinsky_init (this, dofmap, coef, json)
 Constructor. More...
 
subroutine smagorinsky_init_from_components (this, dofmap, coef, c_s, nut_name, delta_type)
 Constructor from components. More...
 
subroutine smagorinsky_free (this)
 Destructor for the les_model_t (base) class. More...
 
subroutine smagorinsky_compute (this, t, tstep)
 Compute eddy viscosity. More...
 

Function/Subroutine Documentation

◆ smagorinsky_compute()

subroutine smagorinsky::smagorinsky_compute ( class(smagorinsky_t), intent(inout)  this,
real(kind=rp), intent(in)  t,
integer, intent(in)  tstep 
)
private
Parameters
tThe time value.
tstepThe current time-step.

Definition at line 119 of file smagorinsky.f90.

Here is the call graph for this function:

◆ smagorinsky_free()

subroutine smagorinsky::smagorinsky_free ( class(smagorinsky_t), intent(inout)  this)
private

Definition at line 110 of file smagorinsky.f90.

◆ smagorinsky_init()

subroutine smagorinsky::smagorinsky_init ( class(smagorinsky_t), intent(inout)  this,
type(dofmap_t), intent(in)  dofmap,
type(coef_t), intent(in)  coef,
type(json_file), intent(inout)  json 
)
Parameters
dofmapSEM map of degrees of freedom.
coefSEM coefficients.
jsonA dictionary with parameters.

Definition at line 71 of file smagorinsky.f90.

Here is the call graph for this function:

◆ smagorinsky_init_from_components()

subroutine smagorinsky::smagorinsky_init_from_components ( class(smagorinsky_t), intent(inout)  this,
type(dofmap_t), intent(in)  dofmap,
type(coef_t), intent(in)  coef,
real(kind=rp)  c_s,
character(len=*), intent(in)  nut_name,
character(len=*), intent(in)  delta_type 
)
private
Parameters
dofmapSEM map of degrees of freedom.
coefSEM coefficients.
c_sThe model constant.
nut_nameThe name of the SGS viscosity field.

Definition at line 93 of file smagorinsky.f90.

Here is the caller graph for this function: