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
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,12 +166,12 @@ MPI topology is automatically optimized to maximize the parallel efficiency for
166
166
|`vel(i)` * | Real | Supported | Velocity in direction $i$. |
167
167
|`hcid` * | Integer | N/A | Hard coded patch id |
168
168
|`cf_val` * | Real | Supported | Surface tension color function value |
169
-
|`model%%filepath`| String | Not Supported | Path to an STL or OBJ file (not all OBJs are supported). |
170
-
|`model%%scale(i)`| Real | Not Supported | Model's (applied) scaling factor for component $i$. |
171
-
|`model%%rotate(i)`| Real | Not Supported | Model's (applied) angle of rotation about axis $i$. |
172
-
|`model%%translate(i)`| Real | Not Supported | Model's $i$-th component of (applied) translation. |
173
-
|`model%%spc`| Integer | Not Supported | Number of samples per cell when discretizing the model into the grid. |
174
-
|`model%%threshold`| Real | Not Supported | Ray fraction inside the model patch above which the fraction is set to one.|
169
+
|`model_filepath`| String | Not Supported | Path to an STL or OBJ file (not all OBJs are supported). |
170
+
|`model_scale(i)`| Real | Not Supported | Model's (applied) scaling factor for component $i$. |
171
+
|`model_rotate(i)`| Real | Not Supported | Model's (applied) angle of rotation about axis $i$. |
172
+
|`model_translate(i)`| Real | Not Supported | Model's $i$-th component of (applied) translation. |
173
+
|`model_spc`| Integer | Not Supported | Number of samples per cell when discretizing the model into the grid. |
174
+
|`model_threshold`| Real | Not Supported | Ray fraction inside the model patch above which the fraction is set to one.|
175
175
176
176
*: These parameters should be prepended with `patch_icpp(j)%` where $j$ is the patch index.
177
177
@@ -263,7 +263,11 @@ Optimal choice of the value of `smooth_coeff` is case-dependent and left to the
263
263
-`patch_icpp(j)alpha(i)`, `patch_icpp(j)alpha_rho(i)`, `patch_icpp(j)pres`, and `patch_icpp(j)vel(i)` define for $j$-th patch the void fraction of `fluid(i)`, partial density of `fluid(i)`, the pressure, and the velocity in the $i$-th coordinate direction.
264
264
These physical parameters must be consistent with fluid material's parameters defined in the next subsection.
265
265
266
-
-`model%%scale`, `model%%rotate` and `model%%translate` define how the model should be transformed to domain-space by first scaling by `model%%scale`, then rotating about the Z, X, and Y axes (using `model%%rotate`), and finally translating by `model%%translate`.
266
+
-`model_filepath` defines the root directory of the STL or OBJ model file.
267
+
268
+
-`model_scale`, `model_rotate` and `model_translate` define how the model should be transformed to domain-space by first scaling by `model_scale`, then rotating about the Z, X, and Y axes (using `model_rotate`), and finally translating by `model_translate`.
269
+
270
+
-`model_spc` and `model_threshold` are ray-tracing parameters. `model_spc` defines the number of rays per cell to render the model. `model_threshold` defines the ray-tracing threshold at which the cell is marked as the model.
267
271
268
272
### 4. Immersed Boundary Patches
269
273
@@ -279,12 +283,12 @@ These physical parameters must be consistent with fluid material's parameters de
279
283
|`m`| Real | NACA airfoil parameters (see below) |
280
284
|`p`| Real | NACA airfoil parameters (see below) |
281
285
|`slip`| Logical | Apply a slip boundary |
282
-
|`model%%filepath`| String | Path to an STL or OBJ file (not all OBJs are supported). |
283
-
|`model%%scale(i)`| Real | Model's (applied) scaling factor for component $i$. |
284
-
|`model%%rotate(i)`| Real | Model's (applied) angle of rotation about axis $i$. |
285
-
|`model%%translate(i)`| Real | Model's $i$-th component of (applied) translation. |
286
-
|`model%%spc`| Integer | Number of samples per cell when discretizing the model into the grid. |
287
-
|`model%%threshold`| Real | Ray fraction inside the model patch above which the fraction is set to one.|
286
+
|`model_filepath`| String | Path to an STL or OBJ file (not all OBJs are supported). |
287
+
|`model_scale(i)`| Real | Model's (applied) scaling factor for component $i$. |
288
+
|`model_rotate(i)`| Real | Model's (applied) angle of rotation about axis $i$. |
289
+
|`model_translate(i)`| Real | Model's $i$-th component of (applied) translation. |
290
+
|`model_spc`| Integer | Number of samples per cell when discretizing the model into the grid. |
291
+
|`model_threshold`| Real | Ray fraction inside the model patch above which the fraction is set to one.|
288
292
289
293
These parameters should be prepended with `patch_ib(j)%` where $j$ is the patch index.
290
294
@@ -307,6 +311,8 @@ Additional details on this specification can be found in [The Naca Airfoil Serie
307
311
308
312
-`slip` applies a slip boundary to the surface of the patch if true and a no-slip boundary condition to the surface if false.
309
313
314
+
- Please see [Patch Parameters](#3-patches) for the descriptions of `model_filepath`, `model_scale`, `model_rotate`, `model_translate`, `model_spc`, and `model_threshold`.
Copy file name to clipboardExpand all lines: src/common/m_constants.fpp
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,9 @@ module m_constants
29
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
30
30
31
31
! IBM+STL interpolation constants
32
-
integer, parameter:: Ifactor_2D =100 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 2D models
33
-
integer, parameter:: Ifactor_3D =10 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 3D models
34
-
integer, parameter:: Ifactor_bary_3D =30 !< Multiple factor of the ratio (triangle area to cell face area) for interpolation on triangle facets for 3D models
32
+
integer, parameter:: Ifactor_2D =50 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 2D models
33
+
integer, parameter:: Ifactor_3D =5 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 3D models
34
+
integer, parameter:: Ifactor_bary_3D =20 !< Multiple factor of the ratio (triangle area to cell face area) for interpolation on triangle facets for 3D models
35
35
integer, parameter:: num_ray =20 !< Default number of rays traced per cell
36
36
real(kind(0d0)), parameter:: ray_tracing_threshold =0.9d0 !< Threshold above which the cell is marked as the model patch
37
37
real(kind(0d0)), parameter:: threshold_vector_zero =1d-10 !< Threshold to treat the component of a vector to be zero
0 commit comments