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
Copy file name to clipboardExpand all lines: docs/documentation/case.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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
@@ -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: src/common/m_constants.fpp
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,6 @@ 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
-
29
-
!< Broadband acoustic source constant (reference: Tam et al. JSV 2005)
30
-
integer, parameter:: num_broadband_freq =100 !< The number of sine wave frequencies in broadband acoustic source.
31
-
real(kind(0d0)), parameter:: broadband_freq_lowest =500d0 !< The lower sine wave frequency bound in broadband acoustic source.
32
-
real(kind(0d0)), parameter:: broadband_bandwidth =100d0 !< The bandwidth of the discretized sine wave frequencies.
33
28
real(kind(0d0)), parameter:: broadband_spectral_level_constant =20d0 !< The constant to scale the spectral level at the lower frequency bound
34
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