fluxes_kt_mod Module Reference

numerical fluxes module for midpoint quadrature rule More...

Data Types

type  fluxes_kt
 

Functions/Subroutines

subroutine initfluxes_kt (this, Mesh, Physics, config, IO)
 
pure subroutine calculatefluxes (this, Mesh, Physics, pvar, cvar, xfluxdydz, yfluxdzdx, zfluxdxdy)
 Calculates the fluxes with the midpoint method. More...
 
subroutine finalize (this)
 

Detailed Description

numerical fluxes module for midpoint quadrature rule

Author
Tobias Illenseer
Manuel Jung
Jannes Klee
Jubin Lirawi

Function/Subroutine Documentation

◆ calculatefluxes()

pure subroutine fluxes_kt_mod::calculatefluxes ( class(fluxes_kt), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(inout)  Physics,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax,physics%vnum), intent(out)  xfluxdydz,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax,physics%vnum), intent(out)  yfluxdzdx,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax,physics%vnum), intent(out)  zfluxdxdy 
)

Calculates the fluxes with the midpoint method.

Warning
{The return values xfluxdydz, yfluxdzdx, zfluxdxdy are the numerical fluxes devided by dy or dx respectively. This reduces numerical errors because otherwise we would multiply the fluxes by dy (or dx) here and devide by dy (or dx) later when computing flux differences.}
{In an older version of Fosite, there was still the possibility to use the trapezoidal rule. This is not supported anymore from version <=0.6.}

Definition at line 111 of file fluxes_kt.f90.

◆ finalize()

subroutine fluxes_kt_mod::finalize ( class(fluxes_kt), intent(inout)  this)
private

Definition at line 214 of file fluxes_kt.f90.

◆ initfluxes_kt()

subroutine fluxes_kt_mod::initfluxes_kt ( class(fluxes_kt), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(in)  Physics,
type(dict_typ), intent(in), pointer  config,
type(dict_typ), intent(in), pointer  IO 
)
private
Todo:
remove this in future version, no longer needed

Definition at line 78 of file fluxes_kt.f90.