version 0.6.0
mod_compute_div_u_psi_term_explicit_generic_weno Module Reference

Explicit inertial term with an upwind generic weno scheme.

Functions/Subroutines

subroutine compute_div_u_psi_term_explicit_generic_weno (psi, velocity, dt, flux_type, directions, divupsi, weno_scheme_backward, weno_scheme_forward)
 Compute the conservative advection term term with a generic explicit WENO scheme. More...
 
subroutine compute_face_advection_term_explicit_weno5_fd_wrapper (psi, velocity, dt, flux_type, directions, divupsi)
 Wrapper function for compute_face_advection_term_explicit_weno5_fd. More...
 
subroutine compute_face_advection_term_explicit_weno3_fd_wrapper (psi, velocity, dt, flux_type, directions, divupsi)
 Wrapper function for compute_face_advection_term_explicit_weno3_fd. More...
 
subroutine compute_face_advection_term_explicit_weno5_fd (velocityL, velocityR, advec_explicit)
 Fills \( \rho \nabla \cdot (\mathbf{u} \otimes \mathbf{u}) \) with a \( 5^{th} \) order finite difference based WENO scheme [1]. More...
 
subroutine weno5_gen (flux_in, flux_out, weno_select)
 Computes flux for a \( 5^{th} \) order finite difference based WENO scheme. More...
 
subroutine compute_face_advection_term_explicit_weno3_fd (velocityL, velocityR, advec_explicit)
 Fills \( \rho \nabla \cdot (\mathbf{u} \otimes \mathbf{u}) \) with a \( 3^{rd} \) order finite difference based WENO scheme [2]. More...
 
subroutine weno3_gen (flux_in, flux_out, weno_select)
 Computes flux for a \( 3^{th} \) order finite difference based WENO scheme. More...
 

Function/Subroutine Documentation

◆ compute_div_u_psi_term_explicit_generic_weno()

subroutine mod_compute_div_u_psi_term_explicit_generic_weno::compute_div_u_psi_term_explicit_generic_weno ( type(t_face_field), intent(in)  psi,
type(t_face_field), intent(in)  velocity,
double precision, intent(in)  dt,
type(t_fv_flux), intent(in)  flux_type,
integer, dimension(:), intent(in)  directions,
type(t_face_field), intent(inout)  divupsi,
class(t_int_weno_scheme), intent(inout)  weno_scheme_backward,
class(t_int_weno_scheme), intent(inout)  weno_scheme_forward 
)
Todo:
MCO: use the mean face value for the velocity at orthogonal faces

◆ compute_face_advection_term_explicit_weno3_fd()

subroutine mod_compute_div_u_psi_term_explicit_generic_weno::compute_face_advection_term_explicit_weno3_fd ( type(t_face_field), intent(in)  velocityL,
type(t_face_field), intent(in)  velocityR,
type(t_face_field), intent(inout)  advec_explicit 
)
Parameters
[in]velocityLlower face velocity field
[in]velocityRupper face velocity field
[in]density_faceface centered density field
[in,out]advec_explicit\( \rho \nabla \cdot (\mathbf{u} \otimes \mathbf{u}) \) [2] iang, G.-S. and Peng, D., Weighted ENO Schemes for Hamilton–Jacobi Equations, SIAM J. Sci. Comput., Vol. 21, No. 6, Dec. 1999, pp. 2126–2143.
Todo:
[AJ]: Generalize for rectilinear grids. Only supports Cartesian grids.

◆ compute_face_advection_term_explicit_weno3_fd_wrapper()

subroutine mod_compute_div_u_psi_term_explicit_generic_weno::compute_face_advection_term_explicit_weno3_fd_wrapper ( type(t_face_field), intent(in)  psi,
type(t_face_field), intent(in)  velocity,
double precision, intent(in)  dt,
type(t_fv_flux), intent(in)  flux_type,
integer, dimension(:), intent(in)  directions,
type(t_face_field), intent(inout)  divupsi 
)

◆ compute_face_advection_term_explicit_weno5_fd()

subroutine mod_compute_div_u_psi_term_explicit_generic_weno::compute_face_advection_term_explicit_weno5_fd ( type(t_face_field), intent(in)  velocityL,
type(t_face_field), intent(in)  velocityR,
type(t_face_field), intent(inout)  advec_explicit 
)
Parameters
[in]velocityLlower face velocity field
[in]velocityRupper face velocity field
[in]density_faceface centered density field
[in,out]advec_explicit\( \rho \nabla \cdot (\mathbf{u} \otimes \mathbf{u}) \) [1] Jiang, G.-S. and Shu, C.-W., Efficient Implementation of Weighted ENO Schemes, Journal of Computational Physics, Vol. 126, No. 1, 1996, pp. 202-228 .
Todo:
[AJ]: Generalize for rectilinear grids. Only supports Cartesian grids.

◆ compute_face_advection_term_explicit_weno5_fd_wrapper()

subroutine mod_compute_div_u_psi_term_explicit_generic_weno::compute_face_advection_term_explicit_weno5_fd_wrapper ( type(t_face_field), intent(in)  psi,
type(t_face_field), intent(in)  velocity,
double precision, intent(in)  dt,
type(t_fv_flux), intent(in)  flux_type,
integer, dimension(:), intent(in)  directions,
type(t_face_field), intent(inout)  divupsi 
)

◆ weno3_gen()

subroutine mod_compute_div_u_psi_term_explicit_generic_weno::weno3_gen ( double precision, dimension (:), intent(in)  flux_in,
double precision, intent(out)  flux_out,
integer, intent(in)  weno_select 
)
Parameters
[in]flux_ininput values to determine WENO flux
[out]flux_outWENO flux
[in]weno_selectupwinding direction

◆ weno5_gen()

subroutine mod_compute_div_u_psi_term_explicit_generic_weno::weno5_gen ( double precision, dimension (:,:), intent(in)  flux_in,
double precision, dimension (:), intent(out)  flux_out,
integer, intent(in)  weno_select 
)
Parameters
[in]flux_ininput values to determine WENO flux
[out]flux_outWENO flux
[in]weno_selectupwinding direction