Skip to content

Code evolution

Versioning

exaDEM releases are tagged on GitHub (vX.Y.Z). The version is set by EXADEM_VERSION in CMakeLists.txt; the main branch is currently 1.2.3 (in development).

Dependencies used in this documentation

exaDEM onika exaNBody Spack
v1.2.x v1.1.0 v2.1.0 v1.1.0

Release notes

v1.2.3 (in development)

This release is under development on the main branch and has not been tagged yet.

✨ New features

  • Fragmentation
    • number_weight_contact_polyhedron weights kn/kt down by the number of simultaneously active contacts between the same pair of particles, which keeps the contact stiffness consistent right after an inner bond breaks. See Weighted contact stiffness.
    • Fragmentation is no longer an experimental feature.
  • Fields
    • New group particle field, used to select multi-material contact parameters independently from the particle type: several types can share the same group and the same contact law.
    • New group parameter of set_fields.
    • New set_group operator to (re)assign the group field according to the particle type.
  • Force field
    • New check_group_completeness operator: stops the simulation if a particle references a group not covered by multimat_contact_params / drivers_contact_params.
  • I/O
    • group field in the dump readers/writers, including the legacy Rockable readers (legacy writers are not affected).
    • dump_inspector operator (and scripts/tools/dump_inspector.sh): prints the header of a .dump file.
    • dump_to_txt operator (and scripts/tools/ConvExaDEMToTxt): exports a .dump file to text files.
    • dump_to_rockable operator (and scripts/tools/ConvExaDEMToRockable): exports the particles of a .dump file to a Rockable .conf file.
    • dump_to_xyz operator (and scripts/tools/ConvExaDEMToXYZ): exports the particles of a .dump file to an .xyz file.
    • restart operator: restarts from the last (or a given) checkpoint, reading the .dump file, the shape file and the drivers file. Drivers are now saved in a dedicated file format. scripts/tools/restart_template.py uses this operator.
    • add_xyz reads files containing several particle types.
  • Drivers
    • SHAKER motion type for cylinders (example: example/spheres/shaker_cylinder).
  • Boundary conditions
    • compute_frame_velocity drives a frame of particles (a region) with an imposed velocity or force, component by component (control_mode), with an optional linear force ramp. Examples: example/spheres/impose_frame and example/polyhedra/impose_frame_fragmentation.

πŸ”§ Changes and enhancements

  • Force field: multimat_contact_params, drivers_contact_params and inner_bond_params select the parameters with group1/group2 (or group) instead of the particle type names (mat1/mat2/mat). See Multi-material.
  • Fields: set_fields has been reworked: values are applied in a single pass over the grid, and random values (sigma_velocity, sigma_angular_velocity, random_quaternion) are generated from the particle id, so they no longer depend on the number of MPI processes or on the order of the types. The previous implementation is still available as set_fields_deprecated.
  • Performance: number_weight_contact_polyhedron runs on GPU; new DEM cost model for load balancing; fewer particle redistributions in some I/O operators (restart, interaction dump reader); the profiling summary is disabled by default (its cost is not negligible for very long runs).
  • I/O: the final dump written at the end of a simulation is disabled by default.
  • ParaView: write_paraview_polyhedra writes parallel unstructured grid files (.pvtu/.vtu) with per-polyhedron fields selected with the fields slot; it is the default particle output for polyhedra and the previous .pvtp version has been removed. Data arrays are binary by default (zlib + base64), compression sets the level (default, min, max or [0-9]) and binary_mode: false writes ascii files. Default ParaView outputs are defined in config_paraview.msp.
  • Refactoring: Interaction and Classifier reworked with onika spans and tuples; InteractionWrapper replaced by ClassifierContainer::View and InteractionDispatcher by ClassifierDispatcher; several shape/OBB methods renamed (add_radius β†’ set_radius, get_normal β†’ compute_normal, OBB::rotate β†’ rotate_in_place, ...) and mass β†’ system_mass in driver_params; Doxygen fixes.
  • Tests / CI: verification tests of the Hooke law in example/spheres/verif_hooke; regression test of restart with four driver types; MPICH in CI.

πŸ› Bug fixes

  • particle_counter writes the global number of particles instead of the one of MPI process 0.
  • Driver forces and moments are reduced over the MPI processes (needed by the driver extractor in parallel).
  • The execution stops when several shapes share the same name.
  • Pointers of an OBBTree are correctly reset.
  • Deadlock in the destructor of OpenMP locks and small memory leak in grid_stl_mesh.
  • ghost_update no longer skips subdomains without particles (needed for the coupling with LBM).
  • Contact messages report negative distances as penetrations.
v1.2.2 (07/26)

✨ New features

  • Fragmentation / inner bonds: operator to randomly change the sphere radius; inner bonds and drivers in the stress per particle; criterion modes (mixed and separated); dump_broken_interface and a ParaView post-processing script; stress energy criterion; inner bonds in the contact network dump.
  • ParaView: improved ParaviewNetwork and criterion used to write interactions; cluster field in paraview_polyhedra; ParaView output of cylinders; export in pvtu format.
  • Drivers: reworked driver_params and MotionType; dt scale in the driver numerical schemes; driver extractor; fixed driver surface corrections on GPU.

πŸ”§ Changes and enhancements

  • Performance: integrated interaction list build step; unclassify optimized with a binary search; reduced compilation time of contact polyhedron/sphere; dedicated extra storage for rshape data; scratch memory for nbh_polyhedron_gpu.
  • Refactoring: drivers and shape plugins cleaned; classify/unclassify and the interaction manager moved to .cpp files; interaction_buffers renamed contact_state; new convention for structure members (name β†’ name_).
  • CI / build: CUDA CI pipeline, with CUDA 13.

πŸ› Bug fixes

  • Ghost interactions in nbh_polyhedron_gpu; ill-formed interactions in the nbh operators; compilation in debug mode; grid_cell_values updated on ghost_update; MEM PREFETCH with CUDA 13; logs and face shape identification tolerance; periodic boundary conditions with the DOMAIN_BOUNDS mode (Rockable).
v1.2.1 (03/26)
  • New deposit plugin, and an operator adding particles from an XYZ file.
  • Grid output switched from grid_vtklegacy to grid_vtk.
  • Weights in the inner bond force computations.
  • Additional validation check in check_rcut.
v1.2.0 (02/26)

✨ New features

  • Fragmentation: inner bond interaction (rework of the interaction system), interfaces (sets of inner bond interactions), routine to stick polyhedra, cluster field, config_fragmentation.msp.
  • Shapes: default shapes library (cube, sphere, rice grain).
  • Drivers: deformation operator for STL meshes; Stl_mesh renamed RShapeDriver; FORCE_MOTION refactored into the more versatile PARTICLE motion type; "freeze particles" operator; expression-based motions account for angular moments.

πŸ”§ Changes and enhancements

  • Performance: interactions copied in the ghost area (MPI); contact interface criterion on GPU; BackupDEM structures updated for a more efficient checkpointing.
  • Post-processing: traction/shear test case for the validation of fragmentation; improved ParaView outputs of particle interfaces; vertex ordering fixed in interface exports.

πŸ› Bug fixes: compatibility with exaNBody 2.0.7; region usage in set_fields; radius-from-shape detection.

v1.1.6 (12/25)
  • TinyExpr support and projected quantities; motion modification operator; STL driver controlled by moments; script to visualize the stresses applied by drivers per component; improved ParaView output of contact networks; DMT enumeration.
  • Fixes: Rockable behavior issues; ParaView export of polyhedra and vertex displacement; simulation box definition and Rockable dump writer; MPI bug in linear compressive motion; validation of a missing preCompDone flag in shape files.
v1.1.5 (10/25)
  • Fixed linear_compressive_forces and linear_motion when a surface moves in the negative direction.
  • New examples: spheres with linear motion types, polyhedra with linear compressive force.
v1.1.4 (09/25)
  • Pendulum motion type for the surface driver; check_consistency_grid_classifier operator; rescale Minkowski option in read_shapes; generation of the exadem-config file.
  • Examples updated and refactored (axial stress, rotating drums, polyhedra/stl_mesh, polyhedra/balls, ball/driver, spheres/movable-wall, analyses); deprecated examples under depot removed.
  • Regression tests for sphere/cylinder_stl, mirror boundary conditions, polyhedra/defbox, polyhedra/stl_cylinder, spheres/piston and funnel.
v1.1.3 (09/25)
  • Mixer simulation example; examples with large vertex sets; OBBTree (from Rockable) for collision detection; shape rescaling at import time.
  • Improved required-slot handling; centralized error management (color_log::error, color_log::warning).
  • Fixes: ParaView export of STL meshes; MSP driver output files.
v1.1.2 (07/25)
  • Rockable output files; new internal vertex data layout; customizable options of compute_cell_particles; shaker motion type for STL mesh drivers (sinusoidal displacement).
  • Fix: ParaView shape data output.
v1.1.1 (05/25)
  • check_rcut operator to verify the interaction cutoff radius; multi-material contact law; RSA generator targeting a volume fraction; slot to override the domain bounds in read_xyz; log of the critical time step.
v1.1.0 (03/25)
  • Unified field initialization operator set_fields.
  • Driver motion types STATIONARY, LINEAR_MOTION, COMPRESSIVE_FORCE, LINEAR_FORCE_MOTION, FORCE_MOTION, LINEAR_COMPRESSIVE_MOTION, TABULATED; reader of binary STL files.
  • Analyses: barycenters and particle counts per type.
  • Contact network output with more information; domain deformation available for spheres and polyhedra.
v1.0.2 (11/24)
  • Moving and rotating drivers (with special support for STL meshes), timestep operators, driver I/O operators.
  • Tree of output files (io_config), system stress tensor, XYZ output example, post-processing scripts.
  • Faster lookup grid for STL meshes; interactions stored in the classifier as a Structure of Arrays; logs of active interactions and maximum interpenetration; hooke_force renamed contact_force; only cells containing particles are browsed.
  • Fixes: relative shape paths; interaction statistics per driver.
v1.0.1 (06/24)
  • Classifier of interactions; mirror boundary conditions of exaNBody; GPU version for polyhedra.
  • Unified drivers for spheres and polyhedra.
  • Removed the deprecated meshset and friction plugins.
  • New examples: funnel, mirror boundary conditions.