|
MFC
Exascale flow solver
|
Status: partially validated (wall temperature and whole-gap error validated at three resolutions; wall gradient measured only as a fit estimate). Code: master at d1e6852c1, with ib_ip_interp (#2165). TSC is opt-in; no default change is planned. Example: examples/2D_ibm_conduction_annulus. Last run: 2026-11-21.
The ghost-cell immersed boundary method imposes an isothermal wall temperature through the state interpolated at an image point inside the gas. The weights of that interpolation set the accuracy of the imposed wall temperature. This page compares the inverse-distance weights (ib_ip_interp = 1, the default) with the triangular-shaped-cloud weights (ib_ip_interp = 2; the kernel is described by Ezra, Peles and Kozak, Int. J. Heat Mass Transf. 252:127314, 2025) against the exact conduction solution of an annulus.
| Item | Value |
|---|---|
| Geometry | inner circle \(R = 1\) (geometry = 2), outer flat ring (geometry = 5, ring.stl, 1024 segments) with inner edge \(r_2 = 2R\); both static |
| Gas | quiescent ideal gas, \(\gamma = 1.4\), \(c_v = 1\), \(\rho = 1\) at the mean wall temperature, constant k_therm = 0.1 (diffusivity 0.1); inviscid |
| Walls | thermal_bc = 1, no slip; \(T_1 = 2\) (inner), \(T_2 = 3\) (outer) |
| Grid | 10, 20, 40 cells per \(R\), square domain just larger than the ring's inner edge, extrapolation boundaries |
| Numerics | WENO5, HLLC, SSP-RK3, fd_order = 2, fixed \(\Delta t = \min(0.25\Delta x/c, 0.15\Delta x^2/\alpha)\), 8 slowest conduction times \(\tau = ((r_2 - R)/\pi)^2/\alpha\) |
| Initial state | the exact profile on 10 concentric constant shells at uniform pressure |
| Settings | ib_ip_interp 1 or 2; every other ib_* option at its default |
Exact steady conduction at constant conductivity: \(T(r) = T_1 + (T_2 - T_1)\ln(r/R)/\ln(r_2/R)\). It holds for a gas at rest at any uniform pressure.
Errors are (MFC - exact) divided by \(T_2 - T_1\) (check_annulus.py).
Measured on AMD MI300A (amdflang), one rank, the code version above.
| Cells per R | Inner wall, idw | Inner wall, TSC | Outer wall, idw | Outer wall, TSC |
|---|---|---|---|---|
| 10 | −1.83e-2 | +3.68e-3 | +1.18e-2 | +1.31e-4 |
| 20 | −1.18e-2 | +7.67e-4 | +7.71e-3 | +6.05e-5 |
| 40 | −5.00e-3 | +1.87e-4 | +3.42e-3 | +2.96e-5 |
| Order (10→20, 20→40) | 0.6, 1.2 | 2.3, 2.0 | 0.6, 1.2 | 1.1, 1.0 |
| Cells per R | L2, idw | L2, TSC | Max, idw | Max, TSC | Inner gradient, idw | Inner gradient, TSC |
|---|---|---|---|---|---|---|
| 10 | 9.36e-3 | 1.45e-3 | 4.57e-2 | 2.66e-3 | −5.0e-3 | −2.3e-2 |
| 20 | 5.32e-3 | 3.90e-4 | 1.98e-2 | 8.68e-4 | +2.7e-3 | −5.8e-3 |
| 40 | 2.02e-3 | 1.86e-4 | 8.94e-3 | 3.39e-4 | +1.4e-2 | −4.3e-4 |
Comparison with an earlier measurement of the same geometry (a start from a uniform temperature, a build before the current master; not repeated here): the wall errors agree within a factor of 1.5 (inner idw 2.6e-2, 1.7e-2, 5.0e-3; inner TSC 5.8e-3, 1.0e-3, 3.0e-4; outer idw 1.1e-2, 7.6e-3, 3.5e-3; outer TSC 3.1e-4, 4.5e-5, 2.0e-5). The gap errors do not: that measurement gave a whole-gap L2 of 5.1e-2, 2.5e-2, 1.3e-2 for both weightings. The present table starts from the exact profile; a uniform start on the current master gives a TSC gap L2 of 2.6e-3, 5.5e-3, 6.0e-3 and an inverse-distance one of 7.8e-3, 3.3e-3, 4.5e-3.
The suite runs 2D -> IBM -> Conduction Annulus -> Inverse Distance and -> TSC at 12 cells/R and 300 steps; the goldens are regression guards and the checker validates the physics.