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

Implements artificial_viscosity_t.

Data Types

type  artificial_viscosity_t
 The handler for the artificial viscosity. More...
 

Functions/Subroutines

subroutine artificial_viscosity_init_from_json (this, json, coef, dof)
 Construct an artificial viscosity regularization from JSON.
 
subroutine artificial_viscosity_free (this)
 Free an artificial viscosity regularization.
 
subroutine artificial_viscosity_update (this, effective_visc, mu)
 Update the effective viscosity with artificial and physical viscosity.
 

Function/Subroutine Documentation

◆ artificial_viscosity_free()

subroutine artificial_viscosity::artificial_viscosity_free ( class(artificial_viscosity_t), intent(inout)  this)
private
Parameters
thisThe artificial viscosity regularization.

Definition at line 85 of file artificial_viscosity.f90.

◆ artificial_viscosity_init_from_json()

subroutine artificial_viscosity::artificial_viscosity_init_from_json ( class(artificial_viscosity_t), intent(inout)  this,
type(json_file), intent(inout)  json,
type(coef_t), intent(in), target  coef,
type(dofmap_t), intent(in), target  dof 
)
Parameters
thisThe artificial viscosity regularization.
jsonThe regularization configuration.
coefThe SEM coefficients.
dofThe SEM map of degrees of freedom.

Definition at line 66 of file artificial_viscosity.f90.

◆ artificial_viscosity_update()

subroutine artificial_viscosity::artificial_viscosity_update ( class(artificial_viscosity_t), intent(inout)  this,
type(field_t), intent(inout)  effective_visc,
type(field_t), intent(in), optional  mu 
)
private
Parameters
thisThe artificial viscosity regularization.
effective_viscThe effective viscosity field to update.
muThe optional physical viscosity field.

Definition at line 97 of file artificial_viscosity.f90.

Here is the call graph for this function: