Skip to main content

Rocky for developers

Overview

Ansys Rocky is a 3D Discrete Element Method (DEM) modeling program that simulates how a set of particles interact with other particles and the various boundaries that represent the conveyor chute, mill, mixer, plow, coater, or other kind of bulk materials handling equipment being analyzed.

The PrePost library provides lower-level access to Rocky’s data structures and simulation results. This library enables interaction with Rocky, facilitating the configuration and simulation of a project from scratch, analysis, and exportation of simulation results.  Moreover, it empowers you to perform advanced computations that extend beyond Rocky's standard feature set.

The Solver SDK enables you to develop custom modules that integrate into Rocky. A Rocky module is a compiled library that attaches to the Rocky solver at strategic points during the simulation, allowing the execution of custom code.

OS and supported languages

The Rocky library and SDK are available for Windows and Linux in:

  • PrePost library: Python
  • Solver SDK: C++ and Cuda

Documentation

PrePost library

To access the API:PrePost manual, open the Rocky software and then select Help > Manuals > API:PrePost Manual.

This manual will be available online on the Ansys Developer Portal from the 2024 R2 release.

Solver SDK

To access the API:Solver manual, open the Rocky software and then select Help > Manuals > API:Solver Manual.

This manual will be available online on the Ansys Developer Portal from the 2024 R2 release.