@@ -224,42 +224,24 @@ contains
224224 type(scalar_field), dimension (sys_size), intent (IN ) :: q_prim_vf
225225 integer , intent (IN ) :: t_step
226226
227- real (kind (0d0 )), dimension (num_fluids) :: alpha_rho !< Cell- avg. partial density
228227 real (kind (0d0 )) :: rho !< Cell- avg. density
229228 real (kind (0d0 )), dimension (num_dims) :: vel !< Cell- avg. velocity
230229 real (kind (0d0 )) :: vel_sum !< Cell- avg. velocity sum
231230 real (kind (0d0 )) :: pres !< Cell- avg. pressure
232231 real (kind (0d0 )), dimension (num_fluids) :: alpha !< Cell- avg. volume fraction
233232 real (kind (0d0 )) :: gamma !< Cell- avg. sp. heat ratio
234233 real (kind (0d0 )) :: pi_inf !< Cell- avg. liquid stiffness function
235- real (kind (0d0 )) :: qv !< Cell- avg. fluid reference energy
236234 real (kind (0d0 )) :: c !< Cell- avg. sound speed
237- real (kind (0d0 )) :: E !< Cell- avg. energy
238235 real (kind (0d0 )) :: H !< Cell- avg. enthalpy
239236 real (kind (0d0 )), dimension (2 ) :: Re !< Cell- avg. Reynolds numbers
240-
241- ! ICFL, VCFL, CCFL and Rc stability criteria extrema for the current
242- ! time- step and located on both the local (loc) and the global (glb)
243- ! computational domains
244-
245- real (kind (0d0 )) :: blkmod1, blkmod2 !<
246- !! Fluid bulk modulus for Woods mixture sound speed
247-
248- integer :: i, j, k, l, q !< Generic loop iterators
249-
250- integer :: Nfq
251- real (kind (0d0 )) :: fltr_dtheta !<
252- !! Modified dtheta accounting for Fourier filtering in azimuthal direction.
237+ integer :: j, k, l
253238
254239 ! Computing Stability Criteria at Current Time- step ================
255- !$acc parallel loop collapse(3 ) gang vector default(present) private(alpha_rho, vel, alpha, Re, fltr_dtheta, Nfq )
240+ !$acc parallel loop collapse(3 ) gang vector default(present) private(vel, alpha, Re)
256241 do l = 0 , p
257242 do k = 0 , n
258243 do j = 0 , m
259-
260244 call s_compute_enthalpy(q_prim_vf, pres, rho, gamma, pi_inf, Re, H, alpha, vel, vel_sum, j, k, l)
261-
262- ! Compute mixture sound speed
263245 call s_compute_speed_of_sound(pres, rho, gamma, pi_inf, H, alpha, vel_sum, 0d0 , c)
264246
265247 if (viscous) then
@@ -380,14 +362,9 @@ contains
380362
381363 character (LEN= 15 ) :: FMT
382364
383- integer :: i, j, k, l, ii, r!< Generic loop iterators
365+ integer :: i, j, k, l, r
384366
385- real (kind (0d0 )), dimension (nb) :: nRtmp !< Temporary bubble concentration
386- real (kind (0d0 )) :: nbub, nR3, vftmp !< Temporary bubble number density
387367 real (kind (0d0 )) :: gamma, lit_gamma, pi_inf, qv !< Temporary EOS params
388- real (kind (0d0 )) :: rho !< Temporary density
389- real (kind (0d0 )), dimension (2 ) :: Re !< Temporary Reynolds number
390- real (kind (0d0 )) :: E_e !< Temp. elastic energy contribution
391368
392369 ! Creating or overwriting the time- step root directory
393370 write (t_step_dir, ' (A,I0,A,I0)' ) trim (case_dir)// ' /p_all'
@@ -950,21 +927,17 @@ contains
950927 real (kind (0d0 )) :: int_pres
951928 real (kind (0d0 )) :: max_pres
952929 real (kind (0d0 )), dimension (2 ) :: Re
953- real (kind (0d0 )) :: E_e
954930 real (kind (0d0 )), dimension (6 ) :: tau_e
955931 real (kind (0d0 )) :: G
956932 real (kind (0d0 )) :: dyn_p, Temp
957933
958- integer :: i, j, k, l, s, q, d !< Generic loop iterator
934+ integer :: i, j, k, l, s, d !< Generic loop iterator
959935
960936 real (kind (0d0 )) :: nondim_time !< Non- dimensional time
961937
962938 real (kind (0d0 )) :: tmp !<
963939 !! Temporary variable to store quantity for mpi_allreduce
964940
965- real (kind (0d0 )) :: blkmod1, blkmod2 !<
966- !! Fluid bulk modulus for Woods mixture sound speed
967-
968941 integer :: npts !< Number of included integral points
969942 real (kind (0d0 )) :: rad, thickness !< For integral quantities
970943 logical :: trigger !< For integral quantities
@@ -978,7 +951,7 @@ contains
978951 if (t_step_old /= dflt_int) then
979952 nondim_time = real (t_step + t_step_old, kind (0d0 ))* dt
980953 else
981- nondim_time = real (t_step, kind (0d0 ))* dt ! * 1.d-5 / 10.0761131451d0
954+ nondim_time = real (t_step, kind (0d0 ))* dt
982955 end if
983956 end if
984957
@@ -1603,10 +1576,6 @@ contains
16031576 !! other procedures that are necessary to setup the module.
16041577 subroutine s_initialize_data_output_module
16051578
1606- type(int_bounds_info) :: ix, iy, iz
1607-
1608- integer :: i !< Generic loop iterator
1609-
16101579 ! Allocating/ initializing ICFL, VCFL, CCFL and Rc stability criteria
16111580 @:ALLOCATE_GLOBAL(icfl_sf(0 :m, 0 :n, 0 :p))
16121581 icfl_max = 0d0
@@ -1644,8 +1613,6 @@ contains
16441613 !> Module deallocation and/ or disassociation procedures
16451614 subroutine s_finalize_data_output_module
16461615
1647- integer :: i !< Generic loop iterator
1648-
16491616 ! Deallocating the ICFL, VCFL, CCFL, and Rc stability criteria
16501617 @:DEALLOCATE_GLOBAL(icfl_sf)
16511618 if (viscous) then
0 commit comments