Skip to content

Commit 237f38a

Browse files
committed
Trim verbose paper references and remove duplicate comments
1 parent 9be1d12 commit 237f38a

8 files changed

Lines changed: 12 additions & 23 deletions

File tree

src/common/m_helper.fpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@ contains
174174
integer :: ir
175175
real(wp), dimension(nb) :: chi_vw0, cp_m0, k_m0, rho_m0, x_vw, omegaN, rhol0
176176
real(wp), parameter :: k_poly = 1._wp !< polytropic index used to compute isothermal natural frequency
177-
! Chapman-Enskog transport coefficients for vapor-gas mixture, Ando JAS (2010) Eq. 2.22
177+
! Chapman-Enskog transport coefficients for vapor-gas mixture, Ando JAS (2010)
178178

179179
phi_vg = (1._wp + sqrt(mu_v/mu_g)*(M_g/M_v)**(0.25_wp))**2/(sqrt(8._wp)*sqrt(1._wp + M_v/M_g))
180180
phi_gv = (1._wp + sqrt(mu_g/mu_v)*(M_v/M_g)**(0.25_wp))**2/(sqrt(8._wp)*sqrt(1._wp + M_g/M_v))
181181

182182
! Initial internal bubble pressure (Euler number + Laplace pressure)
183183
pb0 = Eu + 2._wp/Web/R0
184184

185-
! Vapor mass fraction at bubble wall, Ando JAS (2010) Eq. 2.19
185+
! Vapor mass fraction at bubble wall, Ando JAS (2010)
186186
chi_vw0 = 1._wp/(1._wp + R_v/R_g*(pb0/pv - 1._wp))
187187

188188
! Mixture specific heat from mass-weighted vapor/gas contributions
@@ -206,7 +206,7 @@ contains
206206
! Peclet numbers
207207
Pe_T(:) = rho_m0*cp_m0(:)/k_m0(:)
208208

209-
! Bubble natural frequency, Ando JAS (2010) Eq. B.1
209+
! Bubble natural frequency, Ando JAS (2010)
210210
omegaN(:) = sqrt(3._wp*k_poly*Ca + 2._wp*(3._wp*k_poly - 1._wp)/(Web*R0))/R0/sqrt(rho0ref)
211211
do ir = 1, nb
212212
call s_transcoeff(omegaN(ir)*R0(ir), Pe_T(ir)*R0(ir), Re_trans_T(ir), Im_trans_T(ir))

src/common/m_phase_change.fpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ contains
5454
!! selecting the phase change module that will be used (pT- or pTg-equilibrium)
5555
impure subroutine s_initialize_phasechange_module
5656

57-
! Saturation curve coefficients derived from Clausius-Clapeyron relation via stiffened gas EOS. Saurel et al. JCP (2008), Le
58-
! Metayer et al. JFE (2004) gs_min = gamma-1, cvs = specific heat at constant volume, qvps = reference entropy, qvs =
59-
! reference energy
57+
! Saturation curve coefficients via stiffened gas EOS. Saurel et al. JCP (2008), Le Metayer et al. JFE (2004)
6058
A = (gs_min(lp)*cvs(lp) - gs_min(vp)*cvs(vp) + qvps(vp) - qvps(lp))/((gs_min(vp) - 1.0_wp)*cvs(vp))
6159

6260
B = (qvs(lp) - qvs(vp))/((gs_min(vp) - 1.0_wp)*cvs(vp))

src/common/m_variables_conversion.fpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,7 @@ contains
572572
#endif
573573
end if
574574

575-
! Recover primitive variables from relativistic MHD conserved variables via Newton-Raphson iteration on total
576-
! enthalpy W. Mignone & Bodo A&A (2006) W = total enthalpy, Ga = Lorentz factor, B2 = |B|^2, m2 = |m|^2, S = m.B
575+
! Relativistic MHD primitive variable recovery, Mignone & Bodo A&A (2006)
577576
if (relativity) then
578577
if (n == 0) then
579578
B(1) = Bx0

src/simulation/m_acoustic_src.fpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
#:include 'macros.fpp'
66

7-
!> @brief One-way acoustic source injection following Maeda and Colonius, JCP 2017. Supports planar, focused transducer, transducer
8-
!! array, and broadband waveforms.
7+
!> @brief One-way acoustic source injection, Maeda and Colonius JCP (2017)
98
module m_acoustic_src
109

1110
use m_derived_types !< Definitions of the derived types

src/simulation/m_bubbles.fpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ contains
7575

7676
end function f_rddot
7777

78-
!> Bubble wall pressure: stiffened gas with Laplace pressure and viscous stress Ca = cavitation number, Web = Weber number,
79-
!! Re_inv = inverse Reynolds number Rayleigh PRSLA (1917), Plesset JAM (1949), Keller-Miksis JASA (1980)
78+
!> Bubble wall pressure: stiffened gas with Laplace pressure and viscous stress
8079
!! @param fR0 Equilibrium bubble radius
8180
!! @param fR Current bubble radius
8281
!! @param fV Current bubble velocity
@@ -234,7 +233,7 @@ contains
234233

235234
end function f_rddot_G
236235

237-
!> Function that computes the bubble wall pressure for Keller--Miksis bubbles
236+
!> Keller-Miksis bubble wall pressure
238237
!! @param fR0 Equilibrium bubble radius
239238
!! @param fR Current bubble radius
240239
!! @param fV Current bubble velocity

src/simulation/m_ibm.fpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ contains
111111
@:ALLOCATE(ghost_points(1:max_num_gps))
112112

113113
$:GPU_ENTER_DATA(copyin='[ghost_points]')
114-
! Ghost-cell immersed boundary method procedure: 1. Identify ghost points adjacent to IB surface 2. Apply levelset to
115-
! determine inside/outside 3. Compute image points (reflection across IB surface) 4. Interpolate flow variables at image
116-
! points Tseng & Ferziger JCP (2003), Mittal & Iaccarino ARFM (2005)
114+
! Ghost-cell IBM, Tseng & Ferziger JCP (2003), Mittal & Iaccarino ARFM (2005)
117115
call s_find_ghost_points(ghost_points)
118116
call s_apply_levelset(ghost_points, num_gps)
119117

src/simulation/m_riemann_solvers.fpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ contains
526526
s_L = min(vel_L(dir_idx(1)) - c_fast%L, vel_R(dir_idx(1)) - c_fast%R)
527527
s_R = max(vel_R(dir_idx(1)) + c_fast%R, vel_L(dir_idx(1)) + c_fast%L)
528528
else if (hypoelasticity) then
529-
! Elastic longitudinal wave speed: sqrt(c^2 + (4G/3 + tau_e)/rho), Rodriguez et al. JCP (2019)
529+
! Elastic wave speed, Rodriguez et al. JCP (2019)
530530
s_L = min(vel_L(dir_idx(1)) - sqrt(c_L*c_L + (((4._wp*G_L)/3._wp) + tau_e_L(dir_idx_tau(1))) &
531531
& /rho_L), &
532532
& vel_R(dir_idx(1)) - sqrt(c_R*c_R + (((4._wp*G_R)/3._wp) + tau_e_R(dir_idx_tau(1))) &
@@ -2026,8 +2026,7 @@ contains
20262026
! COMPUTING THE DIRECT WAVE SPEEDS
20272027
if (wave_speeds == 1) then
20282028
if (elasticity) then
2029-
! Elastic longitudinal wave speed: sqrt(c^2 + (4G/3 + tau_e)/rho), Rodriguez et al. JCP
2030-
! (2019)
2029+
! Elastic wave speed, Rodriguez et al. JCP (2019)
20312030
s_L = min(vel_L(dir_idx(1)) - sqrt(c_L*c_L + (((4._wp*G_L)/3._wp) + tau_e_L(dir_idx_tau(1) &
20322031
& ))/rho_L), &
20332032
& vel_R(dir_idx(1)) - sqrt(c_R*c_R + (((4._wp*G_R)/3._wp) &
@@ -3101,8 +3100,7 @@ contains
31013100

31023101
if (wave_speeds == 1) then
31033102
if (elasticity) then
3104-
! Elastic longitudinal wave speed: sqrt(c^2 + (4G/3 + tau_e)/rho), Rodriguez et al. JCP
3105-
! (2019)
3103+
! Elastic wave speed, Rodriguez et al. JCP (2019)
31063104
s_L = min(vel_L(dir_idx(1)) - sqrt(c_L*c_L + (((4._wp*G_L)/3._wp) + tau_e_L(dir_idx_tau(1) &
31073105
& ))/rho_L), &
31083106
& vel_R(dir_idx(1)) - sqrt(c_R*c_R + (((4._wp*G_R)/3._wp) &

src/simulation/m_surface_tension.fpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ contains
160160
& j, l, i)
161161
end do
162162

163-
! Continuum surface force capillary stress, Schmidmayer et al. JCP (2017)
164163
flux_src_vf(E_idx)%sf(j, k, l) = flux_src_vf(E_idx)%sf(j, k, &
165164
& l) + sigma*c_divs(num_dims + 1)%sf(j, k, l)*vSrc_rsy_vf(k, j, l, 2)
166165
end if
@@ -203,7 +202,6 @@ contains
203202
& k, j, i)
204203
end do
205204

206-
! Continuum surface force capillary stress, Schmidmayer et al. JCP (2017)
207205
flux_src_vf(E_idx)%sf(j, k, l) = flux_src_vf(E_idx)%sf(j, k, &
208206
& l) + sigma*c_divs(num_dims + 1)%sf(j, k, l)*vSrc_rsz_vf(l, k, j, 3)
209207
end if

0 commit comments

Comments
 (0)