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
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,14 +225,15 @@ end if
225
225
Some patch configurations are not adequately handled with the above analytic variable definitions.
226
226
In this case, a hard coded patch can be used.
227
227
Hard coded patches can be added by adding additional hard coded patch identifiers to `src/pre_process/include/1[2,3]dHardcodedIC.fpp`.
228
+
When using a hard coded patch, the `patch_icpp(patch_id)%%hcid` must be set to the hard-coded patch id.
228
229
For example, to add a 2D Hardcoded patch with an id of 200, one would add the following to `src/pre_process/include/2dHardcodedIC.fpp`
229
230
230
231
```f90
231
232
case(200)
232
233
! Primitive variables assignment
233
234
```
234
235
235
-
and use `patch_icpp(i)%%geometry = 7` and `patch_icpp(i)%%hcid = 200` in the input file.
236
+
and use `patch_icpp(i)%%hcid = 200` in the input file.
236
237
Additional variables can be declared in `Hardcoded1[2,3]DVariables` and used in `hardcoded1[2,3]D`.
237
238
As a convention, any hard coded patches that are part of the MFC master branch should be identified as 1[2,3]xx where the first digit indicates the number of dimensions.
238
239
@@ -312,8 +313,8 @@ These parameters should be prepended with `patch_ib(j)%` where $j$ is the patch
312
313
313
314
#### Parameter Descriptions
314
315
315
-
-`geometry` defines the type of geometry of a patch with an integer number.
316
-
Definitions for currently implemented patch types are list in table [Immersed Boundary Patch Type](#immersed-boundary-patch-types)
316
+
-`geometry` defines the type of geometry of an immersed boundary patch with an integer number.
317
+
Definitions for currently implemented immersed boundary patch types are listed in table [Immersed Boundary Patch Type](#immersed-boundary-patch-types).
317
318
318
319
-`x[y,z]_centroid` is the centroid location of the patch in the x[y,z]-direction
319
320
@@ -996,16 +997,16 @@ This boundary condition can be used for subsonic inflow (`bc_[x,y,z]%[beg,end]`
996
997
| 3 | Rectangle | 2 | N | Coordinate-aligned. Requires `[x,y]_centroid` and `length_[x,y]`. |
997
998
| 4 | Sweep line | 2 | Y | Not coordinate aligned. Requires `[x,y]_centroid` and `normal(i)`. |
998
999
| 5 | Ellipse | 2 | Y | Requires `[x,y]_centroid` and `radii(i)`. |
999
-
| 6 | N/A |2| N| No longer exists. Empty. |
1000
-
| 7 |2D Hardcoded | 2 | N | Assigns the primitive variables as analytical functions. |
1000
+
| 6 | N/A |N/A| N/A| No longer exists. Empty. |
1001
+
| 7 |N/A | N/A| N/A | No longer exists. Empty. |
1001
1002
| 8 | Sphere | 3 | Y | Requires `[x,y,z]_centroid` and `radius`|
1002
1003
| 9 | Cuboid | 3 | N | Coordinate-aligned. Requires `[x,y,z]_centroid` and `length_[x,y,z]`. |
1003
1004
| 10 | Cylinder | 3 | Y | Requires `[x,y,z]_centroid`, `radius`, and `length_[x,y,z]`. |
1004
1005
| 11 | Sweep plane | 3 | Y | Not coordinate-aligned. Requires `x[y,z]_centroid` and `normal(i)`. |
1005
1006
| 12 | Ellipsoid | 3 | Y | Requires `[x,y,z]_centroid` and `radii(i)`. |
1006
-
| 13 |3D Hardcoded | 3 | N | Assigns the primitive variables as analytical functions|
0 commit comments