Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 13:19
· 83 commits to main since this release
3c8a6c3

Peridynamics v0.5.0

Diff since v0.4.2

Breaking Changes

  • Constitutive models: Removed MooneyRivlin and added NeoHookePenalty as a replacement
  • RKC Materials: Improved regularization for the inversion of the moment matrix; therefore, the regfactor keyword argument in RKCMaterial and RKCRMaterial has been removed and replaced with the new lambda and beta keywords
  • Default constitutive model: CMaterial, BACMaterial, RKCMaterial, and RKCRMaterial now default to SaintVenantKirchhoff() instead of LinearElastic()

New Features

  • Generalized Bond-Based Material: New GBBMaterial (also called GPMB in literature) using weighted volume approach instead of spherical neighborhood assumption
  • Parameter Study Framework: New Study type for managing multiple simulation configurations with automatic progress tracking and resume capability via submit! and process_each_job
  • Newton-Raphson Solver: Experimental implicit quasi-static solver NewtonRaphson with a new displacement boundary conditions function displacement_bc!

General Improvements

  • Enhanced Export:
    • New export fields, such as strain_energy_density or stress tensors for correspondence materials
    • Exported fields that are not necessary for the force density computations are only computed on demand for the time steps where they are exported
  • Enhanced Logging:
    • Improved error logging in submit(job) and submit!(study) for better tracking and debugging on HPC systems
    • Better path and vector formatting in logs with line wrapping support
    • Export options now logged at simulation start
  • MPI Handling:
    • New barrier keyword argument for process_each_export
    • New mpi_barrier function for explicitly placing MPI barriers
  • Bug Fixes:
    • Fixed force density initialization in data handlers
    • Each material model now uses its own strain energy density calculation methods for surface correction
    • Corrected stress tensor exports for correspondence materials
    • Fixed boundary condition application order
  • Documentation Updates:
    • Reorganized API reference (separate sections for types, functions, macros, and experimental features)
    • Added experimental feature warnings
    • Improved constitutive model documentation with mathematical formulations
    • Enhanced RKC material documentation with more regularization details
  • Internal Changes:
    • Refactored condition handling with new ConditionHandler type
    • Enhanced storage field management across different solvers
    • Better separation of solver-specific and material-specific storage fields
    • Enhanced degree-of-freedom management with new utility functions (get_n_dof, each_dof, etc.)

Merged pull requests:

Closed issues:

  • Energy Surface Correction for DHBB material (#221)
  • Energy density (#224)
  • Bug with EnergySurfaceCorrection (#246)