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

Implements the Sigma LES model. More...

Inheritance diagram for sigma::sigma_t:
Collaboration diagram for sigma::sigma_t:

Public Member Functions

procedure, pass(thisinit (this, dofmap, coef, json)
 Constructor from JSON.
 
procedure, pass(thisinit_from_components (this, dofmap, coef, c, nut_name, delta_type)
 Constructor from components.
 
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

real(kind=rp) c
 Model constant, default to 1.35.
 
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.3623274

Definition at line 53 of file sigma.f90.

Member Function/Subroutine Documentation

◆ compute() [1/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() [2/2]

procedure, pass(this) sigma::sigma_t::compute ( class(sigma_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 64 of file sigma.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(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() [2/2]

procedure, pass(this) sigma::sigma_t::free ( class(sigma_t), intent(inout this)

Definition at line 62 of file sigma.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(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() [2/2]

procedure, pass(this) sigma::sigma_t::init ( class(sigma_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 58 of file sigma.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.

◆ init_from_components()

procedure, pass(this) sigma::sigma_t::init_from_components ( class(sigma_t), intent(inout this,
type(dofmap_t), intent(in dofmap,
type(coef_t), intent(in coef,
real(kind=rp)  c,
character(len=*), intent(in nut_name,
character(len=*), intent(in delta_type 
)
Parameters
dofmapSEM map of degrees of freedom.
coefSEM coefficients.
cThe model constant.
nut_nameThe name of the SGS viscosity field.

Definition at line 60 of file sigma.f90.

Member Data Documentation

◆ c

real(kind=rp) sigma::sigma_t::c

Definition at line 55 of file sigma.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.

◆ nut

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

Definition at line 53 of file les_model.f90.


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