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
+24-14Lines changed: 24 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,7 @@ MPI topology is automatically optimized to maximize the parallel efficiency for
165
165
|`pres` * | Real | Supported | Pressure. |
166
166
|`vel(i)` * | Real | Supported | Velocity in direction $i$. |
167
167
|`hcid` * | Integer | N/A | Hard coded patch id |
168
+
|`cf_val` * | Real | Supported | Surface tension color function value |
168
169
|`model%%filepath`| String | Not Supported | Path to an STL or OBJ file (not all OBJs are supported). |
169
170
|`model%%scale(i)`| Real | Not Supported | Model's (applied) scaling factor for component $i$. |
170
171
|`model%%rotate(i)`| Real | Not Supported | Model's (applied) angle of rotation about axis $i$. |
@@ -447,7 +448,7 @@ If this option is false, velocity gradient is computed using finite difference s
447
448
-`weno_avg` it activates the arithmetic average of the left and right, WENO-reconstructed, cell-boundary values.
448
449
This option requires `weno_Re_flux` to be true because cell boundary values are only utilized when employing the scalar divergence method in the computation of velocity gradients.
449
450
450
-
-`surface_tension` activates surface tension when set to ``'T'``. Requires `sigma` to be set.
451
+
-`surface_tension` activates surface tension when set to ``'T'``. Requires `sigma` to be set and `num_fluids`. The color function in each patch should be assigned such that `patch_icpp(i)%cf_val = 1` in patches where `patch_icpp(i)%alpha = 1 - eps` and `patch_icpp(i)%cf_val = 0` in patches where `patch_icpp(i)%alpha = eps`.
451
452
452
453
-`viscous` activates viscosity when set to ``'T'``. Requires `Re(1)` and `Re(2)` to be set.
453
454
@@ -545,7 +546,7 @@ If `file_per_process` is true, then pre_process, simulation, and post_process mu
545
546
|`acoustic(i)%%support`| Integer | Geometry of spatial support for the acoustic source |
|`acoustic(i)%%npulse`| Real | Number of pulse cycles |
550
551
|`acoustic(i)%%mag`| Real | Pulse magnitude |
551
552
|`acoustic(i)%%frequency`| Real | Sine/Square - Frequency of the acoustic wave (exclusive) |
@@ -563,6 +564,9 @@ If `file_per_process` is true, then pre_process, simulation, and post_process mu
563
564
|`acoustic(i)%%element_spacing_angle`| Real | 2D Transducer array - Spacing angle (in rad) between adjacent transducer elements |
564
565
|`acoustic(i)%%element_polygon_ratio`| Real | 3D Transducer array - Ratio of polygon side length to transducer element radius |
565
566
|`acoustic(i)%%rotate_angle`| Real | 3D Transducer array - Rotation angle of the transducer array (optional; default = 0) |
567
+
|`acoustic(i)%%bb_num_freq`| integer | Number of frequencies in broadband wave |
568
+
|`acoustic(i)%%bb_bandwidth`| Real | The bandwidth of each frequency in the broadband wave |
569
+
|`acoustic(i)%%bb_lowest_freq`| Real | The lower frequency bound of the broadband wave |
566
570
567
571
Details of the transducer acoustic source model can be found in [Maeda and Colonius (2017)](references.md#Maeda17).
568
572
@@ -574,9 +578,9 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
574
578
575
579
-`%%dipole` changes the default monopole (one-sided) source to a dipole source. It is only available for planar waves.
576
580
577
-
-`%%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).
581
+
-`%%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
582
579
-
-`%%pulse` specifies the acoustic wave form. `%%pulse = 1`, `2`, and `3` correspond to sinusoidal wave, Gaussian wave, and square wave, respectively.
583
+
-`%%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
584
581
585
-`%%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
586
@@ -598,16 +602,22 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
598
602
599
603
-`%%aperture` specifies the aperture of the transducer. It is the diameter of the projection of the transducer arc onto the y-axis (2D) or spherical cap onto the y-z plane (3D). Set the aperture to double the focal length to simulate a transducer enclosing half of the circle/sphere. For the transducer array, it is the total aperture of the array.
600
604
601
-
-`%%num_elements` specifies the number of transducer elements in a transducer array.
605
+
-`%%num_elements` specifies the number of transducer elements in a transducer array.
602
606
603
607
-`%%element_on` specifies the element number of the transducer array that is on. The element number starts from 1, if all elements are on, set `%%element_on` to 0.
604
608
605
609
-`%%element_spacing_angle` specifies the spacing angle between adjacent transducers in radians. The total aperture (`%%aperture`) is set, so each transducer element is smaller if `%%element_spacing_angle` is larger.
606
610
607
-
-`%%element_polygon_ratio` specifies the ratio of the polygon side length to the aperture diameter of each transducer element in a circular 3D transducer array. The polygon side length is calculated by using the total aperture (`%%aperture`) as the circumcircle diameter and `%%num_elements` as the number of sides of the polygon. The ratio is used to specify the aperture size of each transducer element in the array as a ratio of the total aperture.
611
+
-`%%element_polygon_ratio` specifies the ratio of the polygon side length to the aperture diameter of each transducer element in a circular 3D transducer array. The polygon side length is calculated by using the total aperture (`%%aperture`) as the circumcircle diameter and `%%num_elements` as the number of sides of the polygon. The ratio is used to specify the aperture size of each transducer element in the array as a ratio of the total aperture.
608
612
609
613
-`%%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
614
615
+
-`%%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).
616
+
617
+
-`%%bb_bandwidth` specifies the bandwidth of the discretized frequencies.
618
+
619
+
-`%%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.
620
+
611
621
### 9. Ensemble-Averaged Bubble Model
612
622
613
623
| Parameter | Type | Description |
@@ -838,14 +848,14 @@ Each patch requires a different set of parameters, which are also listed in this
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>
0 commit comments