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
The unified/legacy geometry IDs are now collapsed to one canonical ID per
dimensionality (f_canonical_geometry) right after the case file is read, in
both pre_process and simulation. This makes the unification hold across the
whole pipeline (checks, ICPP application, IB markers, levelsets, moments of
inertia) instead of only in the pre-process checkers, and extends it to the
airfoil (4/11) and STL model (5/12) IB pairs from #1543.
- Revert the m_icpp_patches dispatch changes: with canonical IDs the original
dispatch is already correct, and the icpp 4/11 (line/plane sweep) merge was
unreachable since the checkers still enforce their dimensionality.
- Restore the cylinder strictness lost in the previous commit: geometry 10
requires exactly one positive length again (a cylinder with no or negative
lengths is a hard error, not a silent sphere), keyed on the canonical ID.
- Extend the toolchain bounding-box z-check to unified ID 3 and update the
patch-type tables in the docs.
- Add two golden tests: a 3D IB sphere and cylinder declared via unified
geometry 2 (the sphere golden is bit-identical to the legacy geometry-8
sphere case).
Copy file name to clipboardExpand all lines: docs/documentation/case.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1150,15 +1150,15 @@ This boundary condition can be used for subsonic inflow (`bc_[x,y,z]%[beg,end]`
1150
1150
| # | Name | Dim. | Smooth | Description |
1151
1151
| ---: | :----: | :---: | :---: | :--- |
1152
1152
| 1 | Line segment | 1 | N | Requires `x_centroid` and `length_x`. |
1153
-
| 2 | Circle | 2 | Y | Requires `[x,y]_centroid` and `radius`. |
1154
-
| 3 | Rectangle | 2 | N | Coordinate-aligned. Requires `[x,y]_centroid` and `length_[x,y]`. |
1153
+
| 2 | Circle | 2 & 3 | Y | Requires `[x,y]_centroid` and `radius`. In 3D, equivalent to 10 (cylinder) if a `length_[x,y,z]` is set and to 8 (sphere) otherwise. |
1154
+
| 3 | Rectangle | 2 & 3 | N | Coordinate-aligned. Requires `[x,y]_centroid` and `length_[x,y]`. In 3D, equivalent to 9 (cuboid). |
1155
1155
| 4 | Sweep line | 2 | Y | Not coordinate aligned. Requires `[x,y]_centroid` and `normal(i)`. |
1156
1156
| 5 | Ellipse | 2 | Y | Requires `[x,y]_centroid` and `radii(i)`. |
Geometry IDs are dimension-agnostic: in 3D, geometry 2 produces a cylinder when exactly one `length_[x,y,z]` is set and a sphere otherwise, and the legacy 3D-specific IDs (8-12) remain supported as aliases.
0 commit comments