Repository navigation
proteus 1.9.1
Patch release on the 1.9.x line (189 commits and 412 files changed since 1.9.0). Shallow-water and two-phase flume improvements (including vegetation); hybrid CutFEM-IFEM support for three-phase models with P1 and P2 elements; FCT transport coupled to Richards' equation (density-dependent flow); a capillary-seal closure for compositional CO2-brine; build fixes for newer PETSc/pybind11/Cython/pytest, HPC configurations, and parallel-correctness fixes for parun.
Contributors
- Chris Kees @cekees
- Arnob Barua @abarua-ce
- Darsh Nathawani @nathawani
New features
- Shallow-water models for flumes with vegetation (SWE/DSWE): integration-by-parts walls, canopy drag and porosity, tailwater
condition, parallel fixes; the 1.9.0 drag hack is removed
(proteustoolkit/proteus#1332, cekees#143). - Hybrid CutFEM-IFEM, three-phase formulation in the ADR model, with the triply-cut switches as options and a paper preset,
pinned three-phase tests, partition-independent cut-cell face terms, P2 in parallel, owned-element L2 error
(#1327 = cekees#144; cekees#153, #165; train
#1334). Cleanup: debug hooks and unused switches removed, varying-J_s flux
lift fixed, H1 error reported (cekees#190, train #1338).
New ADR documentation page andADR.Coefficientsdocs (cekees#197, train
#1342). - Compatible variable-density flow to transport coupling (cekees#150), Henry K = 0.01,
edge-flux transport beside the compatible one (cekees#174), levee and Henry figure decks (cekees#169). - TADR/Richards compatible coupling and outflow flux, ported from main (cekees#247, proteustoolkit/proteus#1353; originals #219
and #223):CoefficientsoptionsEDGE_VELOCITY,diagnostics,FCT_BND_RESET,FCT_DU_MAX, plus newVELOCITY_COUPLINGand
CONSERVATIVE_FORM; the variable-density reproduction bundle (test/salinity/vdft_reproduce) with a smoke test is added.
Breaking on 1.9.x: the environment variablesRICHARDS_EDGE_VELOCITY,TADR_*_DBGandRICHARDS_*no longer work; use the options above. - Hybrid CutFEM-IFEM, pinned meshes (cekees#265, proteustoolkit/proteus#1357): the ADR drivers take an
optionmeshFile=<prefix>and read a stored Triangle mesh instead of runningtriangle, whose output differs between platforms
(fitted refinement 1 has 118 nodes on Linux x86_64 and 114 elsewhere). The Table 1 fitted and unstructured meshes are stored under
test/IFEM/meshes, with pinned tests. Without the option nothing changes. - Compositional CO2-brine (
m_comp_co2) (cekees#266, same train): newper_rock_closureoption keeps a capillary seal
from leaking gas at nodes shared by several rocks (STAB=2, Brooks-Corey); the Brooks-Corey capillary-pressure cap is per rock, with the
exact inversebc_Se_from_pc; new archived fieldsSg_rock_max/Sg_rock_min; Jacobian fixes for the trapped range and the flash;
an uninitialised subgrid-error term removed from theSTAB=0residual; regression tests intest/m_comp_co2/.
Breaking:split_z/split_materialsare removed; decks passing them now raiseTypeError. - Variable-density figure tooling: EPS figure generators in the reproduction bundle (
figures_eps/make_eps.py), and the bioswale run
defaults to seepage with density coupling (cekees#266, #268). - Richards: implicit FCT, theta-scheme, L-scheme and increment tests, Hornung-Messing example (cekees#123);
air-entry van Genuchten closureVG_AIR_ENTRYand levee Case B/C on the compatible transport (cekees#170). - Richards Hornung-Messing: Q1 tables refreshed after the FemTools trace-gradient fix (cekees#251, same train).
- HPC: Cray EX configurations for Carpenter, Barfoot, Blueback and Narwhal (cekees#26).
Context.Optionssplits-Con any whitespace, commas and semicolons;gatherTimestakes the frame count from the.h5,
is a no-op on a complete.xmf, and-tnever duplicates frames (cekees#31).- The numerics file's partitioning options now reach legacy p/n meshes (cekees#55).
Issues fixed
- SIGILL on x86_64 hosts without AVX: AVX support is detected, not assumed (cekees#15).
- pybind11 3.x allowed in
pyproject.toml(cekees#17). - petsc4py 3.26:
Mat.createVecLeftreplaces the removedgetVecLeftalias (cekees#20). - Cython 3: binds
selfon class-stored compiled functions;staticmethodat all sites (cekees#205, train
#1342). SUPERLU_DIRhonoured and duplicated build entries removed (#1283).parun: exits nonzero, on all ranks, when a system step fails (cekees#38); hard-coded developersys.pathentry removed
(cekees#40);parun -Fscaling, silent numbering corruption and the collective mappings reopen fixed (cekees#33).argsDictvalues that were 1-tuples through trailing commas fixed in twelve places (cekees#45).- Build: each extension gets its own object directory (parallel-build race), and a parallel
build_extends when an extension fails
(cekees#154). past.utils.old_divreplaced by true division (cekees#41); Sphinx warnings fixed and therichards.cADRextension restored
(cekees#43).- Tests: sibling-import guard and
--import-mode=importlibin every invocation (cekees#49); two intermittent failures fixed
(test_sedclosurerounding,test_porositylog parsing; cekees#66); dependent chains made self-contained so one failure
cannot cascade into a hang (proteustoolkit/proteus#1300).
CI
- Superseded PR runs are cancelled (#1292); pytest kept below 9.2 and Open MPI
ob1on aarch64 (#1301). sdist.ymlis green on1.9.xat the release commit 2f4579a: the pull request run 43435372741 (head b912442) passed all five legs on the org, and the same change passed all five on the fork (run 43422501354).- This is the last release whose CI includes the macOS Intel legs.
Dependency floors (unchanged since 1.9.0)
The locked environments pin PETSc/petsc4py 3.25.4 (3.26 works with this release); scorec/PUMI >= 4.2.1, pychrono >= 10, xtensor >= 0.27.1.