Setting up and running EDEM models

See EDEM documentation for general guidelines on setting up the models for co-simulation with Adams. This section shows only basic guidelines. The steps to setup and run EDEM are the following:
a. You must place a geometry at each interaction point with the Adams model. Each geometry must have its CoM (Center of Mass) coincident with a MARKER on the Adams model. Each geometry has a case sensitive name in the EDEM model.
The CoM of a geometry can be discerned by loading the model in EDEM and examining the geometry position coordinates as supplied by the geometry tab. Alternatively, the CoM can be explicitly set to match the position of a MARKER in the Adams model, this has no ill effect on the final outcome.
b. You must create a process block in the configuration script. For example:
process {
code = edem
name = Bouncing Particles
id = 1
units_length = 1.000000e+000
units_time = 1.000000e+000
transfer_fraction = 0.000000e+000
ip_address = 127.0.0.1
interaction {
name = edem_box
connection = adams_gforce1
geometry_name = Box
}
}
The code option must be of type 'edem'. See above for explanations on all other options. Notice option 'geometry_name' is case sensitive and it must equal to the geometry name as found in the EDEM model.
c. Given that the co-simulation with EDEM is done using the EDEM Coupling Interface V2.2.0, there is no need to setup environment variables.
d. The origin, orientation and units of the EDEM model do not need to be coincident with the Adams model. See above for options to setup the co-simulation topology.
e. To run the EDEM model in GUI mode, start EDEM and load the appropriate deck. Click the "Start" button in the Coupling Server dialog box. (If the Coupling Server is not visible, go to Tools Edem Coupling Options Show Coupling Server.)
Launch the ACSI glue code (see above).
f. To run the EDEM model (version EDEM 2.7.1) in batch mode, type the following command from a bash or command window:
     edem -console -i "DECK_NAME" -cs [additional flags]
Alternatively, you may use options execution_command and working_directory to launch the EDEM process automatically. See section Automatic local launch.
g. In some cases, EDEM will not take the final step to simulate up to the final Adams simulation time. This minor limitation will be addressed in next releases.
 
Caution:  
See latest EDEM documentation on how to properly launch EDEM 2017 or later. For example options -console and -cs have changed to
--console and --cs respectively.