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
+13-12Lines changed: 13 additions & 12 deletions
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
@@ -577,7 +578,7 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
577
578
578
579
-`%%dipole` changes the default monopole (one-sided) source to a dipole source. It is only available for planar waves.
579
580
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).
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).
581
582
582
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)
583
584
@@ -601,13 +602,13 @@ Details of the transducer acoustic source model can be found in [Maeda and Colon
601
602
602
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.
603
604
604
-
-`%%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.
605
606
606
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.
607
608
608
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.
609
610
610
-
-`%%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.
611
612
612
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.
613
614
@@ -847,14 +848,14 @@ Each patch requires a different set of parameters, which are also listed in this
0 commit comments