scheme Module

Inviscid flux calculation through faces


Uses

  • module~~scheme~~UsesGraph module~scheme scheme module~van_leer van_leer module~scheme->module~van_leer module~ausmp ausmP module~scheme->module~ausmp module~face_interpolant face_interpolant module~scheme->module~face_interpolant module~ldfss0 ldfss0 module~scheme->module~ldfss0 module~ausm ausm module~scheme->module~ausm module~utils utils module~scheme->module~utils module~ausmup ausmUP module~scheme->module~ausmup module~vartypes vartypes module~scheme->module~vartypes module~slau slau module~scheme->module~slau module~van_leer->module~vartypes module~ausmp->module~face_interpolant module~ausmp->module~vartypes module~face_interpolant->module~utils module~face_interpolant->module~vartypes module~weno_nm weno_NM module~face_interpolant->module~weno_nm module~weno weno module~face_interpolant->module~weno module~ppm ppm module~face_interpolant->module~ppm module~muscl muscl module~face_interpolant->module~muscl module~ldfss0->module~vartypes module~ausm->module~vartypes module~ausmup->module~vartypes iso_fortran_env iso_fortran_env module~vartypes->iso_fortran_env module~slau->module~vartypes module~weno_nm->module~vartypes module~weno->module~vartypes module~ppm->module~vartypes module~muscl->module~vartypes

Used by

  • module~~scheme~~UsedByGraph module~scheme scheme module~solver solver module~solver->module~scheme module~update update module~solver->module~update module~update->module~scheme program~main main program~main->module~solver

Contents


Variables

TypeVisibility AttributesNameInitial
integer, public :: imx
integer, public :: jmx
integer, public :: kmx
integer, public :: n_var

Subroutines

public subroutine setup_scheme(residue, F, G, H, control, dims)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(out), dimension(:, :, :, :), allocatable, target:: residue

Store residue at each cell-center

real(kind=wp), intent(out), dimension(:, :, :, :), allocatable:: F

Store fluxes throught the I faces

real(kind=wp), intent(out), dimension(:, :, :, :), allocatable:: G

Store fluxes throught the J faces

real(kind=wp), intent(out), dimension(:, :, :, :), allocatable:: H

Store fluxes throught the K faces

type(controltype), intent(in) :: control

Control parameters

type(extent), intent(in) :: dims

extent of the 3D domain

public subroutine compute_fluxes(F, G, H, Ifaces, Jfaces, Kfaces, scheme, flow, bc, dims)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(inout), dimension(:, :, :, :):: F

Store fluxes throught the I faces

real(kind=wp), intent(inout), dimension(:, :, :, :):: G

Store fluxes throught the J faces

real(kind=wp), intent(inout), dimension(:, :, :, :):: H

Store fluxes throught the K faces

type(facetype), intent(in), dimension(-2:dims%imx+3,-2:dims%jmx+2,-2:dims%kmx+2):: Ifaces

Store face quantites for I faces

type(facetype), intent(in), dimension(-2:dims%imx+2,-2:dims%jmx+3,-2:dims%kmx+2):: Jfaces

Store face quantites for J faces

type(facetype), intent(in), dimension(-2:dims%imx+2,-2:dims%jmx+2,-2:dims%kmx+3):: Kfaces

Store face quantites for K faces

type(schemetype), intent(in) :: scheme

finite-volume Schemes

type(flowtype), intent(in) :: flow

Information about fluid flow: freestream-speed, ref-viscosity,etc.

type(boundarytype), intent(in) :: bc

boundary conditions and fixed values

type(extent), intent(in) :: dims

extent of the 3D domain

public subroutine compute_residue(residue, F, G, H, dims)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(out), dimension(:, :, :, :):: residue

Store residue at each cell-center

real(kind=wp), intent(in), dimension(:, :, :, :):: F

Store fluxes throught the I faces

real(kind=wp), intent(in), dimension(:, :, :, :):: G

Store fluxes throught the J faces

real(kind=wp), intent(in), dimension(:, :, :, :):: H

Store fluxes throught the K faces

type(extent), intent(in) :: dims

extent of the 3D domain