Skip to main content

Rocky for developers

Overview

Ansys Rocky™ particle dynamics simulation software 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 scripting provides lower-level access to the Rocky solver's data structures and simulation results. This library enables interaction with the Rocky solver, 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 the Rocky solver's standard feature set.

The Solver SDK enables you to develop custom modules that integrate into the Rocky solver. A Rocky solver's 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 PrePost scripting and SDK are available for Windows and Linux in:

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

Documentation

PrePost scripting

Use the PrePost scripting to create and modify Python scripts for automating tasks in the Rocky solver.

2025 R1

Previous

Solver SDK

Use the Solver SDK to develop custom modules that integrate into the Rocky solver.

2025 R1

Previous

PyRocky (open source)

PyRocky library is a Python client library for remotely controlling the Rocky solver, which is the most powerful software on the market for performing DEM (Discrete Element Method) simulations.

View docs