- Load a Deck
To start using EDEMpy, load an existing deck by creating a Deck object and providing the full path to a .dem
file. By default, decks are loaded in 'read-only' mode to prevent any accidental changes.
- Read Particle Data
You can read particle information (positions, velocities, and so on) for a given particle type in a given Time Step which is contained in a ParticleType
object.
- Read Geometry Data
You can query Geometry information in a similar way to querying particles.
- Read Contact, Bond, and Collision data
You use the same syntax for reading contact and collision data. The only differences are in the available properties in each case.
- Create Bins
EDEMpy offers methods for binning objects using the BoxBin
and CylinderBin
classes.
- Write Data
EDEMpy provides functionality to modify decks for the purposes of automated pre-processing.
- Custom Properties
EDEMpy has four types of custom properties that you can read from and write into.