0.6.0
Loading...
Searching...
No Matches
mod_apply_cell_advection_scheme Module Reference

Data Types

interface  apply_cell_advection_face_scheme_func
 The interface for generic flux routines. More...
 

Functions/Subroutines

subroutine apply_flux_scheme_to_system (coefficient, velocity, matrix, equation_stencil, equation_ls_map, apply_cell_advection_scheme)
 Modify the matrix by adding each cell's stencil matrix.
 
subroutine apply_cell_advection_o2_centered_scheme (coefficient, velocity, matrix_line, ns, i, j, k)
 Compute the implicit second order advection scheme stencil matrix.
 
subroutine apply_cell_advection_o4_centered_scheme_rec (coefficient, velocity, matrix_line, ns, i, j, k)
 Compute the implicit fourth order advection scheme stencil matrix.
 
subroutine apply_cell_advection_o1_upwind_scheme (coefficient, velocity, matrix_line, ns, i, j, k)
 Compute the implicit first order upwind advection scheme stencil matrix.
 
subroutine apply_cell_advection_o2_upwind_scheme (coefficient, velocity, matrix_line, ns, i, j, k)
 Compute the implicit second order upwind advection scheme stencil matrix.
 
subroutine apply_cell_advection_quick_scheme (coefficient, velocity, matrix_line, ns, i, j, k)
 Compute the implicit second/third order QUICK advection scheme stencil matrix.
 
subroutine apply_cell_advection_houc3_scheme (coefficient, velocity, matrix_line, ns, i, j, k)
 Compute the implicit third order HOUC3 advection scheme stencil matrix.
 
subroutine apply_cell_advection_generic_upwind_reconstruction_scheme (coefficient, velocity, matrix_line, rec_fast_scheme_backward, rec_fast_scheme_forward, ns, i, j, k)
 Compute the advection upwind scheme stencil matrix using a given reconstruction scheme.
 
subroutine apply_cell_advection_generic_cicsam_scheme (work_field, coefficient, velocity, time_step, matrix, equation_stencil, equation_ls_map, scheme_method)
 Compute the advection cicsam scheme stencil matrix using a given reconstruction scheme.
 

Function/Subroutine Documentation

◆ apply_cell_advection_generic_cicsam_scheme()

subroutine mod_apply_cell_advection_scheme::apply_cell_advection_generic_cicsam_scheme ( double precision, dimension(:,:,:), intent(in) work_field,
double precision, dimension(:,:,:), intent(in) coefficient,
type(t_face_field), intent(in) velocity,
double precision, intent(in) time_step,
double precision, dimension(:), intent(inout) matrix,
type(t_cell_stencil), intent(in) equation_stencil,
type(t_ls_map), intent(in) equation_ls_map,
integer, intent(in) scheme_method )

Compute the advection cicsam scheme stencil matrix using a given reconstruction scheme.

Parameters
[in]work_fieldthe scalar field from iteration n
[in]coefficientthe coefficient field
[in]velocitythe velocity field
[in]time_stepthe time_step
[in,out]matrixthe resulting matrix
[in]scheme_methodadvection method for face normalization in cicsam algorithm

Compute the advection upwind scheme stencil matrix using a given reconstruction scheme with variable steps. See Interpolation at grid elements for more information about interpolation/reconstruction schemes.

Todo
The coefficient argument is not used.

◆ apply_cell_advection_o4_centered_scheme_rec()

subroutine mod_apply_cell_advection_scheme::apply_cell_advection_o4_centered_scheme_rec ( double precision, dimension(:,:,:), intent(in) coefficient,
type(t_face_field), intent(in) velocity,
double precision, dimension(-ns:ns,-ns:ns,-ns:ns), intent(inout) matrix_line,
integer, intent(in) ns,
integer, intent(in) i,
integer, intent(in) j,
integer, intent(in) k )

Compute the implicit fourth order advection scheme stencil matrix.

Parameters
[in]coefficientthe coefficient field
[in]velocitythe velocity field
[in,out]matrix_linethe resulting stencil matrix
[in]nsthe stencil's bound
[in]i,j,kthe cell indices