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
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -226,15 +226,14 @@ Some patch configurations are not adequately handled with the above analytic var
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
228
When using a hard coded patch, the `patch_icpp(patch_id)%%hcid` must be set to the hard-coded patch id.
229
-
One must also set the `patch_icpp(patch_id)%%geometry` to either 15, 7, or 13 for 1, 2, or 3 dimensions, respectively.
230
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`
231
230
232
231
```f90
233
232
case(200)
234
233
! Primitive variables assignment
235
234
```
236
235
237
-
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.
238
237
Additional variables can be declared in `Hardcoded1[2,3]DVariables` and used in `hardcoded1[2,3]D`.
239
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.
240
239
@@ -998,16 +997,16 @@ This boundary condition can be used for subsonic inflow (`bc_[x,y,z]%[beg,end]`
998
997
| 3 | Rectangle | 2 | N | Coordinate-aligned. Requires `[x,y]_centroid` and `length_[x,y]`. |
999
998
| 4 | Sweep line | 2 | Y | Not coordinate aligned. Requires `[x,y]_centroid` and `normal(i)`. |
1000
999
| 5 | Ellipse | 2 | Y | Requires `[x,y]_centroid` and `radii(i)`. |
1001
-
| 6 | N/A |2| N| No longer exists. Empty. |
1002
-
| 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. |
1003
1002
| 8 | Sphere | 3 | Y | Requires `[x,y,z]_centroid` and `radius`|
1004
1003
| 9 | Cuboid | 3 | N | Coordinate-aligned. Requires `[x,y,z]_centroid` and `length_[x,y,z]`. |
1005
1004
| 10 | Cylinder | 3 | Y | Requires `[x,y,z]_centroid`, `radius`, and `length_[x,y,z]`. |
1006
1005
| 11 | Sweep plane | 3 | Y | Not coordinate-aligned. Requires `x[y,z]_centroid` and `normal(i)`. |
1007
1006
| 12 | Ellipsoid | 3 | Y | Requires `[x,y,z]_centroid` and `radii(i)`. |
1008
-
| 13 |3D Hardcoded | 3 | N | Assigns the primitive variables as analytical functions|
0 commit comments