m_rhs Module

@file m_rhs.f90 @brief Contains module m_rhs @author S. Bryngelson, K. Schimdmayer, V. Coralic, J. Meng, K. Maeda, T. Colonius @version 1.0 @date JUNE 06 2019 @brief The module contains the subroutines used to calculate the right- hand-side (RHS) in the quasi-conservative, shock- and interface- capturing finite-volume framework for the multicomponent Navier- f Stokes equations supplemented by appropriate advection equations used to capture the material interfaces. The system of equations is closed by the stiffened gas equation of state, as well as any required mixture relationships. Capillarity effects are included and are modeled by the means of a volume force acting across the diffuse material interface region. The implementation details of surface tension may be found in Perigaud and Saurel (2005). Note that both viscous and surface tension effects are only available in the volume fraction model.

schemes for spatial reconstruction of variables


Uses

  • module~~m_rhs~~UsesGraph module~m_rhs m_rhs m_cbc m_cbc module~m_rhs->m_cbc m_weno m_weno module~m_rhs->m_weno module~m_mpi_proxy m_mpi_proxy module~m_rhs->module~m_mpi_proxy module~m_variables_conversion m_variables_conversion module~m_rhs->module~m_variables_conversion module~m_bubbles m_bubbles module~m_rhs->module~m_bubbles module~m_global_parameters m_global_parameters module~m_rhs->module~m_global_parameters m_derived_types m_derived_types module~m_rhs->m_derived_types module~nvtx nvtx module~m_rhs->module~nvtx module~m_qbmm m_qbmm module~m_rhs->module~m_qbmm module~m_riemann_solvers m_riemann_solvers module~m_rhs->module~m_riemann_solvers module~m_mpi_proxy->module~m_global_parameters module~m_mpi_proxy->m_derived_types mpi mpi module~m_mpi_proxy->mpi module~m_variables_conversion->module~m_mpi_proxy module~m_variables_conversion->module~m_global_parameters module~m_variables_conversion->m_derived_types module~m_variables_conversion->module~nvtx module~m_bubbles->module~m_mpi_proxy module~m_bubbles->module~m_variables_conversion module~m_bubbles->module~m_global_parameters module~m_bubbles->m_derived_types module~m_global_parameters->m_derived_types module~m_global_parameters->mpi openacc openacc module~m_global_parameters->openacc iso_c_binding iso_c_binding module~nvtx->iso_c_binding module~m_qbmm->module~m_mpi_proxy module~m_qbmm->module~m_variables_conversion module~m_qbmm->module~m_global_parameters module~m_qbmm->m_derived_types module~m_riemann_solvers->module~m_mpi_proxy module~m_riemann_solvers->module~m_variables_conversion module~m_riemann_solvers->module~m_bubbles module~m_riemann_solvers->module~m_global_parameters module~m_riemann_solvers->m_derived_types

Used by

  • module~~m_rhs~~UsedByGraph module~m_rhs m_rhs module~m_time_steppers m_time_steppers module~m_time_steppers->module~m_rhs program~p_main p_main program~p_main->module~m_rhs program~p_main->module~m_time_steppers module~m_derived_variables m_derived_variables program~p_main->module~m_derived_variables module~m_derived_variables->module~m_time_steppers

Contents


Subroutines

public subroutine s_initialize_rhs_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.

Read more…

Arguments

None

public subroutine s_compute_rhs(q_cons_vf, q_prim_vf, rhs_vf, t_step)

Arguments

TypeIntentOptionalAttributesName
type(scalar_field), intent(inout), dimension(sys_size):: q_cons_vf
type(scalar_field), intent(inout), dimension(sys_size):: q_prim_vf
type(scalar_field), intent(inout), dimension(sys_size):: rhs_vf
integer, intent(in) :: t_step

public subroutine s_pressure_relaxation_procedure(q_cons_vf)

The purpose of this procedure is to infinitely relax the pressures from the internal-energy equations to a unique pressure, from which the corresponding volume fraction of each phase are recomputed. For conservation purpose, this pressure is finally corrected using the mixture-total-energy equation. @param q_cons_vf Cell-average conservative variables

Arguments

TypeIntentOptionalAttributesName
type(scalar_field), intent(inout), dimension(sys_size):: q_cons_vf

public subroutine s_get_viscous()

This subroutine compute the TVD flux function @param q_cons_vf Cell-averaged conservative variables @param q_prim_vf Cell-averaged primitive variables @param rhs_vf Cell-averaged RHS variables @param i Dimensional splitting index Computes viscous terms @param q_cons_vf Cell-averaged conservative variables @param q_prim_vf Cell-averaged primitive variables @param rhs_vf Cell-averaged RHS variables

Arguments

None

public subroutine s_populate_variables_buffers(v_vf)

The purpose of this procedure is to populate the buffers of the conservative variables, depending on the selected boundary conditions. @param v_vf Scalar field for which buffers are populated

Arguments

TypeIntentOptionalAttributesName
type(scalar_field), intent(inout), dimension(sys_size):: v_vf

public subroutine s_finalize_rhs_module()

Module deallocation and/or disassociation procedures

Arguments

None