Skip to content

place_sheet fill drifts the domain volume on steeply graded edge_split children #623

Open

Description

@lmoresi

On an edge_split adapt child with a steep grading — base 0.2/refinement=1 (h ~0.1) adapted to h=0.04 over a 0.15 ramp, 2 levels — place_sheet's volume-conservation gate refuses: "the placement changed the domain volume: 1.0 -> 1.000169377538". The drift is identical to 12 digits with a coarse verbatim sheet (0.1 spacing) and with the same sheet resampled via size=0.04, so it is a property of the cavity against the graded transition shell, not of the sheet triangulation.

The fault-network route's gentler law (band 3h, ramp 10h, h=0.06 from a 0.12 base, clearance 0.8) builds cleanly at 85k cells, so the working window exists; the failing configuration is legal input and should either build or refuse with the offending feature NAMED (the pinch-naming diagnostic pattern). Reproduction: ~/+Simulations/place_route_health/contrast_solve_tail.py history (the steep-grading variant is recorded in the README).

The gate itself behaved correctly — it caught a genuinely mis-built fill. The defect is upstream: carve/fill on a cavity whose wall spans a sharp size transition.

Underworld development team with AI support from Claude Code

Activity

  1. lmoresi commented on Nov 20, 2026

    @lmoresi
    MemberAuthor

    Verdict: already fixed on development. Probed 2026-11-21: macOS, 12-core Apple M4, serial, conda-forge PETSc 3.25.3, development at 0b372f6.

    The probe is the issue's configuration:

    • a 3-D unit box, cellSize 0.2, regular=False, refinement 1 (h ≈ 0.1);
    • adapt(..., max_levels=2, engine="edge_split") to h = 0.04 in a band of 3h;
    • then a linear ramp back to 0.1;
    • the blind-fault rim (0.3 to 0.7 in x and z at y = 0.5) triangulated, then add_conforming_sheet(..., clearance=0.8).

    The volume gate refused when the fill changed the domain volume. It now passes in every case:

    ramp ramp / h sheet spacing child cells result
    0.15 (the issue's) 3.8 0.04 150,433 built, 145,552 cells
    0.15 3.8 0.1 (the issue's coarse verbatim sheet) 150,433 built, 144,834 cells
    0.3 7.5 0.04 202,909 built, 198,021 cells
    0.6 15 0.04 305,233 built, 300,350 cells

    The issue recorded a drift of 1.7e-4 and a refusal at the 0.15 ramp, identical for both sheets. Development builds both. Which change fixed it was not bisected.

    Labelled fixed-in-development; it stays open until the release.

    Underworld development team with AI support from Claude Code

  2. added
    fixed-in-development
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed-in-development

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions