You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`acoustic(i)%%npulse`| Real | Number of pulse cycles |
550
550
|`acoustic(i)%%mag`| Real | Pulse magnitude |
551
551
|`acoustic(i)%%frequency`| Real | Sine/Square - Frequency of the acoustic wave (exclusive) |
@@ -563,6 +563,9 @@ If `file_per_process` is true, then pre_process, simulation, and post_process mu
563
563
|`acoustic(i)%%element_spacing_angle`| Real | 2D Transducer array - Spacing angle (in rad) between adjacent transducer elements |
564
564
|`acoustic(i)%%element_polygon_ratio`| Real | 3D Transducer array - Ratio of polygon side length to transducer element radius |
565
565
|`acoustic(i)%%rotate_angle`| Real | 3D Transducer array - Rotation angle of the transducer array (optional; default = 0) |
566
+
|`acoustic(i)%%bb_num_freq`| integer | Number of frequencies in broadband wave |
567
+
|`acoustic(i)%%bb_bandwidth`| Real | The bandwidth of each frequency in the broadband wave |
568
+
|`acoustic(i)%%bb_lowest_freq`| Real | The lower frequency bound of the broadband wave |
566
569
567
570
Details of the transducer acoustic source model can be found in [Maeda and Colonius (2017)](references.md#Maeda17).
568
571
@@ -576,7 +579,7 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
576
579
577
580
-`%%loc(j)` specifies the location of the acoustic source in the $j$-th coordinate direction. For planer support, the location defines midpoint of the source plane. For transducer arrays, the location defines the center of the transducer or transducer array (not the focal point; for 3D it's the tip of the spherical cap, for 2D it's the tip of the arc).
578
581
579
-
-`%%pulse` specifies the acoustic wave form. `%%pulse = 1`, `2`, and `3` correspond to sinusoidal wave, Gaussian wave, and square wave, respectively.
582
+
-`%%pulse` specifies the acoustic wave form. `%%pulse = 1`, `2`, `3`and `4` correspond to sinusoidal wave, Gaussian wave, square wave and broadband wave, respectively. The implementation of the broadband wave is based on [Tam (2005)](references.md#Tam05)
580
583
581
584
-`%%npulse` specifies the number of cycles of the acoustic wave generated. Only applies to `%%pulse = 1 and 3` (sine and square waves), and must be an integer for non-planar waves.
582
585
@@ -608,6 +611,12 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
608
611
609
612
-`%%rotate_angle` specifies the rotation angle of the 3D circular transducer array along the x-axis (principal axis). It is optional and defaults to 0.
610
613
614
+
-`%%bb_num_freq` specifies the number discretized frequencies in the broadband acoustic wave. If `%%bb_num_freq` is 1, the acoustic wave will be a discrete tone (i.e. single frequency sine wave).
615
+
616
+
-`%%bb_bandwidth` specifies the bandwidth of the discretized frequencies.
617
+
618
+
-`%%bb_lowest_freq` specifies the lower frequency bound of the broadband acoustic wave. The upper frequency bound will be calculated as `%%bb_lowest_freq + %%bb_num_freq * %%bb_bandwidth`. The wave is no longer broadband below the lower bound and above the upper bound.
Copy file name to clipboardExpand all lines: docs/documentation/references.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@
40
40
41
41
- <aid="Suresh97">Suresh, A. and Huynh, H. (1997). Accurate monotonicity-preserving schemes with runge–kutta time stepping. Journal of Computational Physics, 136(1):83–99.</a>
42
42
43
+
- <aid="Tam05">Tam, C. K., Ju, H., Jones, M. G., Watson, W. R., and Parrott, T. L. (2005). A computational and experimental study of slit resonators. Journal of Sound and Vibration, 284(3-5), 947-984.</a>
44
+
43
45
- <aid="Thompson87">Thompson, K. W. (1987). Time dependent boundary conditions for hyperbolic systems. Journal of computational physics, 68(1):1–24.</a>
44
46
45
47
- <aid="Thompson90">Thompson, K. W. (1990). Time-dependent boundary conditions for hyperbolic systems, ii. Journal of computational physics, 89(2):439–461.</a>
Copy file name to clipboardExpand all lines: src/common/m_constants.fpp
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,5 +25,7 @@ module m_constants
25
25
real(kind(0d0)), parameter:: capillary_cutoff =1e-6 !< color function gradient magnitude at which to apply the surface tension fluxes
26
26
real(kind(0d0)), parameter:: acoustic_spatial_support_width =2.5d0 !< Spatial support width of acoustic source, used in s_source_spatial
27
27
real(kind(0d0)), parameter:: dflt_vcfl_dt =100d0 !< value of vcfl_dt when viscosity is off for computing adaptive timestep size
28
+
real(kind(0d0)), parameter:: broadband_spectral_level_constant =20d0 !< The constant to scale the spectral level at the lower frequency bound
29
+
real(kind(0d0)), parameter:: broadband_spectral_level_growth_rate =10d0 !< The spectral level constant to correct the magnitude at each frqeuency to ensure the source is overall broadband
Copy file name to clipboardExpand all lines: src/common/m_derived_types.fpp
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -298,8 +298,11 @@ module m_derived_types
298
298
real(kind(0d0)) :: element_spacing_angle !< Spacing between aperture elements in 2D acoustic array
299
299
real(kind(0d0)) :: element_polygon_ratio !< Ratio of aperture element diameter to side length of polygon connecting their centers, in 3D acoustic array
300
300
real(kind(0d0)) :: rotate_angle !< Angle of rotation of the entire circular 3D acoustic array
301
+
real(kind(0d0)) :: bb_bandwidth !< Bandwidth of each frequency in broadband wave
302
+
real(kind(0d0)) :: bb_lowest_freq !< The lower frequency bound of broadband wave
301
303
integer :: num_elements !< Number of elements in the acoustic array
302
304
integer :: element_on !< Element in the acoustic array to turn on
305
+
integer :: bb_num_freq !< Number of frequencies in the broadband wave
0 commit comments