Examples

Example 1: default processing options

  1. Create and save a simulation deck using the EDEM Creator.

  2. Open a console (cmd) window then type the following:

edem.exe --console -i "c:\My documents\EDEM\mysim.dem" --rewind

 

The deck is rewound to the start then each time step is processed. A message is displayed once complete. You can then open the deck and use the EDEM Analyst to perform any post-processing.

 

Example 2: specifying processing options

 

  1. Create and save a simulation deck using the EDEM Creator.

  2. Open a console (cmd) window then change directory to the EDEM bin directory.

  3. Type the following:

edem.exe --console -i "c:\My documents\EDEM\mysim.dem" –p 4 –r 10

 

This command runs the simulation using 4 processors for 10 seconds total run time.

 

Example 3: run simulation and export data

 

  1. Create and save a simulation deck using the EDEM Creator.

  2. Open a console (cmd) window then change directory to the EDEM bin directory.

  3. Type the following:

edem.exe --console -i "c:\My Documents\EDEM\mysim.dem" -–rewind –ePC “c:\My Documents\EDEM\mysimdata.csv”

 

This command rewinds then runs the simulation using default processing flags. It then exports particle and contact data to a .csv file.

 

Example 4: run simulation and export data based on deck configuration

  1. Create and save a simulation deck using the EDEM Creator.

  2. Switch to the Analyst then select File > Export > Results Data.

  3. Define the export queries then set the filename. Click Close.

  4. Switch back to the Creator then save your deck. The configuration file is updated with details of the export queries.

  5. Open a console (cmd) window then change directory to the EDEM bin directory.

  6. Type the following:

edem.exe --console -i "c:\My Documents\EDEM\mysim.dem" -–rewind –e “c:\My Documents\EDEM\mysim.dfg”

 

This command rewinds then runs the simulation using default processing flags. It then exports data based on the queries defined in the deck’s configuration file.

 

     
 

(c) 2022 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support