Neko 1.99.11
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(this) init (this, json, coef, rho)
 Construct an SVV object from case parameters.
procedure, pass(this) free (this)
 Release all resources owned by an SVV object.
procedure, pass(this) update (this, rho, tstep)
 Update a time-varying, field-valued SVV viscosity.

Public Attributes

type(elementwise_filter_t) filter
 Element-local modal low-pass filter.
character(len=:), allocatable direction
 Reference directions in which the filter is applied.
character(len=:), allocatable formulation
 SVV operator formulation.
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
real(kind=rp), dimension(:,:), allocatable br
 Complementary derivatives, (I - F) D, for factorized SVV.
real(kind=rp), dimension(:,:), allocatable bs
real(kind=rp), dimension(:,:), allocatable bt
type(c_ptr) br_d = C_NULL_PTR
type(c_ptr) bs_d = C_NULL_PTR
type(c_ptr) bt_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 62 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 91 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 90 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 92 of file spectral_vanishing_viscosity.f90.

Member Data Documentation

◆ br

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

Definition at line 80 of file spectral_vanishing_viscosity.f90.

◆ br_d

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

Definition at line 81 of file spectral_vanishing_viscosity.f90.

◆ bs

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

Definition at line 80 of file spectral_vanishing_viscosity.f90.

◆ bs_d

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

Definition at line 82 of file spectral_vanishing_viscosity.f90.

◆ bt

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

Definition at line 80 of file spectral_vanishing_viscosity.f90.

◆ bt_d

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

Definition at line 83 of file spectral_vanishing_viscosity.f90.

◆ coef

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

Definition at line 72 of file spectral_vanishing_viscosity.f90.

◆ direction

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

Definition at line 66 of file spectral_vanishing_viscosity.f90.

◆ filter

type(elementwise_filter_t) spectral_vanishing_viscosity::svv_t::filter

Definition at line 64 of file spectral_vanishing_viscosity.f90.

◆ formulation

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

Definition at line 68 of file spectral_vanishing_viscosity.f90.

◆ h1

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

Definition at line 74 of file spectral_vanishing_viscosity.f90.

◆ h1_d

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

Definition at line 75 of file spectral_vanishing_viscosity.f90.

◆ ident

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

Definition at line 77 of file spectral_vanishing_viscosity.f90.

◆ ident_d

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

Definition at line 78 of file spectral_vanishing_viscosity.f90.

◆ kernel_type

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

Definition at line 70 of file spectral_vanishing_viscosity.f90.

◆ nue

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

Definition at line 86 of file spectral_vanishing_viscosity.f90.

◆ nue_field_name

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

Definition at line 85 of file spectral_vanishing_viscosity.f90.

◆ tvar_h1

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

Definition at line 88 of file spectral_vanishing_viscosity.f90.


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