Skip to content

UWTN 2026-022: Faults and patch-refinement of the mesh - #92

Merged
lmoresi merged 27 commits into
mainfrom
note/faults-on-an-add-on-mesh
Nov 24, 2026
Merged

lmoresi merged 27 commits into
mainfrom
note/faults-on-an-add-on-mesh

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

UWTN 2026-022, Faults and patch-refinement of the mesh: how Underworld3 puts a slipping fault into a model on a short-lived add-on mesh, rebuilt from a static base whenever the fault moves. The note covers the ladder construction, the split child above the continuous base hierarchy, the exact patch solve in the smoother, and a subducting-plate run in an annulus that follows the trench.

Published 2026-11-24 against underworld3 development @ a673cd52. Merging deposits it to Figshare.

Checked before release

The simple-shear results were rerun on development a673cd52, built into a clean default environment (conda-forge PETSc 3.25.3), serial. Records are in figures/src/tail_sweep/records_dev_a673cd52/; compare_dev.py checks each arm against its original record.

Smoother on the child, band ratios 6, 12, 24 Velocity iterations over 17 applications Peak slip
SOR, then patch LU 66, 65, 67 (as before) 0.15951, 0.15926, 0.15921 (as before, to 1e-15)
SOR, then patch ILU(0) 180, 259, 344 (as before) as before
SOR alone 259, 369, 532 (as before) as before

level_smoothers in each record shows the patch blocks ran the solver named (LU, ILU(0), none). Since underworld3 #912 the default runs LU on the patch, so the ILU(0) arm is forced with the script's -uw_fac_ilu 1. The note's timing sentence quotes the a673cd52 solve times. The other figures come from earlier development builds, and the note says each run's commit is recorded in figures/src/.

pixi run validate: 0 warnings. check-style: no hints.

Also in this branch

  • The docs hub's simple-shear test (sketch, definition and numbers per solve), the steps 2-141 cost figure and the AuScope and NCI acknowledgements.
  • Entries in classification.yml, acknowledgements.yml and acknowledgements-nci.yml.
  • WRITING-PLAN.md: M3 and F3 settled as this note and UWTN 2026-018. Its "draft" status for M3 is left for a follow-up.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HxWvn6feuTGm6LcdQTGTxB

lmoresi and others added 27 commits October 25, 2026 21:40
The serial half of the add-on-top fault method: static base and ephemeral
child, refinement from the fault's distance, conform and split, split add-on
multigrid levels, moving the fault, warm starts and restarts, limits, a
paragraph on the parallel partition. Three figures declared and not yet made;
their scripts and sources are listed in a comment at the end of the note.

Underworld development team with AI support from Claude Code
Mechanical fixes on the hub's first draft: the contents line it added
to myst.yml is dropped, since that block is generated by the build and a
draft is listed only in preview builds; a classification.yml entry; one
over-long line rewrapped; the figure-script destination in the two
comments is figures/src/, per CONTRIBUTING.

WRITING-PLAN: M3 is drafted as UWTN 2026-022, with UWTN 2026-018 as its
parallel half; the F3 open question is settled as absorbed by the two,
and the writing-order rows follow.

validate: 0 warnings, no errors. check-style: no hints. The preview
build fails only on the three figures not yet made.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011S876ckjYqqth1aPyojrhh
The three figures (stack, iterations, moving-fault) are copied from
underworld3 feature/coarse-solve-nullspace 5d168e44, made at library
e135429f, with their scripts, the moving-fault timing records, the
junction probe and hyperion's README into figures/src/.

The text now takes the re-measured numbers: iterations 5/5/4 split
against 8/13/18 welded at tolerance 1e-6 (viscous k = 3: 5 against 12);
the moving-fault step times at np 8 and np 1; the junction replay's
actual stopping reasons; the 3-D two-level child, which now places but
keeps no split coarse level. Alt text and captions follow the figures.
The unverifiable "slip equal to six figures across the rebuilds" and the
unmeasured "welded three times slower" are dropped. software_version
pinned to e135429f.

validate: 0 warnings. check-style: no hints. Preview build: passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011S876ckjYqqth1aPyojrhh
…; the 2026-017 link reworded

The sentence on the rediscretised weak band is limited to the welded-tail
band the figure measured (14/22/30 against 8/13/18) and the split-over-weak-zone
hierarchy is described as it measured: matching at depth, at the price of a
rediscretised base operator and band parameters. UWTN 2026-017 is cited for the
split representation, which it does describe, not for the fault laws.
… Stokes time

restart_table.py (uw3-campaigns 788f481, written on kaiju) regenerates the
restart table from the three run pairs' step records and prints their
provenance. The uninterrupted run's Stokes time joins the table (94 to 101 s
against 783, 387 and 103 s for the three restart designs).
Kaiju's trimmed records for the six restart runs (steps 3580-3600, with
run_info.json or PROVENANCE.txt per run and a README), from
~/campaigns/zg95/figures_out/restart_table/ by Louis's rsync, go in
figures/src/restart_table/. restart_table.py reads them by default when run
from figures/src/, and takes a run's provenance from PROVENANCE.txt when it
has neither run_info.json nor a job log. Run here, it prints the note's
table: 36/783, 17/387 and 4/103 against the uninterrupted 4 iterations at
94 to 101 s; the faulted-mesh pair's first step agrees to 3.4e-15 in vrms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011S876ckjYqqth1aPyojrhh
…irst step's

The first step after a restart from the saved child reproduces the
uninterrupted run to 3e-15; the following ten steps agree to 4e-4, which is
what the shipped table's window-maximum column shows.
… runs

A section on a fault that follows a retreating trench in an annulus: the trace
fitted to the base of the crust every five steps, the add-on rebuilt when it
moves, four 300-step runs at sixteen processes with their step and rebuild costs
(a split step costs an unfaulted step; 27 rebuilds cost 7 per cent of the run,
47 cost 27 per cent), and the fit's sensitivity. Two figures declared, to come
from kaiju: the add-on mesh following the trench, and the per-step cost with the
per-process load at each rebuild. The rebuild memory leak is stated as a limit
in "What it costs".
The trench section cites it; the entry was only in 2026-017's, so the
citation did not resolve. Copied from there unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011S876ckjYqqth1aPyojrhh
…s and loads

The rebuild breakdown (carve, fill and split 9 s; partition 1.5 s; solver set-up
4 s; a first solve 11 s longer for its Picard iteration), the overriding-plate
run's iterations and total, the per-process load at seven checkpoints (within 3
to 9 per cent of the mean), and the mesh figure's steps and counts.
One nonlinear iteration per step (Newton on ordinary steps, Picard after a
rebuild); the overhead of following the trench measured one way, as the extra
over an ordinary step (7 and 14 per cent), with the rebuild steps' share of the
run stated separately; the sensitivity paragraph reduced to its mechanisms; the
runs named as demonstrations of the mesh rather than a subduction result.
Kaiju's ratio of the slip at a rebuild step to the step before, over the 46
rebuilds of the no-weak-crust run: 0.43 in median over the first eight, while
the slip falls from its early peak; 1.5 to 2 over the last 24, the rebuild step
carrying the peak. The earlier "drops by about half" held only for the first
regime. The cost figure gains the slip panel in its alt text and caption.
… bands

The record's build band is the carve, fill, split, partition and the solver's
construction (12 s); the Stokes band carries the solver's set-up inside the
first solve and the Picard iteration (11 s more). The 24 s is the 47-rebuild
run's, 19 to 25 s across the three. The base partition's cell counts are the
finest level's. The peak slip rate is named consistently and its ratios are over
the 46 rebuilds that replaced an existing fault. The leaked run died at its
24th rebuild.
The same run with the rebuild threshold at eight cells instead of four: 29
rebuilds instead of 47, a tenth less wall time, the trench history and the slip
sawtooth unchanged, the fault drifting 10.6 cells instead of 6.6 before a
rebuild, the warm-start cost per rebuild the same. One figure declared, from
kaiju's rungs8 overlay.
… with the whole-annulus movie

The cull of the draft by Louis, with the trench section rebuilt from kaiju job
4417 (earth_recipe_movie): the whole-annulus movie (the starting trench at the
top) as a figure and the source of the thumbnail, the mesh movie and four
snapshots linked, and the cost figure. Figures and numbers ship with their
scripts and trimmed records in figures/src/trench/; the h5 files stay on
kaiju. The earlier figures and their scripts are removed, and the drafting
records moved out of the article into drafting-history-before-cull-2026-11-17.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HxWvn8r4XN5RXshonx4bMV
trench-cost-window.png, from the records already on the branch: Stokes
time per nonlinear iteration, velocity iterations per linear solve, and
nonlinear iterations per step, over the steps before the first held
fault (step 142). Not yet referenced from the note.

Underworld development team with AI support from Claude Code
…dow cost figure

Underworld development team with AI support from Claude Code
…a sketch, and both acknowledgements

- The simple-shear box is defined once, where the ladder is built: walls,
  fault end points, h_b, the three point counts and band ratios. The
  duplicate sentence in the solve workflow goes.
- The table's simple-shear column is the mean over the 17 velocity
  solves of the one Stokes solve (serial records of the band-ratio
  sweep); the earlier figures divided by 22. The ratios are unchanged.
- One sentence on solve time from the same records: the exact patch
  solve is also the fastest, 1.5-3.0 s against 4.2-11.6 s with SOR.
- A CeTZ sketch of the box (figures/src/shear-box/, house style from
  underworld3's uw-line-diagrams).
- The note is added to both acknowledgement lists (AuScope and NCI).

Underworld development team with AI support from Claude Code
… drafting history out of the article level

The held-fault stretches came from a fitting-code bug, now fixed (Louis),
so the figure is the window where every step rebuilds the add-on. The
drafting history moves under figures/src/: as a top-level .md it was
read as a second article by the tests and the build scripts.

Underworld development team with AI support from Claude Code
… reproduce exactly; software_version moves to it, and the note says where the commit of each run is recorded
…ce their iteration counts; the timing sentence quotes the a673cd52 solve times
…6-11-24 against underworld3 development @ a673cd52
@github-actions

Copy link
Copy Markdown
Contributor

Preview

Or the whole site.

Built from 0074be4. Shows notes at draft and review, which the published site withholds. Not indexed, no comments, and not the citable version. Confirmed serving this commit before this was posted.

@lmoresi
lmoresi merged commit 1145e31 into main Nov 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant