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
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -312,22 +312,14 @@ This is enabled by adding ``'elliptic_smoothing': "T",`` and ``'elliptic_smoothi
312
312
| Parameter | Type | Description |
313
313
| ---: | :----: | :--- |
314
314
|`num_ibs`| Integer | Number of immersed boundary patches |
315
+
|`num_stl_models`| Integer | Number of STL/OBJ model entries in the `stl_models` array |
315
316
|`geometry`| Integer | Geometry configuration of the patch.|
316
317
|`x[y,z]_centroid`| Real | Centroid of the applied geometry in the [x,y,z]-direction. |
317
318
|`length_x[y,z]`| Real | Length, if applicable, in the [x,y,z]-direction. |
318
319
|`radius`| Real | Radius, if applicable, of the applied geometry. |
319
-
|`theta`| Real | Angle of attach applied to airfoil IB patches |
320
-
|`c`| Real | NACA airfoil parameters (see below) |
321
-
|`t`| Real | NACA airfoil parameters (see below) |
322
-
|`m`| Real | NACA airfoil parameters (see below) |
323
-
|`p`| Real | NACA airfoil parameters (see below) |
320
+
|`airfoil_id`| Integer | Index into `ib_airfoil` array for NACA airfoil geometry patches. |
321
+
|`model_id`| Integer | Index into `stl_models` array for STL/OBJ geometry patches. |
324
322
|`slip`| Logical | Apply a slip boundary |
325
-
|`model_filepath`| String | Path to an STL or OBJ file (not all OBJs are supported). |
326
-
|`model_scale(i)`| Real | Model's (applied) scaling factor for component $i$. |
327
-
|`model_rotate(i)`| Real | Model's (applied) angle of rotation about axis $i$. |
328
-
|`model_translate(i)`| Real | Model's $i$-th component of (applied) translation. |
329
-
|`model_spc`| Integer | Number of samples per cell when discretizing the model into the grid. |
330
-
|`model_threshold`| Real | Ray fraction inside the model patch above which the fraction is set to one.|
331
323
|`moving_ibm`| Integer | Sets the method used for IB movement. |
332
324
|`vel(i)`| Real | Initial velocity of the moving IB in the i-th direction. |
333
325
|`angular_vel(i)`| Real | Initial angular velocity of the moving IB in the i-th direction. |
@@ -338,6 +330,17 @@ This is enabled by adding ``'elliptic_smoothing': "T",`` and ``'elliptic_smoothi
338
330
339
331
These parameters should be prepended with `patch_ib(j)%` where $j$ is the patch index.
340
332
333
+
STL/OBJ model geometry parameters are set on the `stl_models` array (indexed by `model_id`):
334
+
335
+
| Parameter | Type | Description |
336
+
|:---------------------|:--------|:------------|
337
+
|`model_filepath`| String | Path to an STL or OBJ file (not all OBJs are supported). |
338
+
|`model_scale(i)`| Real | Model's scaling factor for component $i$. |
339
+
|`model_translate(i)`| Real | Model's $i$-th component of translation. |
340
+
|`model_threshold`| Real | Winding number threshold above which a cell is marked as inside the model. |
341
+
342
+
These parameters should be prepended with `stl_models(k)%` where $k$ is the model index.
343
+
341
344
#### Parameter Descriptions
342
345
343
346
-`geometry` defines the type of geometry of an immersed boundary patch with an integer number.
@@ -349,15 +352,13 @@ Definitions for currently implemented immersed boundary patch types are listed i
349
352
350
353
-`radius` is the radius to be used for circular patches.
351
354
352
-
-`theta` allows for the angle of attach of airfoil patches to be changed.
353
-
354
-
-`c`, `t`, `p`, and `m` specify the parameters for a NACA airfoil.
355
-
`m` is the maximum camber, `p` is the location of maximum camber, `c` is the coord length, and `t` is the thickness.
355
+
-`c`, `t`, `p`, and `m` specify the parameters for a NACA airfoil (set on the referenced `ib_airfoil` entry).
356
+
`m` is the maximum camber, `p` is the location of maximum camber, `c` is the chord length, and `t` is the thickness.
356
357
Additional details on this specification can be found in [NACA airfoil](https://en.wikipedia.org/wiki/NACA_airfoil).
357
358
358
359
-`slip` applies a slip boundary to the surface of the patch if true and a no-slip boundary condition to the surface if false.
359
360
360
-
-Please see [Patch Parameters](#sec-patches) for the descriptions of `model_filepath`, `model_scale`, `model_rotate`, `model_translate`, `model_spc`, and `model_threshold`.
361
+
-For STL/OBJ geometry (geometry 5 or 12), set `model_id` to index into the `stl_models` array and specify `model_filepath`, `model_scale`, `model_translate`, and `model_threshold` on that entry.
361
362
362
363
-`moving_ibm` sets the method by which movement will be applied to the immersed boundary. Using 0 will result in no movement. Using 1 will result 1-way coupling where the boundary moves at a constant rate and applied forces to the fluid based upon it's own motion. In 1-way coupling, the fluid does not apply forces back onto the IB. Using 2 will result in 2-way coupling, where the boundary pushes on the fluid and the fluid pushes back on the boundary via pressure and viscous forces. If external forces are applied, the boundary will also experience those forces.
0 commit comments