API Guide for Users

This guide explains the usage of the plug-in from a user’s perspective. However, the usage for writing and compiling a plug-in is not included in this guide.

To use the API guide for Users:
  1. Copy the compiled API plug-in .dll file into either the working directory of an EDEM deck, or into the relevant folder specified in Tools > File Locations.
    1. For a Contact Model, this file is located in the following folder: Tools > File Locations > Contact Models.
    2. For a Particle Body Force, this file is located in the following folder: Tools > File Locations > Particle Body Force.
  2. If there is an associated preference file with the plug-in, ensure that the preference file is available with the .dll file.
  3. Once the .dll file (and any supporting files) has been moved into one of these locations, select the relevant Interaction Type for the plug-in (Particle-Particle, Particle-Geometry, or Particle Body Force).
  4. Select Edit Contact Chain.
  5. In the Select <Interaction Type> Models dialog box, select the checkbox next to the plug-in name in and click OK.
  6. Select the plug-in in the Model section and then click the  icon.
    1. The Test Plugin Parameter Editor dialog box  corresponds with the parameters available for editing within the plug-in.


    2. You can specify certain parameters independently for each Particle/Geometry, or for each Particle/Geometry material pair interaction.
    3. These parameters will be displayed after adding the desired element by clicking the icon.


  7. For certain parameters that may be defined in tabulated format, click the icon to add a row, or the icon to remove a row.


  8. Double-click a parameter value to edit it.
    Note:
    • Values can also be copied/pasted to and from an Excel spreadsheet.
    • Plug-ins may enforce a minimum number of rows.