Overview:
You can export the simulation deck during your simulation. Exporting a deck allows it to be transferred to another location and run using identical simulation parameters.
This script replicates the export simulation deck feature in the Analyst.
Simulation Deck
Prerequisite:
To run this script, h5py, numpy and EDEMpy must be installed. Alternatively, users can run the script from the Analyst.
Usage/Installation Instructions:
Usage:
python export_EDEM_deck.py -i /path/to/input_deck.dem -o /path/to/output_deck.dem -t 2.71 -e -r -n 3.14
Options:
"-i", "--input-deck" → Path of the EDEM deck to be copied.
"-o", "--output-deck" → Path of new the deck.
"-t", "--time-to-export" → Simulation time, in seconds, to be exported.
"-e", "--export-custom-props" → Export custom properties. If this flag is used, then custom properties will be copied to the new deck. Otherwise, they won't.
"-r", "--reset-factories" → Reset factories. If this flag is used, then the factories in the new deck will be reset.
"-n", "--new-time" → Time, in seconds, of the new simulation. Default is 0 seconds.
Post-Requisite:
Release Version: 2025.1