Skip to content

proteus 1.9.1

Latest

Choose a tag to compare

@cekees cekees released this 13 Nov 15:28
2f4579a

DOI

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

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 and ADR.Coefficients docs (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): Coefficients options EDGE_VELOCITY, diagnostics, FCT_BND_RESET, FCT_DU_MAX, plus new VELOCITY_COUPLING and
    CONSERVATIVE_FORM; the variable-density reproduction bundle (test/salinity/vdft_reproduce) with a smoke test is added.
    Breaking on 1.9.x: the environment variables RICHARDS_EDGE_VELOCITY, TADR_*_DBG and RICHARDS_* no longer work; use the options above.
  • Hybrid CutFEM-IFEM, pinned meshes (cekees#265, proteustoolkit/proteus#1357): the ADR drivers take an
    option meshFile=<prefix> and read a stored Triangle mesh instead of running triangle, 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): new per_rock_closure option 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 inverse bc_Se_from_pc; new archived fields Sg_rock_max / Sg_rock_min; Jacobian fixes for the trapped range and the flash;
    an uninitialised subgrid-error term removed from the STAB=0 residual; regression tests in test/m_comp_co2/.
    Breaking: split_z / split_materials are removed; decks passing them now raise TypeError.
  • 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 closure VG_AIR_ENTRY and 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.Options splits -C on any whitespace, commas and semicolons; gatherTimes takes the frame count from the .h5,
    is a no-op on a complete .xmf, and -t never 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.createVecLeft replaces the removed getVecLeft alias (cekees#20).
  • Cython 3: binds self on class-stored compiled functions; staticmethod at all sites (cekees#205, train
    #1342).
  • SUPERLU_DIR honoured and duplicated build entries removed (#1283).
  • parun: exits nonzero, on all ranks, when a system step fails (cekees#38); hard-coded developer sys.path entry removed
    (cekees#40); parun -F scaling, silent numbering corruption and the collective mappings reopen fixed (cekees#33).
  • argsDict values 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_ext ends when an extension fails
    (cekees#154).
  • past.utils.old_div replaced by true division (cekees#41); Sphinx warnings fixed and the richards.cADR extension restored
    (cekees#43).
  • Tests: sibling-import guard and --import-mode=importlib in every invocation (cekees#49); two intermittent failures fixed
    (test_sedclosure rounding, test_porosity log 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
    ob1 on aarch64 (#1301).
  • sdist.yml is green on 1.9.x at 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.