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
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -322,24 +322,16 @@ This is enabled by adding ``'elliptic_smoothing': "T",`` and ``'elliptic_smoothi
322
322
| Parameter | Type | Description |
323
323
| ---: | :----: | :--- |
324
324
|`num_ibs`| Integer | Number of immersed boundary patches |
325
+
|`num_stl_models`| Integer | Number of STL/OBJ model entries in the `stl_models` array |
325
326
|`num_particle_beds`| Integer | Number of particle bed specifications to generate immersed boundary patches from |
326
327
|`ib_neighborhood_radius`| Integer | Parameter that controls the neighborhood size for IB detection. |
327
328
|`geometry`| Integer | Geometry configuration of the patch.|
328
329
|`x[y,z]_centroid`| Real | Centroid of the applied geometry in the [x,y,z]-direction. |
329
330
|`length_x[y,z]`| Real | Length, if applicable, in the [x,y,z]-direction. |
330
331
|`radius`| Real | Radius, if applicable, of the applied geometry. |
331
-
|`theta`| Real | Angle of attach applied to airfoil IB patches |
332
-
|`c`| Real | NACA airfoil parameters (see below) |
333
-
|`t`| Real | NACA airfoil parameters (see below) |
334
-
|`m`| Real | NACA airfoil parameters (see below) |
335
-
|`p`| Real | NACA airfoil parameters (see below) |
332
+
|`airfoil_id`| Integer | Index into `ib_airfoil` array for NACA airfoil geometry patches. |
333
+
|`model_id`| Integer | Index into `stl_models` array for STL/OBJ geometry patches. |
336
334
|`slip`| Logical | Apply a slip boundary |
337
-
|`model_filepath`| String | Path to an STL or OBJ file (not all OBJs are supported). |
338
-
|`model_scale(i)`| Real | Model's (applied) scaling factor for component $i$. |
339
-
|`model_rotate(i)`| Real | Model's (applied) angle of rotation about axis $i$. |
340
-
|`model_translate(i)`| Real | Model's $i$-th component of (applied) translation. |
341
-
|`model_spc`| Integer | Number of samples per cell when discretizing the model into the grid. |
342
-
|`model_threshold`| Real | Ray fraction inside the model patch above which the fraction is set to one.|
343
335
|`moving_ibm`| Integer | Sets the method used for IB movement. |
344
336
|`vel(i)`| Real | Initial velocity of the moving IB in the i-th direction. |
345
337
|`angular_vel(i)`| Real | Initial angular velocity of the moving IB in the i-th direction. |
@@ -350,6 +342,17 @@ This is enabled by adding ``'elliptic_smoothing': "T",`` and ``'elliptic_smoothi
350
342
351
343
These parameters should be prepended with `patch_ib(j)%` where $j$ is the patch index.
352
344
345
+
STL/OBJ model geometry parameters are set on the `stl_models` array (indexed by `model_id`):
346
+
347
+
| Parameter | Type | Description |
348
+
|:---------------------|:--------|:------------|
349
+
|`model_filepath`| String | Path to an STL or OBJ file (not all OBJs are supported). |
350
+
|`model_scale(i)`| Real | Model's scaling factor for component $i$. |
351
+
|`model_translate(i)`| Real | Model's $i$-th component of translation. |
352
+
|`model_threshold`| Real | Winding number threshold above which a cell is marked as inside the model. |
353
+
354
+
These parameters should be prepended with `stl_models(k)%` where $k$ is the model index.
355
+
353
356
#### Parameter Descriptions
354
357
355
358
-`geometry` defines the type of geometry of an immersed boundary patch with an integer number.
@@ -361,15 +364,13 @@ Definitions for currently implemented immersed boundary patch types are listed i
361
364
362
365
-`radius` is the radius to be used for circular patches.
363
366
364
-
-`theta` allows for the angle of attach of airfoil patches to be changed.
365
-
366
-
-`c`, `t`, `p`, and `m` specify the parameters for a NACA airfoil.
367
-
`m` is the maximum camber, `p` is the location of maximum camber, `c` is the coord length, and `t` is the thickness.
368
-
Additional details on this specification can be found in [The Naca Airfoil Series](https://web.stanford.edu/~cantwell/AA200_Course_Material/The%20NACA%20airfoil%20series.pdf)
367
+
-`c`, `t`, `p`, and `m` specify the parameters for a NACA airfoil (set on the referenced `ib_airfoil` entry).
368
+
`m` is the maximum camber, `p` is the location of maximum camber, `c` is the chord length, and `t` is the thickness.
369
+
Additional details on this specification can be found in [NACA airfoil](https://en.wikipedia.org/wiki/NACA_airfoil).
369
370
370
371
-`slip` applies a slip boundary to the surface of the patch if true and a no-slip boundary condition to the surface if false.
371
372
372
-
-Please see [Patch Parameters](#sec-patches) for the descriptions of `model_filepath`, `model_scale`, `model_rotate`, `model_translate`, `model_spc`, and `model_threshold`.
373
+
-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.
373
374
374
375
-`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