MFC: Simulation
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_weno.fpp.f90 File Reference

Functions/Subroutines

program __m_weno_fpp_f90__
 
subroutine s_initialize_weno_module ()
 The computation of parameters, the allocation of memory, the association of pointers and/or the execution of any other procedures that are necessary to setup the module.
 
subroutine s_compute_weno_coefficients (weno_dir, is)
 The purpose of this subroutine is to compute the grid dependent coefficients of the WENO polynomials, ideal weights and smoothness indicators, provided the order, the coordinate direction and the location of the WENO reconstruction.
 
subroutine s_weno (v_vf, vl_rs_vf_x, vl_rs_vf_y, vl_rs_vf_z, vr_rs_vf_x, vr_rs_vf_y, vr_rs_vf_z, norm_dir, weno_dir, is1_weno_d, is2_weno_d, is3_weno_d)
 
subroutine s_initialize_weno (v_vf, norm_dir, weno_dir)
 The computation of parameters, the allocation of memory, the association of pointers and/or the execution of any other procedures that are required for the setup of the WENO reconstruction.
 
subroutine s_preserve_monotonicity (v_rs_ws, vl_rs_vf, vr_rs_vf)
 The goal of this subroutine is to ensure that the WENO reconstruction is monotonic. The latter is achieved by enforcing monotonicity preserving bounds of Suresh and Huynh (1997). The resulting MPWENO reconstruction, see Balsara and Shu (2000), ensures that the reconstructed values do not reside outside the range spanned by WENO stencil.
 
subroutine s_finalize_weno_module ()
 Module deallocation and/or disassociation procedures.
 

Function/Subroutine Documentation

◆ __m_weno_fpp_f90__()

program __m_weno_fpp_f90__
Here is the call graph for this function:

◆ s_compute_weno_coefficients()

subroutine __m_weno_fpp_f90__::s_compute_weno_coefficients ( integer, intent(in) weno_dir,
type(int_bounds_info), intent(in) is )
private

The purpose of this subroutine is to compute the grid dependent coefficients of the WENO polynomials, ideal weights and smoothness indicators, provided the order, the coordinate direction and the location of the WENO reconstruction.

Parameters
weno_dirCoordinate direction of the WENO reconstruction
isIndex bounds in the s-direction
Here is the caller graph for this function:

◆ s_finalize_weno_module()

subroutine __m_weno_fpp_f90__::s_finalize_weno_module
private

Module deallocation and/or disassociation procedures.

Here is the caller graph for this function:

◆ s_initialize_weno()

subroutine __m_weno_fpp_f90__::s_initialize_weno ( type(scalar_field), dimension(:), intent(in) v_vf,
integer, intent(in) norm_dir,
integer, intent(in) weno_dir )
private

The computation of parameters, the allocation of memory, the association of pointers and/or the execution of any other procedures that are required for the setup of the WENO reconstruction.

Parameters
v_vfCell-averaged variables
vL_vfLeft WENO reconstructed cell-boundary values
vR_vfRight WENO reconstructed cell-boundary values
norm_dirCharacteristic decommposition coordinate direction
weno_dirCoordinate direction of the WENO reconstruction
is1_wenoIndex bounds in first coordinate direction
is2_wenoIndex bounds in second coordinate direction
is3_wenoIndex bounds in third coordinate direction
Here is the caller graph for this function:

◆ s_initialize_weno_module()

subroutine __m_weno_fpp_f90__::s_initialize_weno_module
private

The computation of parameters, the allocation of memory, the association of pointers and/or the execution of any other procedures that are necessary to setup the module.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_preserve_monotonicity()

subroutine __m_weno_fpp_f90__::s_preserve_monotonicity ( real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(in) v_rs_ws,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vl_rs_vf,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vr_rs_vf )
private

The goal of this subroutine is to ensure that the WENO reconstruction is monotonic. The latter is achieved by enforcing monotonicity preserving bounds of Suresh and Huynh (1997). The resulting MPWENO reconstruction, see Balsara and Shu (2000), ensures that the reconstructed values do not reside outside the range spanned by WENO stencil.

Parameters
iEquation number
jFirst-coordinate cell index
kSecond-coordinate cell index
lThird-coordinate cell index
Here is the caller graph for this function:

◆ s_weno()

subroutine __m_weno_fpp_f90__::s_weno ( type(scalar_field), dimension(1:), intent(in) v_vf,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vl_rs_vf_x,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vl_rs_vf_y,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vl_rs_vf_z,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vr_rs_vf_x,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vr_rs_vf_y,
real(kind(0d0)), dimension(startx:, starty:, startz:, 1:), intent(inout) vr_rs_vf_z,
integer, intent(in) norm_dir,
integer, intent(in) weno_dir,
type(int_bounds_info), intent(in) is1_weno_d,
type(int_bounds_info), intent(in) is2_weno_d,
type(int_bounds_info), intent(in) is3_weno_d )
private
Here is the call graph for this function:
Here is the caller graph for this function: