Skip to content

Releases

proteus 1.9.1

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.

1.9.0

Choose a tag to compare

@cekees cekees released this 11 Sep 12:15

DOI

Contributors

New features

  • Improved CutFEM and IFEM support for higher order FEM and multiphase models
  • Improved FCT support for Richards' equation
  • New models for multiphase and multicomponent flows with FCT schemes
  • New packaging and CI tooling:

Issues fixed/closed

  • erdc/proteus#1274 — Richards-FCT. Relative hydraulic conductivity and moisture content can now be output alongside pressure head. The release adds the pore-size-distribution closures with explicit kr models (van Genuchten/Mualem, Brooks-Corey/Burdine, Brooks-Corey/Mualem, Gardner) and theta at the quadrature points. Reported by, and fixed by, Arnob Barua.

  • erdc/proteus#1280 — Does not build or install on macOS (Apple Silicon). Resolved by conda-forge packaging rather than by this repository. All four dependencies the issue named are no longer blockers: pychrono 10.0.0, scorec 4.2.1 and tetgen 1.6.0 all publish osx-arm64, and daetk — which still has no osx-arm64 build — is no longer a proteus dependency at all. A proteus osx-arm64 package exists.

  • erdc/proteus#1018 — conda-forge package. Exists, building for linux-64, linux-aarch64, osx-64 and osx-arm64.

  • erdc/proteus#985 — fix incorrect assertions in SW2DCV and GN_SW2DCV. The always-true assert (cond, "msg") tuples were fixed before 1.8.3, in 203f398.

  • erdc/proteus#941 — Error when computing max wave speed for SW2DCV. Also fixed before 1.8.3; SW2DCV.h takes fmax(fabs(lambda1), fabs(lambda3)) at the tag.

  • NumPy >= 2.0 compatibility in SpatialTools.unique_rows — np.unique now shapes inverse like the structured-dtype view rather than flat, which broke downstream fancy-indexing.

  • mprans/SpatialTools.assembleAuxiliaryVariables tested a chrono boundaryFlags array for truthiness; now tests .size == 0.

  • many latent issues in the contributed tests fixed

New modules

proteus/config
proteus/m_comp_co2
proteus/richards
proteus/tests

Modified files

  • test — 524 files
  • proteus — 43 files
  • proteus/mprans — 23 files
  • proteus/MeshAdaptPUMI — 9 files
  • proteus/richards — 7 files
  • proteus/m_comp_co2 — 7 files
  • proteus/tests — 6 files
  • docs — 5 files
  • scripts — 4 files
  • proteus/mbd — 4 files
  • proteus/config — 4 files
  • proteus/fenton — 3 files
  • proteus/SWFlow — 3 files
  • proteus/TwoPhaseFlow — 2 files

Overall: 661 files changed, 244801 insertions(+), 11473 deletions(-).

1.8.3

Choose a tag to compare

@cekees cekees released this 16 Sep 20:16
1b25757

DOI

Summary

  • Removed all old 2to3 code
  • Removed pytables dependency so only h5py is needed
  • Moved tests from proteus package to standalone test directory in repo
  • Discontinued support for hashdist-based builds and removed stack submodule
  • Added directions and scripts for PETSc build system
  • Various updates in response to API changes in dependencies (petsc, chrono, scorec)
  • FCT support for Richards equation and ADR (in development ) @abarua-ce
  • Local adaptive mesh refinement for topbathy (in development) @linojr

Full Changelog: 1.8.2...1.8.3

1.8.2

Choose a tag to compare

@cekees cekees released this 22 Aug 03:38
387e491
  • remove air-water-vv and proteus_tutorial submodules. Not because those are being deprecated but because the main reason for having them as submodules was automated testing, and I think it's better to run the tests on those submodules separately. We might add them back using a test matrix or some other way to allow longer runtimes.
  • remove conda os x test because it exceeds the time limit (could re-enable if we can get multiple cpu's)
  • numerous updates to tests to ensure they work on linux and mac os x (despite not running on mac for travis)
  • multiple changes to Makefile, setup.py, etc. to address changes in python packaging infrastructure
  • changes to address Cython package updates. Mainly I switched to use language_level=3 (e.g. strict Python3) uniformly.
  • fix deprecated np.int. Should just be int
  • updates to PETSc options (naming)
  • updates due to Chrono API changes
  • FCT support in Richards model
  • Some updates to CutFEM support for solid/air/water models

@cekees @abarua-ce and @jhcollins

1.8.1

Choose a tag to compare

@cekees cekees released this 01 Jul 15:25

DOI

Summary

  • updated calls to chrono API (#1258) (@cekees @minrk)
  • updated calls to scorec API (@jhcollins @zhang-alvin )
  • removed dependence on recordtype by using built-in dataclasses (@cekees @jan-janssen)
  • updated hashdist and conda stacks (@jhcollins @cekees)
  • SWFlow, SWE, and SGN, multiple improvements on methods and testing (@ejtovar )
  • WaveTools improvements, custom spectrum, etc. (@adimako )
  • changed submodule git protocol from git: to https:
  • updated travis build environments
  • removed nose and tables dependencies

What's Changed

Full Changelog: 1.8.0...1.8.1

1.8.0

Choose a tag to compare

@cekees cekees released this 18 Jul 00:32
e390094

DOI

1.7.5

Choose a tag to compare

@cekees cekees released this 18 Sep 16:18
28c5c7d
  • Added accurate spatially-variable bathymetry/topography for Dispersive Shallow Water Equations @ejtovar
  • Added embedded solid obstacles in 2D and 3D Twophase RANS using CutFEM and equivalent polynomials @cekees, @jhcollins
  • Fixed regression on ghost boundaries so that boundaries with non-positive tags are skipped as in prior releases @cekees
  • Updated HPCMP custom configs for centennial, mustang, @cekees
  • Fixes issues with mesh motion, old issues on higher-order FEM, unreliable solver tests, code coverage, etc. @zhang-alvin, @jhcollins, @ejtovar, @cekees

1.7.4

Choose a tag to compare

@cekees cekees released this 31 May 00:29
3d33653

DOI

  • Use logEvent instead of std::cout in MeshAdaptPUMI. @zhang-alvin
  • SWFlow update for solvers and tests. @ejtovar
  • Fix some problems with rans3p with new pybind11/ArgumentsDict. @cekees
  • Add and update HPCMP configurations. @cekees
  • Use Docker containers from erdc/stack. @cekees
  • Add cutfem 2d and 3d (development). @cekees
  • Updated to stack to use petsc 3.13.1, numpy, scipy, chrono, etc. @cekees, @tridelat, @zhang-alvin
  • Fix update of node/element diameters after mesh motion. @zhang-alvin
  • Pytest changes to enable testing on macOS. @ejtovar
  • Create directory for Dockerfiles, organized by build settings @zhang-alvin
  • Add ArgumentsDict support and simplify interfaces to c++ models mprans. @JohanMabille, @davidbrochart
  • Added missing dependencies in setup.py. @zhang-alvin
  • Multi-body dynamics (MBD): Add setters/getters and fix mooring lines viz. @tridelat
  • Fix AutoFenton error message. @adimako
  • Decouple compilation of 2D and 3D mprans extension classes. @cekees
  • Re-enable air-water-vv tests. @zhang-alvin
  • Fix sed classes. @cekees
  • Fix parallel python build of proteus to use only N cores. @cekees
  • Add Conda-based Dockerfile @zhang-alvin
  • Improvements to adapt workflow with TwoPhaseFlow, made clsvof compatible. @zhang-alvin
  • Remove hard-wired 'r-true' for petsc and reorder init. @cekees
  • Update PR template to include contributors @zhang-alvin
  • Make post-processing of velocity into BDM1 the default for Two-Phase app. @cekees
  • Fix conservation with porosity and added sloshing tests. @jhcollins
  • Fix LFS pointers error with *.geo files. @tridelat
  • Fix MoveMesh for 3D cases + add 3D FSI test. @tridelat
  • Fixed porosity scaling in mass correction. @cekees
  • Making MeshAdaptPUMI more flexible with models. @zhang-alvin
  • Log chrono link-lock joint residuals. @dloney
  • Update MBD from chrono 4.0.0 to 5.0.0. @tridelat
  • Isolate MeshAdaptPUMI from NumericalSolution. @zhang-alvin
  • Add TPF + FSI test. @tridelat
  • Add .gitattributes that were not initially included. @zhang-alvin
  • Pin conda dependencies. @davidbrochart

1.7.3

Choose a tag to compare

@zhang-alvin zhang-alvin released this 20 Feb 00:34
6939367
  • made Coefficients class directly accessible @tridelat
  • additional test fixes for SWFlow and gmsh tests @zhang-alvin
  • added logging to chrono @dloney
  • spatial tools update with stl documentation @BranocRichards
  • migrated documentation to external repo and couple generation/deployment with Travis-CI @tridelat
  • fixed flcbdfwrappers for OSX @ejtovar
  • removal of large files in history to downsize repo @zhang-alvin
  • added adaptation logic updates @zhang-alvin
  • git submodules have absolute paths to avoid issues when forking @tridelat
  • fix conda package issues by removing file references in setup.py @zhang-alvin
  • migrated mprans to use xtensor structures @JohanMabille , @davidbrochart

1.7.2

Choose a tag to compare

@tridelat tridelat released this 22 Jan 00:03
  • Conda install finalization @davidbrochart
  • Fixes for Green-Naghdi equations @ejtovar
  • Enable coupling between MBD/Chrono and IBM with SDF @tridelat
  • Overhaul of tests, use pre-generated mesh files, reduce size of test files @zhang-alvin
  • BC: boundary normals as argument; Relaxation zones: vertical axis passed explicitly @adimako
  • Overhaul of documentation @tridelat
  • Fixes for compiler warnings of mprans modules @JohanMabille