Define Custom Properties

You can define any number of custom properties.

To define custom properties:
  1. Indicate that your UDL will use custom properties by setting its usesCustomProperties() method to return 'true'.
  2. Register each custom property for each custom property category (Contact, Particle, Geometry, or Simulation) that you want to use.
  3. Use the getNumberOfRequiredProperties() method to indicate the number of custom properties to be registered.
    When the UDL is loaded, EDEM calls the getNumberOfRequiredProperties() method once for each category.
  4. Use the getDetailsForProperty() method to indicate the name, number of elements, and unit type of each property.
    The getDetailsForProperty() method is called once for each property that you are registering.