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

Data and filter construction for spectral vanishing viscosity.

Data Types

type  svv_t
 Spectral vanishing viscosity configuration and coefficients. More...
 

Functions/Subroutines

subroutine svv_init_from_json (this, json, coef, rho)
 Construct an SVV object from case parameters.
 
subroutine svv_update_h1 (this, rho, tstep)
 Update a time-varying, field-valued SVV viscosity.
 
subroutine svv_copy_viscosity (this, rho)
 Copy the configured viscosity field and multiply it by density.
 
subroutine svv_free (this)
 Release all resources owned by an SVV object.
 
character(len=32) function to_string (value)
 Convert an integer to a compact string.
 

Variables

character(len=3), dimension(7), parameter known_directions = [character(len=3) :: "rst", "rs", "rt", "st", "r", "s", "t"]
 
character(len=9), dimension(1), parameter known_formulations = [character(len=9) :: "one-sided"]
 
character(len=5), dimension(2), parameter known_nu_types = [character(len=5) :: "value", "field"]
 
character(len=5), dimension(1), parameter known_kernel_types = [character(len=5) :: "power"]
 

Function/Subroutine Documentation

◆ svv_copy_viscosity()

subroutine spectral_vanishing_viscosity::svv_copy_viscosity ( class(svv_t), intent(inout this,
type(field_t), intent(in rho 
)
private
Parameters
thisSVV object.
rhoDensity field.

Definition at line 217 of file spectral_vanishing_viscosity.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ svv_free()

subroutine spectral_vanishing_viscosity::svv_free ( class(svv_t), intent(inout this)
private
Parameters
thisSVV object.

Definition at line 232 of file spectral_vanishing_viscosity.f90.

◆ svv_init_from_json()

subroutine spectral_vanishing_viscosity::svv_init_from_json ( 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 94 of file spectral_vanishing_viscosity.f90.

Here is the call graph for this function:

◆ svv_update_h1()

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

Definition at line 197 of file spectral_vanishing_viscosity.f90.

Here is the call graph for this function:

◆ to_string()

character(len=32) function spectral_vanishing_viscosity::to_string ( integer, intent(in value)
private
Parameters
valueInteger value to convert.

Definition at line 260 of file spectral_vanishing_viscosity.f90.

Here is the caller graph for this function:

Variable Documentation

◆ known_directions

character(len=3), dimension(7), parameter spectral_vanishing_viscosity::known_directions = [character(len=3) :: "rst", "rs", "rt", "st", "r", "s", "t"]
private

Definition at line 50 of file spectral_vanishing_viscosity.f90.

◆ known_formulations

character(len=9), dimension(1), parameter spectral_vanishing_viscosity::known_formulations = [character(len=9) :: "one-sided"]
private

Definition at line 52 of file spectral_vanishing_viscosity.f90.

◆ known_kernel_types

character(len=5), dimension(1), parameter spectral_vanishing_viscosity::known_kernel_types = [character(len=5) :: "power"]
private

Definition at line 56 of file spectral_vanishing_viscosity.f90.

◆ known_nu_types

character(len=5), dimension(2), parameter spectral_vanishing_viscosity::known_nu_types = [character(len=5) :: "value", "field"]
private

Definition at line 54 of file spectral_vanishing_viscosity.f90.