Skip to content

v0.10.0 — Seven Witnesses

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Nov 09:01
61450e0

oxiflow 0.10.0 — Stable Ecosystem (J10)

Stabilisation milestone before the mesh cycle: seven validated reference examples, the FEM invariant audit, a stricter API with SemVer and MSRV checks in CI, and the open debts settled. Full details in CHANGELOG.md.

Highlights

  • Seven reference examples (#173), each checked against its validation reference, with result plots and SVG animations:
    • competitive frontal analysis;
    • transient heat transfer;
    • Gray–Scott 1D;
    • Burgers boundary layer;
    • Terzaghi consolidation;
    • magnetic diffusion;
    • a lahar front running into a lake, on coupled grids.
  • Integrators.
    • VectorField states run on every integrator.
    • Newton is iterated on the banded path.
    • BDF2 has its sparse builders.
    • The finite-difference Jacobians are assembled per format, with parallel dispatch.
  • Boundaries and context.
    • Constrained nodes and boundary regions.
    • A public Dirichlet condition.
    • c(x, t) coefficients.
    • Shared context values.
  • Multi-domain runs.
    • Phase 1 of the orchestrator is parallelised.
    • Domains can be described by data (DomainSpec).
    • Domain identifiers and interfaces are checked.
    • Each coupling receives one context per side of its interface.
  • Stability. The explicit integrators own the advective stability check. The implicit integrators are no longer held to a Courant number of 1.
  • Security. The vtk feature no longer depends on vtkio. Three RUSTSEC advisories are gone from the dependency tree.

Breaking changes

In 0.x a minor release may break the API. Each change is described under Breaking: in the changelog.

  • UniformGrid1D::new returns Result<Self, OxiflowError> (#189).
  • IntegratorSpec::BDF2 gains sparse_threshold and jacobian_bandwidth (#133).
  • FluxDivergenceOperator gains the required method max_wave_speed (#228).
  • CouplingOperator::apply takes a &CouplingContext instead of a &ComputeContext (#231).
  • Scenario::validate rejects an initial state whose size does not match the mesh (#212). This is a change of behaviour, not of signature.

Fix without its own issue

DanckwertsInlet diverged as soon as κ = D / (v Δx) > 1, that is (n − 1) / Pe > 1 on a uniform grid. The inlet value was recomputed from its own previous value at each evaluation, with a factor −κ. It is now set from its neighbour, and the fix came with the constrained-node work of #201 (973e2ed). No bug issue was opened for it.

Full Changelog: v0.10.0...v0.9.0