|
MFC
Exascale flow solver
|
Status: open discrepancy (every item below is a limitation by construction; none is a bug report). Code: master at 0cdfdf02a. Last update: 2026-11-22. No example or test belongs to this page: it collects measured limits, and the pages it links hold the examples.
A sharp ghost-cell immersed boundary (IB) enforces a wall value (velocity or temperature) through the state of its ghost cells. Field-wide errors and global integrals (drag, total wall heat) converge faster than the two quantities the wall actually sets: the wall value and the wall-normal gradient (wall shear, heat flux). This page states what is known about their order, which options help, and what does not.
Orders are observed orders between successive grids (cells per radius, R). "Pre-merge" means measured earlier on a development build with the options named, not repeated on master; the options exist on master under the same names but their merged form may differ in detail.
| Quantity | Setup | Order (finest pairs) | Provenance |
|---|---|---|---|
| Wall temperature, inverse-distance image point (ib_ip_interp = 1, default) | annulus, exact conduction solution | 0.6 then 1.2 (idw), error 5.0e-3 of \(T_2-T_1\) at 40 cells/R | master, Isothermal Conduction Annulus: Image-Point Interpolation |
| Wall temperature, TSC (ib_ip_interp = 2) | same | 2.3 then 2.0 (inner wall), 1.1 then 1.0 (outer wall) | master, Isothermal Conduction Annulus: Image-Point Interpolation |
| Wall velocity, default | Taylor-Couette, 10-30 cells/R | about 1 to 2, not monotonic at the outer wall | pre-merge |
| Wall shear, static curved wall, default | same | 0.7 to 1 or worse, 1.4 % error at 30 cells/R | pre-merge |
| Wall shear, static curved wall, ib_wall_order = 2 | same | 2.8 then 2.4, 0.065 % at 30 cells/R | pre-merge |
| Wall shear, rotating wall, any option | same | below 0.5, plateau near 2 % | pre-merge |
| Thermal wall gradient (fit through the first cells), default | annulus, 10-40 cells/R | 0.4 to 1.4 | pre-merge |
| Thermal wall gradient, TSC | same | 1.4 to 1.6, error about 0.1 % at 40 cells/R | pre-merge |
| Curved isothermal wall, temperature \(L_\infty\), \(L_1\), total heat, default weights | annulus, 600/300 K, 10-80 cells/R | 0.85, 1.1-1.4, 0.9-1.3 between 40 and 80 cells/R | pre-merge, before #2248 |
| Flat isothermal wall at 0 degrees to the grid | slab, 10-80 cells per gap | 2.0 in all norms | pre-merge, before #2248 |
| Flat isothermal wall at 26.6 and 45 degrees | same | 1.6 to 1.75 on average, scattered from grid to grid | pre-merge, before #2248 |
Reading the table:
| Goal | Setting | Evidence |
|---|---|---|
| Isothermal wall temperature of a conduction or heated wall | ib_ip_interp = 2 | wall error 5 to 130 times lower, whole-gap error 6 to 14 times lower: Isothermal Conduction Annulus: Image-Point Interpolation |
| No-slip velocity at a flat or curved static wall | ib_wall_order = 2 | measured gain and where it fails (4 to 6 cells across a gap): the ib_wall_order entry of the case documentation |
| Force and heat of a cylinder or sphere | face-flux force ib_force_wrt, heat ib_heat_wrt | agree with references and with a momentum balance: Validation: Circular Cylinder Drag and Nusselt Number |
| Gas mass of a closed box with a body | ib_flux_wall = T (reacting or inert fixed no-slip body); ib_mass_relax for slip or moving bodies | examples/2D_ibm_wall_mass_budget |
| A body in contact with a no-slip or moving wall differing between CPU and GPU builds (about 1e-5) | no setting closes it: ib_smooth_contact = T (HLLC) removes one cause but the measured A100-against-CPU difference stays (#2419); budget the tolerance | the ib_smooth_contact entry of the case documentation |
| Wall shear or local heat flux | read an integrated force or total wall heat instead | a local fit through the near-wall cells does not converge for any option above |
The options are described in the immersed-boundary overview. Resolution is the remaining lever: the gradient errors above fall by about a factor of 2 per grid doubling.
No script is shipped for the pre-merge tables: they came from analysis tools tied to run directories of a development build. The master rows reproduce with
Open items to repeat on master: the annulus \(L_\infty\), \(L_1\) and total heat orders with ib_ip_interp 1 and 2 at 10 to 80 cells/R; the Taylor-Couette shear with ib_wall_order 1 and 2 (and the 40 cells/R abort).