Programming Guide

The EDEM Programming Guide describes the EDEM API.

You can use the EDEM API to code and implement your own contact Physics, external couplings and particle-generation factories in the form of a User Defined Library (UDL). This UDL operates as a plugin to EDEM. For more information, see the API Reference help included in the EDEM installation folder.

When using the EDEM API, all units are SI.

User Defined Library Contact Model

A User Defined Library (UDL) is a custom library that you can write to define your own Physics models.

The following high-level sequence of the steps to write and use a UDL contact model are as follows:

The programmer typically adapts an existing contact model source file (available from the Altair Community) using a development environment or editor. Once compiled, the new contact model is loaded into EDEM for use in simulations.


Note: The same steps apply to both Particle Body Force and Particle Factory UDLs.