Explicit inertial term with an upwind generic weno scheme.
|
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.
|
|
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.
|
|
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.
|
|
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].
|
|
subroutine | weno5_gen (flux_in, flux_out, weno_select) |
| Computes flux for a \( 5^{th} \) order finite difference based WENO scheme.
|
|
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].
|
|
subroutine | weno3_gen (flux_in, flux_out, weno_select) |
| Computes flux for a \( 3^{th} \) order finite difference based WENO scheme.
|
|
◆ 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] | velocityL | lower face velocity field |
[in] | velocityR | upper face velocity 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] | velocityL | lower face velocity field |
[in] | velocityR | upper face velocity 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_in | input values to determine WENO flux |
[out] | flux_out | WENO flux |
[in] | weno_select | upwinding 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_in | input values to determine WENO flux |
[out] | flux_out | WENO flux |
[in] | weno_select | upwinding direction |