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.
-
Copy the compiled API plug-in
.dll
file into either the working directory of an EDEM deck, or into the relevant folder specified in .- For a Contact Model, this file is located in the following folder: .
- For a Particle Body Force, this file is located in the following folder: .
-
If there is an associated preference file with the plug-in, ensure that the
preference file is available with the
.dll
file. -
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). -
Select Edit Contact Chain.
- In the Select <Interaction Type> Models dialog box, select the checkbox next to the plug-in name in and click OK.
-
Select the plug-in in the Model section and then click the icon.
- The Test Plugin Parameter Editor dialog box corresponds with the parameters available for editing within the plug-in.
- You can specify certain parameters independently for each Particle/Geometry, or for each Particle/Geometry material pair interaction.
- These parameters will be displayed after adding the desired element by clicking the icon.
-
For certain parameters that may be defined in tabulated format, click the
icon to add a row, or the icon to remove a row.
-
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.