Simulation Starter Pack¶
A minimal DEM deck defines, on top of the default configuration:
includes: # config_spheres.msp or config_polyhedra.msp
domain: # simulation box, cell size, periodicity
input_data: # particle creation and initialization
setup_drivers: # boundaries and obstacles (optional)
compute_force: # gravity, contact law
global: # time step, number of steps, output frequencies
The following pages build, block by block, the deck of the periodic rotating drum example
(example/spheres/rotating-drum/rotating-drum-periodic.msp): 5,520 spheres in a drum rotating around the
periodic y axis.
- Global control — time step, number of steps, output frequencies through
global - Domain — the simulation box and the cell grid through
domain - Particles — particle types, lattice generation and fields through
input_data - Drivers — the rotating cylinder through
setup_drivers - Force field — gravity and the contact law through
compute_force - Output data — log, ParaView files, checkpoints
- Working example — the complete deck