Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
dynamic_smagorinsky::dynamic_smagorinsky_t Type Referenceabstract

Implements the dynamic Smagorinsky LES model. More...

Inheritance diagram for dynamic_smagorinsky::dynamic_smagorinsky_t:
Collaboration diagram for dynamic_smagorinsky::dynamic_smagorinsky_t:

Public Member Functions

procedure, pass(thisinit (this, dofmap, coef, json)
 Constructor from JSON.
 
procedure, pass(thisfree (this)
 Destructor.
 
procedure, pass(thiscompute (this, t, tstep)
 Compute eddy viscosity.
 
procedure, pass(thisinit_base (this, dofmap, coef, nut_name, delta_type)
 Constructor for the les_model_t (base) class.
 
procedure, pass(thisfree_base (this)
 Destructor for the les_model_t (base) class.
 
procedure, pass(thiscompute_delta (this)
 Compute the LES length-scale.
 
procedure(les_model_init), deferred, pass init (this, dofmap, coef, json)
 The common constructor.
 
procedure(les_model_free), deferred, pass free (this)
 Destructor.
 
procedure(les_model_compute), deferred, pass compute (this, t, tstep)
 Compute eddy viscosity.
 

Public Attributes

type(field_tc_dyn
 Coefficient of the model.
 
type(elementwise_filter_ttest_filter
 Test filter.
 
type(field_t), dimension(6) mij
 Mij index for tensor mij and lij: 1=>1,1; 2=>2,2; 3=>3,3; 4=>1,2; 5=>1,3; 6=>2,3;.
 
type(field_t), dimension(6) lij
 Germano Identity.
 
type(field_tnum
 <M_ij L_ij>
 
type(field_tden
 <M_lm M_lm>
 
type(field_t), pointer nut => null()
 Subgrid kinematic viscosity.
 
character(len=:), allocatable delta_type
 LES lengthscale type.
 
type(field_t), pointer delta => null()
 LES lengthscale.
 
type(coef_t), pointer coef => null()
 SEM coefficients.
 

Detailed Description

Note
Reference DOI: 10.1063/1.857955

Definition at line 55 of file dynamic_smagorinsky.f90.

Member Function/Subroutine Documentation

◆ compute() [1/2]

procedure, pass(this) dynamic_smagorinsky::dynamic_smagorinsky_t::compute ( class(dynamic_smagorinsky_t), intent(inout this,
real(kind=rp), intent(in t,
integer, intent(in tstep 
)
Parameters
tThe time value.
tstepThe current time-step.

Definition at line 76 of file dynamic_smagorinsky.f90.

◆ compute() [2/2]

procedure(les_model_compute), deferred, pass les_model::les_model_t::compute ( class(les_model_t), intent(inout this,
real(kind=rp), intent(in t,
integer, intent(in tstep 
)
pure virtualinherited

Definition at line 72 of file les_model.f90.

◆ compute_delta()

procedure, pass(this) les_model::les_model_t::compute_delta ( class(les_model_t), intent(inout this)
inherited

Definition at line 66 of file les_model.f90.

◆ free() [1/2]

procedure, pass(this) dynamic_smagorinsky::dynamic_smagorinsky_t::free ( class(dynamic_smagorinsky_t), intent(inout this)

Definition at line 74 of file dynamic_smagorinsky.f90.

◆ free() [2/2]

procedure(les_model_free), deferred, pass les_model::les_model_t::free ( class(les_model_t), intent(inout this)
pure virtualinherited

Definition at line 70 of file les_model.f90.

◆ free_base()

procedure, pass(this) les_model::les_model_t::free_base ( class(les_model_t), intent(inout this)
inherited

Definition at line 64 of file les_model.f90.

◆ init() [1/2]

procedure, pass(this) dynamic_smagorinsky::dynamic_smagorinsky_t::init ( class(dynamic_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 72 of file dynamic_smagorinsky.f90.

◆ init() [2/2]

procedure(les_model_init), deferred, pass les_model::les_model_t::init ( class(les_model_t), intent(inout this,
type(dofmap_t), intent(in dofmap,
type(coef_t), intent(in coef,
type(json_file), intent(inout json 
)
pure virtualinherited

Definition at line 68 of file les_model.f90.

◆ init_base()

procedure, pass(this) les_model::les_model_t::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 
)
inherited
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 62 of file les_model.f90.

Member Data Documentation

◆ c_dyn

type(field_t) dynamic_smagorinsky::dynamic_smagorinsky_t::c_dyn

Definition at line 57 of file dynamic_smagorinsky.f90.

◆ coef

type(coef_t), pointer les_model::les_model_t::coef => null()
inherited

Definition at line 59 of file les_model.f90.

◆ delta

type(field_t), pointer les_model::les_model_t::delta => null()
inherited

Definition at line 57 of file les_model.f90.

◆ delta_type

character(len=:), allocatable les_model::les_model_t::delta_type
inherited

Definition at line 55 of file les_model.f90.

◆ den

type(field_t) dynamic_smagorinsky::dynamic_smagorinsky_t::den

Definition at line 69 of file dynamic_smagorinsky.f90.

◆ lij

type(field_t), dimension(6) dynamic_smagorinsky::dynamic_smagorinsky_t::lij

Definition at line 65 of file dynamic_smagorinsky.f90.

◆ mij

type(field_t), dimension(6) dynamic_smagorinsky::dynamic_smagorinsky_t::mij

Definition at line 63 of file dynamic_smagorinsky.f90.

◆ num

type(field_t) dynamic_smagorinsky::dynamic_smagorinsky_t::num

Definition at line 67 of file dynamic_smagorinsky.f90.

◆ nut

type(field_t), pointer les_model::les_model_t::nut => null()
inherited

Definition at line 53 of file les_model.f90.

◆ test_filter

type(elementwise_filter_t) dynamic_smagorinsky::dynamic_smagorinsky_t::test_filter

Definition at line 59 of file dynamic_smagorinsky.f90.


The documentation for this type was generated from the following file: