Neko 1.99.2
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
entropy_viscosity::entropy_viscosity_t Type Referenceabstract
Inheritance diagram for entropy_viscosity::entropy_viscosity_t:
Collaboration diagram for entropy_viscosity::entropy_viscosity_t:

Public Member Functions

procedure, pass(thisinit (this, json, coef, dof, reg_coeff)
 
procedure, pass(thisfree (this)
 
procedure, pass(thiscompute (this, time, tstep, dt)
 
procedure, pass(thisupdate_lag (this)
 
procedure, pass(thisinit_base (this, json, coef, dof, reg_coeff)
 
procedure, pass(thisfree_base (this)
 
procedure(reg_init), deferred, pass init (this, json, coef, dof, reg_coeff)
 
procedure(reg_free), deferred, pass free (this)
 
procedure(reg_compute), deferred, pass compute (this, time, tstep, dt)
 

Public Attributes

real(kind=rp) c_avisc_entropy
 
real(kind=rp) c_avisc_low
 
type(field_tentropy_residual
 
type(field_series_ts_lag
 
type(field_t), pointer s => null()
 
type(field_t), pointer u => null()
 
type(field_t), pointer v => null()
 
type(field_t), pointer w => null()
 
type(field_t), pointer h => null()
 
type(field_t), pointer max_wave_speed => null()
 
type(mesh_t), pointer msh => null()
 
type(space_t), pointer xh => null()
 
type(gs_t), pointer gs => null()
 
type(field_t), pointer reg_coeff => null()
 
type(coef_t), pointer coef => null()
 
type(dofmap_t), pointer dof => null()
 

Private Member Functions

procedure, pass, private compute_residual (this, tstep, dt, dt_lag)
 
procedure, pass, private compute_viscosity (this, tstep)
 
procedure, pass, private smooth_viscosity (this)
 Cross-element smoothing via gather-scatter averaging. Averages viscosity values at shared nodes between elements.
 
procedure, pass, private apply_element_max (this)
 
procedure, pass, private low_order_viscosity (this, i)
 Compute low-order viscosity at point i: c_avisc_low * h * max_wave_speed.
 

Detailed Description

Definition at line 68 of file entropy_viscosity.f90.

Member Function/Subroutine Documentation

◆ apply_element_max()

procedure, pass, private entropy_viscosity::entropy_viscosity_t::apply_element_max ( class(entropy_viscosity_t), intent(inout this)
private

Definition at line 90 of file entropy_viscosity.f90.

◆ compute() [1/2]

procedure(reg_compute), deferred, pass regularization::regularization_t::compute ( class(regularization_t), intent(inout this,
type(time_state_t), intent(in time,
integer, intent(in tstep,
real(kind=rp), intent(in dt 
)
pure virtualinherited

Definition at line 52 of file regularization.f90.

◆ compute() [2/2]

procedure, pass(this) entropy_viscosity::entropy_viscosity_t::compute ( class(entropy_viscosity_t), intent(inout this,
type(time_state_t), intent(in time,
integer, intent(in tstep,
real(kind=rp), intent(in dt 
)

Definition at line 85 of file entropy_viscosity.f90.

◆ compute_residual()

procedure, pass, private entropy_viscosity::entropy_viscosity_t::compute_residual ( class(entropy_viscosity_t), intent(inout this,
integer, intent(in tstep,
real(kind=rp), intent(in dt,
real(kind=rp), dimension(10), intent(in dt_lag 
)
private

Definition at line 87 of file entropy_viscosity.f90.

◆ compute_viscosity()

procedure, pass, private entropy_viscosity::entropy_viscosity_t::compute_viscosity ( class(entropy_viscosity_t), intent(inout this,
integer, intent(in tstep 
)
private

Definition at line 88 of file entropy_viscosity.f90.

◆ free() [1/2]

procedure(reg_free), deferred, pass regularization::regularization_t::free ( class(regularization_t), intent(inout this)
pure virtualinherited

Definition at line 51 of file regularization.f90.

◆ free() [2/2]

procedure, pass(this) entropy_viscosity::entropy_viscosity_t::free ( class(entropy_viscosity_t), intent(inout this)

Definition at line 84 of file entropy_viscosity.f90.

◆ free_base()

procedure, pass(this) regularization::regularization_t::free_base ( class(regularization_t), intent(inout this)
inherited

Definition at line 49 of file regularization.f90.

◆ init() [1/2]

procedure(reg_init), deferred, pass regularization::regularization_t::init ( class(regularization_t), intent(inout this,
type(json_file), intent(inout json,
type(coef_t), intent(in), target  coef,
type(dofmap_t), intent(in), target  dof,
type(field_t), intent(in), target  reg_coeff 
)
pure virtualinherited

Definition at line 50 of file regularization.f90.

◆ init() [2/2]

procedure, pass(this) entropy_viscosity::entropy_viscosity_t::init ( class(entropy_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,
type(field_t), intent(in), target  reg_coeff 
)

Definition at line 83 of file entropy_viscosity.f90.

◆ init_base()

procedure, pass(this) regularization::regularization_t::init_base ( class(regularization_t), intent(inout this,
type(json_file), intent(inout json,
type(coef_t), intent(in), target  coef,
type(dofmap_t), intent(in), target  dof,
type(field_t), intent(in), target  reg_coeff 
)
inherited

Definition at line 48 of file regularization.f90.

◆ low_order_viscosity()

procedure, pass, private entropy_viscosity::entropy_viscosity_t::low_order_viscosity ( class(entropy_viscosity_t), intent(in this,
integer, intent(in i 
)
private

Definition at line 91 of file entropy_viscosity.f90.

Here is the call graph for this function:

◆ smooth_viscosity()

procedure, pass, private entropy_viscosity::entropy_viscosity_t::smooth_viscosity ( class(entropy_viscosity_t), intent(inout this)
private

Definition at line 89 of file entropy_viscosity.f90.

◆ update_lag()

procedure, pass(this) entropy_viscosity::entropy_viscosity_t::update_lag ( class(entropy_viscosity_t), intent(inout this)

Definition at line 86 of file entropy_viscosity.f90.

Member Data Documentation

◆ c_avisc_entropy

real(kind=rp) entropy_viscosity::entropy_viscosity_t::c_avisc_entropy

Definition at line 69 of file entropy_viscosity.f90.

◆ c_avisc_low

real(kind=rp) entropy_viscosity::entropy_viscosity_t::c_avisc_low

Definition at line 70 of file entropy_viscosity.f90.

◆ coef

type(coef_t), pointer regularization::regularization_t::coef => null()
inherited

Definition at line 45 of file regularization.f90.

◆ dof

type(dofmap_t), pointer regularization::regularization_t::dof => null()
inherited

Definition at line 46 of file regularization.f90.

◆ entropy_residual

type(field_t) entropy_viscosity::entropy_viscosity_t::entropy_residual

Definition at line 71 of file entropy_viscosity.f90.

◆ gs

type(gs_t), pointer entropy_viscosity::entropy_viscosity_t::gs => null()

Definition at line 81 of file entropy_viscosity.f90.

◆ h

type(field_t), pointer entropy_viscosity::entropy_viscosity_t::h => null()

Definition at line 77 of file entropy_viscosity.f90.

◆ max_wave_speed

type(field_t), pointer entropy_viscosity::entropy_viscosity_t::max_wave_speed => null()

Definition at line 78 of file entropy_viscosity.f90.

◆ msh

type(mesh_t), pointer entropy_viscosity::entropy_viscosity_t::msh => null()

Definition at line 79 of file entropy_viscosity.f90.

◆ reg_coeff

type(field_t), pointer regularization::regularization_t::reg_coeff => null()
inherited

Definition at line 44 of file regularization.f90.

◆ s

type(field_t), pointer entropy_viscosity::entropy_viscosity_t::s => null()

Definition at line 73 of file entropy_viscosity.f90.

◆ s_lag

type(field_series_t) entropy_viscosity::entropy_viscosity_t::s_lag

Definition at line 72 of file entropy_viscosity.f90.

◆ u

type(field_t), pointer entropy_viscosity::entropy_viscosity_t::u => null()

Definition at line 74 of file entropy_viscosity.f90.

◆ v

type(field_t), pointer entropy_viscosity::entropy_viscosity_t::v => null()

Definition at line 75 of file entropy_viscosity.f90.

◆ w

type(field_t), pointer entropy_viscosity::entropy_viscosity_t::w => null()

Definition at line 76 of file entropy_viscosity.f90.

◆ xh

type(space_t), pointer entropy_viscosity::entropy_viscosity_t::xh => null()

Definition at line 80 of file entropy_viscosity.f90.


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