Repository navigation
Version 3.0.0 introduces a significant number of changes, additions and fixes to BurnMan. Some old scripts will need to be modified. Please contact the BurnMan team if you need help with this task.
Change list:
- Compatibility with Python 3.10-3.15.
- Compatibility with NumPy 2.
- Changed: V and H give totals based on number_of_moles. Use molar_* properties for per-mole values.
- Changed: Averaging schemes now apply only to effective bulk and shear moduli (K_eff and G_eff).
- Changed: Replaced geotherm functions with classes, including a class for adiabatic geotherms.
- Changed: Isothermal equations of state now use F_0, the reference Helmholtz energy, in place of E_0.
- Changed: Renamed BM2 to BM3Shear2 and brought the Birch-Murnaghan equations of state into one module.
- Changed: Removed "free" from energy method and argument names, and fixed entropy in solution basis changes.
- Changed: Renamed profile comparison functions, corrected the L2 norm, and fixed basis completion.
- Changed: Renamed the solution model's formulas to site_formulae and removed solution_formulae.
- Changed: Allowed a wider range of NumPy 2 and Numba versions.
- Changed: Added a fallback for environments without Numba.
- Changed: The de Koker-Stixrude solid equation of state defaults to the original code's Gruneisen model.
- Changed: Anharmonic entropy and heat capacity now depend on temperature relative to the Debye temperature.
- Changed: Use Mineral to get properties such as heat capacity at constant volume and the Gruneisen parameter.
- Changed: Low-resolution Perple_X tables use a fixed refinement grid.
- New: Added spherical self-consistent averaging of bulk and shear moduli for isotropic and anisotropic phases.
- New: Added the Wu-Wentzcovitch property modifier for pressure-dependent excess volume.
- New: Added linear composition constraints for equilibrium and relaxation, and corrected the HHPH2013 models.
- New: Added the Pitzer-Sterner water equation of state, HP636, and the Green and Weller igneous datasets.
- New: Added the Hyperelastic class for materials under large non-hydrostatic stresses.
- New: Added differential evolution and adaptive damping options for nonlinear fitting.
- New: Composition objects support addition, subtraction, multiplication, and division.
- New: Added expand_strains to convert contracted strains to full tensors.
- New: Added optional rotation when converting cell vectors to cell parameters.
- New: Added polar decomposition of deformation gradients for anisotropic calculations.
- New: Added the Anzellini (2013), Katsura (2022), and Plesa (2022) geotherms.
- New: The equilibrate function now accepts RelaxedComposite objects.
- New: FunctionSolution supports excess Gibbs energies that depend nonlinearly on pressure and temperature.
- New: Added RelaxedComposite for equilibration and partial or full relaxation of assemblages.
- New: Allow mineral site occupancies to vary during optimal thermobarometry fits.
- New: Added optimal thermobarometry to estimate pressure and temperature from mineral assemblages.
- New: Allow users to set the threshold for active constraints in the nonlinear solver.
- New: Allow separate equilibration tolerances for pressure, temperature, phase amounts, and compositions.
- New: Added a simplified Wu-Wentzcovitch anharmonic thermal model.
- New: Added a lognormal anharmonic thermal model and improved ModularMGD model validation.
- New: Added a modular Mie-Gruneisen-Debye equation of state with optional electronic and anharmonic terms.
- New: Allow polygon masks to exclude regions from Perple_X phase diagrams.
- New: Added a tool to create high-resolution phase diagrams with Perple_X.
- New: Perple_X table calculations can be split across multiple input files.
- New: Equations of state can be fitted using volume and temperature as independent variables.
- New: Added a shared base class for isothermal equations of state.
- New: Nonlinear fits can include correlated Gaussian priors on parameters.
- New: Added a workflow to turn Perple_X calculations into ASPECT property tables along an adiabat.
- New: Added a workflow to generate Perple_X property tables.
- New: Added seismic model exports for AxiSEM and MINEOS.
- New: Added example scripts and a spreadsheet from the SPOCK equation-of-state paper.
- New: Added a hyperelastic example comparing different definitions of stress rate.
- New: Added an example of anharmonicity in a modular equation of state.
- Improved: Prepared for Python 3.15 and made BurnMan imports faster on that version.
- Improved: Updated the stishovite and post-stishovite datasets, models, and plots.
- Improved: Composition addition now accepts negative components.
- Improved: The SLB datasets use NIST atomic masses.
- Improved: Added checks for valid anisotropic elastic inputs.
- Improved: Layer and planet pressure and gravity calculations are more robust at density jumps.
- Improved: The Anderson-Ahrens iron equation of state now uses analytical derivatives.
- Improved: Replaced finite differences with direct matrix exponential derivatives in anisotropic calculations.
- Improved: Expanded the API reference for tools and utilities.
- Improved: Reworked the class documentation with clearer explanations and examples.
- Improved: Reorganized the documentation so material classes, examples, and API references are easier to find.
- Improved: The relaxation example compares iron-magnesium exchange, phase changes, and full relaxation.
- Improved: Documented the theory behind relaxed thermodynamic properties.
- Improved: The spin-transition example uses RelaxedSolution and calculates properties along a geotherm.
- Improved: Thermobarometry can account for pressure and temperature uncertainties and prior estimates.
- Improved: Split optimal thermobarometry into reusable steps for reaction and fit calculations.
- Improved: Equilibration retries difficult calculations with a larger cutoff for small site fractions.
- Improved: Scaled solver variables consistently to make equilibration more stable.
- Improved: Tightened numerical thresholds for equilibrium calculations.
- Improved: Tightened equilibrium precision and updated the SLB2024 benchmarks.
- Improved: Added docstrings for the SLB2024 and Holland-Powell solutions to show their model names.
- Improved: Numbered Perple_X phase fields that are too small for their full labels.
- Improved: Added clearer error messages when nonlinear fitting fails.
- Improved: Replaced numerical derivatives in Brosh CALPHAD with analytical derivatives.
- Improved: Setting state by volume is faster for minerals with a direct pressure-from-volume equation.
- Fix: Updated the SLB2011 converter to generate code for the current mineral and solution classes.
- Fix: Corrected the SLB2011 Landau entropy reference to match the published dataset.
- Fix: Total properties now scale with sample amount across materials, composites, layers, and planets.
- Fix: Corrected mineral volume solves near equation-of-state limits and with volume modifiers.
- Fix: Improved reference-state pressure solves and corrected fitting plots and anisotropic initialization.
- Fix: Corrected energies for isothermal equations of state with nonzero reference pressure.
- Fix: Corrected which properties SolutionFit uses to calculate derivatives.
- Fix: Corrected tensor indexing in the anisotropic equation of state.
- Fix: Corrected bounded fitting, uncertainty estimates, and handling of volume modifiers.
- Fix: Corrected low-temperature Brosh CALPHAD properties and magnetic parameters in SE_2015.
- Fix: Corrected the units of the SLB2022 Landau volume term.
- Fix: Corrected derivatives of the SLB2022 Landau property modifier.
- Fix: Corrected the planet's isothermal compressibility and improved seismic profile gradients.
- Fix: Improved SLB volume solves and corrected low-temperature magnetic energy and stishovite softening.
- Fix: Corrected tensor rotations in non-orthotropic minerals and solutions.
- Fix: Wave velocities can be calculated when eigenvectors have only tiny imaginary parts.
- Fix: Corrected sodium endmember formulas in HHPH2013 and improved phase diagram and elastic property plots.
- Fix: Corrected the enthalpy calculation in ElasticSolution.
- Fix: Restored the PDF documentation build.
- Fix: Improved how the Newton solver regularizes difficult steps.
- Fix: The nonlinear solver detects and reports singular Jacobians.
- Fix: The nonlinear solver reports failures when following a constraint.
- Fix: Corrected volume derivatives in equilibration and added a residual-based convergence check.
- Fix: Improved equilibrium convergence when the solver's Jacobian is ill-conditioned.
- Fix: Correctly read mixed-valence site species when converting ThermoCalc solution models.
- Fix: Existing outputs are protected when creating low-resolution Perple_X tables.
- Fix: Corrected the parsing of chemical formula terms outside crystallographic sites.