Skip to content

UWTN 2026-016 v1.1.0: the Nitsche results rerun and corrected - #70

Open
lmoresi wants to merge 2 commits into
mainfrom
correction/uwtn-2026-016-nitsche
Open

lmoresi wants to merge 2 commits into
mainfrom
correction/uwtn-2026-016-nitsche

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Version 1.1.0 of UWTN 2026-016: the Nitsche results rerun and corrected. No other result changes.

Why

Two things had changed underneath the published Nitsche numbers.

  1. A defect in Underworld3's Nitsche condition for Stokes. The pressure part of the symmetric term, +∫ q (u·n) dS in the continuity equation, was never assembled (Nitsche Stokes (test_1060) diverges: DIVERGED_LINE_SEARCH after 3 Newton steps, and the test asserts only shape underworldcode/underworld3#1072, fixed in The Nitsche condition's continuity-row term is assembled (#1072) underworldcode/underworld3#1145). On an enclosed domain the system was singular with an incompatible right-hand side. That is why version 1.0 could not make Nitsche converge on SolCx with one weak wall and three strong ones. On the annulus the fix moves the Nitsche numbers by 1 to 4 %.
  2. The published annulus numbers predate a change in the definition of the cell size (Cell size: one definition, one name — three are in play, the docstrings describe a fourth, and get_*_radius() is partition-dependent underworldcode/underworld3#694, commit 4b4f341c). The note's scripts pass gamma=10 explicitly, and after that change the same number is a weaker penalty. The published Nitsche column is reproduced, to its second digit, by the code just before that commit and not at or after it.

What changed in the note

where version 1.0 version 1.1
annulus table, Nitsche (leak / stress), cell 0.15 to 0.05 1.0e-2/5.8e-2, 2.4e-3/2.4e-2, 1.2e-3/1.5e-2, 2.7e-4/6.3e-3 1.6e-2/7.5e-2, 4.3e-3/3.2e-2, 2.3e-3/1.9e-2, 5.0e-4/8.4e-3
gamma table, Nitsche leak at gamma 1, 10, 100, 1000, 1e4 diverged, 1.7e-3, 2.7e-4, 3.0e-5, diverged 1.1e-2, 1.8e-3, 3.3e-4, 2.8e-5, 3.5e-5
SolCx table no Nitsche column 0.049/0.055, 0.073/0.082, 0.076/0.085, 0.076/0.085, 0.076/0.085
projection error at cell 0.0125 (timing section) 3.6e-4 4.9e-4
figures/topography.png Nitsche absent Nitsche on the exact curve at both contrasts

The sentences that read those numbers are rewritten to match: "twice the error of the others on the coarser meshes" is now three times at every resolution; "bounded at both ends" is now "converged at every gamma tried, from 1 to 1e5"; the paragraph "Nitsche has no column in this table" is replaced by the SolCx result; the advice on gamma in "Which one to use" is rewritten.

The method section gains two sentences: that sigma(w) is the whole test stress, so the symmetric term has a pressure part in the continuity equation, and that theta in add_nitsche_bc scales the viscous part only. The equation is unchanged.

A short notice at the top and a ## History section at the end record the correction, as PUBLISHING.md asks. metadata.yml and the front matter go to version 1.1.0; software_version is underworld3 development @ eb3d2f02.

For the author to decide

  • One sentence of judgement is removed: "If the viscosity contrast is large with jumps or strong gradients along the boundary, be very careful if you choose Nitsche." The SolCx rerun (a jump of 1e6 along the wall, gamma from 1 to 1000 all within a few per cent of the component condition) no longer supports it. Restore it if the caution rests on more than that test.
  • The History entry carries the expected version DOI (…33420637.v2) and today's date. Both are set by the deposit, which is yours to run; adjust the entry if either differs.
  • The top notice is extra to the repository's rule (a History section); drop it if the History is enough.
  • The timings are not re-measured. They were taken on another machine; the Nitsche solve and recovery cost the same before and after the fix on the machine used here. Only the projection error beside them changed.
  • Two published leak entries are not explained: 2.4e-3 and 1.2e-3 in version 1.0 against 2.6e-3 and 1.3e-3 from the pre-#694 code. They are replaced by the new numbers in any case.

How it was rerun

Every script in examples/ was run unmodified on Underworld3 development at eb3d2f02 (which contains #1145), serially, on a 96-thread Linux workstation (single system image, Intel Xeon Gold 6240R, MPICH, PETSc 3.25 with 32-bit indices): stress.py both / params / control / locking, leak.py sweep / params / free, solcx.py contrast / params / control, solcx_rotated.py and its angles, timing.py, and generate-topography-figure.py --recompute.

  • Controls. Every non-Nitsche entry of the annulus, gamma, reaction and SolCx tables came back within one unit in its last printed digit (for example the multiplier leak at cell 0.100 reads 1.1e-4 against the printed 1.0e-4). Those entries are left as published.
  • The cause of the annulus drift was bracketed with stress.py both on four builds: the note's stated revision 8b7c8b9e and 9da04b72 give the published Nitsche column; 4b4f341c (the commit after 9da04b72) and current development give the new one.
  • Not run: solcx.py sweep beyond 32 elements (the 64-element row did not finish in 90 minutes; the note does not use it); the rotated-basis and locking figures, which do not involve Nitsche.
  • pixi run validate's script (scripts/validate_metadata.py) passes: 60 articles, no warnings. The site and PDF builds were not run.

Underworld development team with AI support from Claude Code

The Nitsche column of the annulus table, the gamma table, the SolCx comparison
(which gains a Nitsche column), the advice on choosing gamma and one projection
error in the timing section are corrected from a rerun on Underworld3
development at eb3d2f02. A History section says what changed and why: a defect
in Underworld3's Nitsche condition for Stokes (underworld3#1072, fixed in
#1145), and a change in the definition of the cell size (#694) made after the
published numbers were computed. No other result changes.

Underworld development team with AI support from Claude Code
Recomputed with examples/generate-topography-figure.py --recompute on
Underworld3 development at eb3d2f02. Nitsche at gamma = 10 now solves at both
contrasts and lies on the exact curve; the other curves are as before.

Underworld development team with AI support from Claude Code
@github-actions

Copy link
Copy Markdown
Contributor

Preview

Or the whole site.

Built from 7ead2ea. 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.

This branch has not been deployed

No deployments
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.

2 participants