Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
spectral_vanishing_viscosity::svv_t Type Reference

Spectral vanishing viscosity configuration and coefficients. More...

Collaboration diagram for spectral_vanishing_viscosity::svv_t:

Public Member Functions

procedure, pass(thisinit (this, json, coef, rho)
 Construct an SVV object from case parameters.
 
procedure, pass(thisfree (this)
 Release all resources owned by an SVV object.
 
procedure, pass(thisupdate (this, rho, tstep)
 Update a time-varying, field-valued SVV viscosity.
 

Public Attributes

type(elementwise_filter_tfilter
 Element-local modal low-pass filter.
 
character(len=:), allocatable direction
 Reference directions in which the filter is applied.
 
character(len=:), allocatable kernel_type
 Kernel type defining the modal transfer function.
 
type(coef_t), pointer coef => null()
 SEM coefficients associated with this SVV object.
 
real(kind=rp), dimension(:,:,:,:), allocatable h1
 Density-weighted SVV viscosity.
 
type(c_ptr) h1_d = C_NULL_PTR
 
real(kind=rp), dimension(:,:), allocatable ident
 Identity matrix used to disable filtering in selected directions.
 
type(c_ptr) ident_d = C_NULL_PTR
 
character(len=:), allocatable nue_field_name
 Name and pointer for a field-valued SVV viscosity.
 
type(field_t), pointer nue => null()
 
logical tvar_h1 = .false.
 Whether the viscosity field is updated every time step.
 

Detailed Description

Definition at line 61 of file spectral_vanishing_viscosity.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) spectral_vanishing_viscosity::svv_t::free ( class(svv_t), intent(inout this)
Parameters
thisSVV object.

Definition at line 83 of file spectral_vanishing_viscosity.f90.

◆ init()

procedure, pass(this) spectral_vanishing_viscosity::svv_t::init ( class(svv_t), intent(inout this,
type(json_file), intent(inout json,
type(coef_t), intent(in), target  coef,
type(field_t), intent(in rho 
)
Parameters
thisSVV object.
jsonJSON object containing an svv dictionary.
coefSEM coefficients.
rhoDensity field.

Definition at line 82 of file spectral_vanishing_viscosity.f90.

◆ update()

procedure, pass(this) spectral_vanishing_viscosity::svv_t::update ( class(svv_t), intent(inout this,
type(field_t), intent(in rho,
integer, intent(in tstep 
)
Parameters
thisSVV object.
rhoDensity field.
tstepCurrent time-step index.

Definition at line 84 of file spectral_vanishing_viscosity.f90.

Member Data Documentation

◆ coef

type(coef_t), pointer spectral_vanishing_viscosity::svv_t::coef => null()

Definition at line 69 of file spectral_vanishing_viscosity.f90.

◆ direction

character(len=:), allocatable spectral_vanishing_viscosity::svv_t::direction

Definition at line 65 of file spectral_vanishing_viscosity.f90.

◆ filter

type(elementwise_filter_t) spectral_vanishing_viscosity::svv_t::filter

Definition at line 63 of file spectral_vanishing_viscosity.f90.

◆ h1

real(kind=rp), dimension(:,:,:,:), allocatable spectral_vanishing_viscosity::svv_t::h1

Definition at line 71 of file spectral_vanishing_viscosity.f90.

◆ h1_d

type(c_ptr) spectral_vanishing_viscosity::svv_t::h1_d = C_NULL_PTR

Definition at line 72 of file spectral_vanishing_viscosity.f90.

◆ ident

real(kind=rp), dimension(:,:), allocatable spectral_vanishing_viscosity::svv_t::ident

Definition at line 74 of file spectral_vanishing_viscosity.f90.

◆ ident_d

type(c_ptr) spectral_vanishing_viscosity::svv_t::ident_d = C_NULL_PTR

Definition at line 75 of file spectral_vanishing_viscosity.f90.

◆ kernel_type

character(len=:), allocatable spectral_vanishing_viscosity::svv_t::kernel_type

Definition at line 67 of file spectral_vanishing_viscosity.f90.

◆ nue

type(field_t), pointer spectral_vanishing_viscosity::svv_t::nue => null()

Definition at line 78 of file spectral_vanishing_viscosity.f90.

◆ nue_field_name

character(len=:), allocatable spectral_vanishing_viscosity::svv_t::nue_field_name

Definition at line 77 of file spectral_vanishing_viscosity.f90.

◆ tvar_h1

logical spectral_vanishing_viscosity::svv_t::tvar_h1 = .false.

Definition at line 80 of file spectral_vanishing_viscosity.f90.


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