Skip to content

Commit 380721d

Browse files
Everything works except for the 2D_Zero_Circ_vortex case. Removed references to hard coded patches in the case documentaiton
1 parent 26c112c commit 380721d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

docs/documentation/case.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,15 +226,14 @@ Some patch configurations are not adequately handled with the above analytic var
226226
In this case, a hard coded patch can be used.
227227
Hard coded patches can be added by adding additional hard coded patch identifiers to `src/pre_process/include/1[2,3]dHardcodedIC.fpp`.
228228
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.
230229
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`
231230

232231
```f90
233232
case(200)
234233
! Primitive variables assignment
235234
```
236235

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.
238237
Additional variables can be declared in `Hardcoded1[2,3]DVariables` and used in `hardcoded1[2,3]D`.
239238
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.
240239

@@ -998,16 +997,16 @@ This boundary condition can be used for subsonic inflow (`bc_[x,y,z]%[beg,end]`
998997
| 3 | Rectangle | 2 | N | Coordinate-aligned. Requires `[x,y]_centroid` and `length_[x,y]`. |
999998
| 4 | Sweep line | 2 | Y | Not coordinate aligned. Requires `[x,y]_centroid` and `normal(i)`. |
1000999
| 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. |
10031002
| 8 | Sphere | 3 | Y | Requires `[x,y,z]_centroid` and `radius` |
10041003
| 9 | Cuboid | 3 | N | Coordinate-aligned. Requires `[x,y,z]_centroid` and `length_[x,y,z]`. |
10051004
| 10 | Cylinder | 3 | Y | Requires `[x,y,z]_centroid`, `radius`, and `length_[x,y,z]`. |
10061005
| 11 | Sweep plane | 3 | Y | Not coordinate-aligned. Requires `x[y,z]_centroid` and `normal(i)`. |
10071006
| 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 |
1007+
| 13 | N/A | N/A | N/A | No longer exists. Empty. |
10091008
| 14 | Spherical Harmonic | 3 | N | Requires `[x,y,z]_centroid`, `radius`, `epsilon`, `beta` |
1010-
| 15 | 1D Hardcoded | 1 | N | Assigns the primitive variables as analytical functions |
1009+
| 15 | N/A | N/A | N/A | No longer exists. Empty. |
10111010
| 16 | 1D bubble pulse | 1 | N | Requires `x_centroid`, `length_x` |
10121011
| 17 | Spiral | 2 | N | Requires `[x,y]_centroid` |
10131012
| 18 | 2D Varcircle | 2 | Y | Requires `[x,y]_centroid`, `radius`, and `thickness` |

toolchain/mfc/case.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ def rhs_replace(match):
181181
{f'{chr(10)}{chr(10)}'.join(srcs)}
182182
#:enddef
183183
"""
184-
185184
return content
186185

187186
def __get_sim_fpp(self, print: bool) -> str:

0 commit comments

Comments
 (0)