@@ -740,9 +740,8 @@ contains
740740 & - s_P* B%L(norm_dir)) + s_M* s_P* (qL_prim_rsx_vf(${SF(' ' )}$, &
741741 & eqn_idx%psi) - qR_prim_rsx_vf(${SF(' + 1' )}$, eqn_idx%psi)))/ (s_M - s_P)
742742 else
743- flux_rsx_vf(${SF(' ' )}$, &
744- & eqn_idx%B%beg + norm_dir - 1 ) &
745- & = 0._wp ! Without hyperbolic cleaning, make sure flux of B_normal is identically zero
743+ ! Without hyperbolic cleaning, make sure flux of B_normal is identically zero
744+ flux_rsx_vf(${SF(' ' )}$, eqn_idx%B%beg + norm_dir - 1 ) = 0._wp
746745 end if
747746 end if
748747 flux_src_rsx_vf(${SF(' ' )}$, eqn_idx%adv%beg) = 0._wp
@@ -2765,8 +2764,8 @@ contains
27652764 $:GPU_LOOP(parallelism= ' [seq]' )
27662765 do i = eqn_idx%bub%beg, eqn_idx%bub%end
27672766 flux_rsx_vf(${SF(' ' )}$, i) = xi_M* nbub_L* qL_prim_rsx_vf(${SF(' ' )}$, &
2768- & i)* (vel_L(dir_idx(1 )) + s_M* xi_L_m1) + xi_P * nbub_R &
2769- & * qR_prim_rsx_vf(${SF(' + 1' )}$, i)* (vel_R(dir_idx(1 )) + s_P* xi_R_m1)
2767+ & i)* (vel_L(dir_idx(1 )) + s_M* xi_L_m1) &
2768+ & + xi_P * nbub_R * qR_prim_rsx_vf(${SF(' + 1' )}$, i)* (vel_R(dir_idx(1 )) + s_P* xi_R_m1)
27702769 end do
27712770
27722771 if (qbmm) then
@@ -3209,8 +3208,8 @@ contains
32093208 ! COLOR FUNCTION FLUX
32103209 if (surface_tension) then
32113210 flux_rsx_vf(${SF(' ' )}$, eqn_idx%c) = xi_M* qL_prim_rsx_vf(${SF(' ' )}$, &
3212- & eqn_idx%c)* (vel_L(dir_idx(1 )) + s_M* xi_L_m1) + xi_P * &
3213- & qR_prim_rsx_vf(${SF(' + 1' )}$, eqn_idx%c)* (vel_R(dir_idx(1 )) + s_P* xi_R_m1)
3211+ & eqn_idx%c)* (vel_L(dir_idx(1 )) + s_M* xi_L_m1) &
3212+ & + xi_P * qR_prim_rsx_vf(${SF(' + 1' )}$, eqn_idx%c)* (vel_R(dir_idx(1 )) + s_P* xi_R_m1)
32143213 end if
32153214
32163215 ! Hyperelastic reference map flux for material deformation tracking
0 commit comments