MFC: Simulation
High-fidelity multiphase flow simulation
|
Functions/Subroutines | |
subroutine | s_compute_fd_divergence (div, fields, ix_s, iy_s, iz_s) |
subroutine | s_compute_finite_difference_coefficients (q, s_cc, fd_coeff_s, buff_size, fd_number_in, fd_order_in, offset_s) |
The purpose of this subroutine is to compute the finite- difference coefficients for the centered schemes utilized in computations of first order spatial derivatives in the s-coordinate direction. The s-coordinate direction refers to the x-, y- or z-coordinate direction, depending on the subroutine's inputs. Note that coefficients of up to 4th order accuracy are available. | |
subroutine m_finite_differences::s_compute_fd_divergence | ( | type(scalar_field), intent(inout) | div, |
type(scalar_field), dimension(1:3), intent(in) | fields, | ||
type(int_bounds_info), intent(in) | ix_s, | ||
type(int_bounds_info), intent(in) | iy_s, | ||
type(int_bounds_info), intent(in) | iz_s ) |
subroutine m_finite_differences::s_compute_finite_difference_coefficients | ( | integer, intent(in) | q, |
real(wp), dimension(-buff_size:q + buff_size), intent(in) | s_cc, | ||
real(wp), dimension(:, :), intent(inout), allocatable | fd_coeff_s, | ||
integer, intent(in) | buff_size, | ||
integer, intent(in) | fd_number_in, | ||
integer, intent(in) | fd_order_in, | ||
type(int_bounds_info), intent(in), optional | offset_s ) |
The purpose of this subroutine is to compute the finite- difference coefficients for the centered schemes utilized in computations of first order spatial derivatives in the s-coordinate direction. The s-coordinate direction refers to the x-, y- or z-coordinate direction, depending on the subroutine's inputs. Note that coefficients of up to 4th order accuracy are available.
q | Number of cells in the s-coordinate direction |
s_cc | Locations of the cell-centers in the s-coordinate direction |
fd_coeff_s | Finite-diff. coefficients in the s-coordinate direction |