Rocky Tutorial Guide
Rocky Tutorial Guide
ANSYS, Ansys Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature
names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the
United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark
of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property
of their respective owners. FLEXlm and FLEXnet are trademarks of Flexera Software LLC.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, contact ANSYS, Inc.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. v
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
vi of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. vii
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
viii of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. ix
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
x of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xi
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xii of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xiii
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xiv of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xv
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xvi of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xvii
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xviii of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xix
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xx of ANSYS, Inc. and its subsidiaries and affiliates.
Rocky Tutorial Guide
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. xxi
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
xxii of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Tutorial - Transfer Chute
1.1. Part A: Project Setup and Processing
Introduce the Rocky user interface, go over the various parameters, and outline the basic steps for setting
up and processing a Rocky project.
1.1.1. OBJECTIVES
The purpose of this tutorial is to introduce the Rocky user interface, go over the various parameters,
and outline the basic steps for setting up a Rocky project.
The scenario considered is analyzing the performance of a transfer chute with one feed and two re-
ceiving conveyors.
• Import Geometries
• Archive Project
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Tutorial - Transfer Chute
• (2) Skirt;
• (3) Pulley;
• (4) Chute;
The complete geometry is subdivided into several parts in order to apply different movements to
each one. In the tutorial files folder (presented below), each .stl file can be found.
• Open Rocky 2025 R1 (look for Rocky 2025 R1 in the Program Menu or use the desktop
shortcut).
• From the Rocky program, click the New Project button, or from the File menu, click New
Project (Ctrl+N).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The Rocky user interface (UI) is customizable, you can add/remove/reposition any window or panel
available. To change back to the default, select View from the main Toolbar, and then click Reset
layout.
• (1) Menu and Toolbar: Contains the main program menus, shortcuts, camera options, time
step controls, and display tools.
• (2) Workspace: Displays the available windows that have been opened for the project (3D
Views, Motion and Particle Previews, and Plots and Histograms).
• (3) Data Panel: Displays the project tree through which the setup parameters are defined.
• (4) Data Editors Panel: Displays the details of the item that is selected in the Data panel.
• (5) Progress Panel: Shows the processing tasks currently being performed.
• (6) Status Panel: Shows any warnings or errors regarding the current project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Tutorial - Transfer Chute
• Study: Change the study name from the default (Study) and add a description.
– Study also enables the activation of two other entities that are hidden by default:
→ Regions of Interest: (For certain external Modules only.) Create a Cube or Cylinder region
where custom calculations can be performed.
→ Point Clouds: (For certain external Modules only.) Import field data that is defined in a
text file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
– Aternatively, Regions of Interest and Point Clouds are also enabled from the main Study
menu:
• Physics: Set physical conditions (Gravity, Momentum, Coarse-Graining, and Thermal models).
• Motion Frames: Add and preview movement to the simulation components (Geometries).
• Particles: Create particles, set size distributions and preview particle shapes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Tutorial - Transfer Chute
• Inlets and Outlets: Define particle and fluid inlets and/or outlets and release locations.
• CFD Coupling: Set up LBM air flow, or define One-Way or Two-Way coupling with Ansys Fluent
fluid dynamics solver.
• Solver: Define how the solver processes the simulation and collects data.
• User Processes: Displays user-defined processes, such as analysis cubes and planes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
2. From the Data Editors panel, enter the project information (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Tutorial - Transfer Chute
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, on the Momentum tab, set the Rolling Resistance Model.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Tutorial - Transfer Chute
1. From the Data panel, right-click Geometries, and then click Import Wall.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Select file to import dialog, navigate to the tutorial_01_input_files folder that you
previously downloaded, find the geometry folder, and then while pressing either the Ctrl or Shift
key, multi-select all of the following files:
3. Click Open.
4. If you haven't saved your project yet, a Save File dialog will appear. Select a folder location, enter
a File name, and then click Save.
After saving the project, a Rocky dialog is displayed, where geometry limits (in X, Y and Z directions)
are shown.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Tutorial - Transfer Chute
Import Unit defines the unit with which the geometry was saved previously.
5. For this tutorial, all geometries are in "mm" so make this change to the Import Unit, as shown.
6. Review the Geometry Limits to ensure the unit you selected is correct.
Tip: .stl files are not saved with an embedded unit so ensure you select the correct unit during geometry
import.
• (Project_name).rocky: This is the Project file, which includes the simulation setup values.
• (Project_name).rocky.files: This is the Project folder, which contains all the generated configurations,
logs and calculated timesteps.
To share your project, it is very important to always send both parts. Rocky provides an easy way to
do this:
• From the File menu, select Archive project. Rocky will create a file called (Pro-
ject_name).rocky_archive, which is a compressed file, containing both parts.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• To open it, just click the File menu, and then select Restore archived project.
After you process your simulation, three other options for saving the project are displayed when you
select Save project as. . . from the File menu, as follows:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Tutorial - Transfer Chute
1.1.11. 3D VIEW
To visualize the freshly imported geometries, do the following:
1. From the Data panel, click and hold the Geometries entity.
2. Drop it on top of the Workspace. The workspace will then be filled with a 3D View window of the
geometries.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note: Except for Volumetric and Custom Inlets, an Inlet or Outlet must be associated with a Surface.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Tutorial - Transfer Chute
1. From the Data panel, right-click Geometries, and then click Create Rectangular Surface. A new
entry will be added under Geometries called Rectangular Surface <01>.
2. From the Data panel, select Rectangular Surface <01>, and from the Data Editors panel, define
the Name, Center Coordinates, Length, Width, Angle and Vector.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The surface will be automatically shown as a red box in the 3D View after its creation (as shown below).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Tutorial - Transfer Chute
• Grids: Allows you to change faces and edges colors for the geometries, as well as the display
method.
• Background and Font color: Change the color of the 3D View background and the text displayed
in the window.
• Auto Update: Enable/disable update of the graphical 3D View regarding any modification in the
Data panel.
• Bounding Box: Enable/disable visualization of the geometry limit coordinates on each axis.
• Synchronized Time: When disabled, allows you to display multiple 3D Views at different times or
lock them to the same time step when enabled.
• Copy and Save Image: Copy the window and/or save it as a .png, .bmp or .jpg file.
The color, transparency, and visibility of each part of the geometries can be changed from the Color-
ings tab.
For example, you can make the geometries transparent by doing the following:
1. From the Data panel, under Geometries, multi-select (press the CTRL or SHIFT key while clicking)
all six of the imported walls.
2. From the Data Editors panel, select the Colorings tab and then enable the Transparency checkbox
(as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Tutorial - Transfer Chute
In order to set up a new motion, you will use the following steps:
1. Create a new Frame: You can define a new Frame either setting the position and orientation using
the global reference Frame or using a previously created Frame (nested Motion Frame).
2. Define the Frame's motion: Every Frame can have multiple motions defined, which can include:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. Associate the geometry with a Motion Frame: For every moving boundary, select one Motion
Frame to be associated with that boundary. To apply a nested set of Motion Frames, assign only the
lowest level child Frame.
4. Preview the motion: Use the Motion Preview tool to ensure that the movement for all the
boundaries is as desired.
Note: Motion Frames can be associated with some User Processes. This will be covered in later tutorials.
Both movements will use the Keep in Place: Global option. This means the particles in contact with
the geometry will have the prescribed velocity but the geometry itself will not move.
• The Global and Local distinctions are necessary only for complex nested motions, which we will
cover in later tutorials (Tutorial 07 - Conical Dryer).
• For standard motions like the ones we will create in this tutorial, choosing either option will have
the same effect upon the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Tutorial - Transfer Chute
Note: Since there is no geometry displacement in this tutorial, we will cover the Motion Preview window
in later tutorials.
To set a Translation motion, you must either align the Frame with the movement direction, or provide
the velocity components.
Velocity = 2 m/s
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, right-click Motion Frames, and then select Create Motion Frame.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Tutorial - Transfer Chute
From the Data panel, select Frame <01> and then from the Data Editors panel, define (as shown):
• Angle
3. To create a new motion using this Frame, click the green plus button (Add Motion). A Translation
motion is added by default.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Motion Frames entity, create another new Frame and then define (as shown):
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Tutorial - Transfer Chute
This motion will be defined using the velocity components based on the global reference Frame so
the Relative Position, Relative Rotation Vector, and Rotation Angle must not be changed.
2. To create a new motion using this Frame, click the green plus button (Add Motion).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Once both the Motion Frames have been created, they can be assigned to their respective geometries.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Tutorial - Transfer Chute
2. From the Data Editors panel, on the Wall tab, select Feed Conveyor Motion from the Motion
Frame drop-down list (as shown).
3. Repeat the same steps for the receiving conveyor 1 geometry, using the Receiving Conveyor
Motion Frame (as shown).
Note:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For this tutorial, default values for the three default Solid Materials will be used.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
Tutorial - Transfer Chute
Once all the Materials have been defined, they must be assigned to the walls and particles.
By default, Rocky always assigns the material Default Boundary to any imported wall. Because three
of our imported walls are actually conveyor belts, we want to be sure to change the materials for
those components.
2. From the Data Editors panel, on the Wall tab, select Default Belt from the Material drop-down
list (as shown).
3. Repeat these steps for the receiving conveyor 1 and receiving conveyor 2 geometries.
In this simulation we have 3 solid materials: one for particles, one for belts, and another for walls.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For every pair of materials in contact, a set of material interaction properties must be defined.
Since only particles will interact with each material, we need to define 3 pairs of interactions:
• Particle x Particle
• Particle x Belt
• Particle x Boundary
1. From the Data panel, click Materials. The Data Editors panel then displays the editable parameters
under the Materials Interactions tab.
2. From the left drop-down list, select Default Particles, and from the right drop-down list, select
one of its pairs: Default Particles, Default Boundary, or Default Belt.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
Tutorial - Transfer Chute
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
Tutorial - Transfer Chute
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, right-click Particles and then select Create Particle. With this, a new Particle
<01> entity will appear.
3. From the Data Editors panel, on the Size sub-tab, define Size.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
Tutorial - Transfer Chute
Note: The geometric center and center of mass coincide for homogeneous particle, and only the first one
can be seen (as shown).
You can close or minimize this window to get back to the 3D View 01 window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
Tutorial - Transfer Chute
• Particle Inlet: Releases particles in a continuous stream from the surface (or Feed Conveyor) that
you select. It is also possible to inject fluid (SPH elements).
• Particle Custom Inlet: Releases particles in user defined positions, sizes, times, velocities, temper-
atures and orientations through a .csv, .xls, .xlsx, .xlsm or .odf file.
• Fluid Inlet: Similar to Particle Inlet but for SPH elements instead of Particles.
• Volumetric Inlet: Fills a spherical region with closely packed particles or a prismatic region with
SPH elements.
• Outlet: Defines an Exit Point for fluid or particles to get out of the simulation and allows to define
prescribed pressure.
1. Right-click Inlets and Outlets in the Data panel and then select Create Particle Inlet.
3. From the Data Editors panel, select Inlet Surface from the Entry Point drop-down list.
4. From the Particles sub-tab, click the Add button to add a new particle mass flow rate row and
then from the Particle drop-down list, select Particle 01.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Prior to processing your simulation, you can use the Inlets and Outlets Info tab to review how many
particles Rocky expects to simulate*.
When viewed from the main Inlets and Outlets entity, you can see an estimate for the entire simu-
lation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
Tutorial - Transfer Chute
When viewed from an individual Inlet, you can see an estimate for only that entity's particle contri-
bution.
*These estimates take into account the release times defined for each Input and the Simulation Duration
defined in the Solver step, which is shown on the next slide.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
Tutorial - Transfer Chute
• Simulation Duration: The total amount of real time that you want the simulation to run.
• Output Settings | Time Interval: Time intervals during which you want your output files to be
saved.
• Output Settings | Resume Data Frequency: Frequency of the data you want to save that allows
you to resume the simulation from.
• Output Settings | Solver Curves Frequency: Number of results for Curves in each output.
• Breakage | Delay After Release: Time delay after a particle has been released before starting to
calculate particle breakage.
• Wear | Geometry Update Interval: Amount of time between wear geometry updates.
1. From the Data panel, click Solver, and then from the Data Editors panel, select the Solver | Time
tab. Define Simulation Duration.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the General sub-tab, select what you want (CPU or GPU(s)) for Simulation Target, and then
the Number of Processors (or Target GPU(s)). For this tutorial, CPU will be faster due to the low
particle count.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
Tutorial - Transfer Chute
Note: After defining Solver options, it is also possible to begin processing using the button from the
Simulation Toolbar.
Once you click Start, the Simulation Summary window will appear. It shows the geometry bounds,
enabled models (wear, breakage, non-round particles), number of particles and triangles, and the
calculated Timestep Duration.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
At the bottom of the screen, you can see the progress bar, the Stop button (to stop the solver), the
Refresh button (to visualize the results up to the last solved output), and the Auto Refresh option
(to automatically update the 3D View for every newly saved output).
1. Either click the Refresh button or select the Auto Refresh checkbox.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
Tutorial - Transfer Chute
1.1.23. SIMULATION
Through a 3D View window, particle states can be viewed in real time.
The speed of the simulation depends upon various factors such as:
• The particle shape and the number of vertices used to define the shape
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
Tutorial - Transfer Chute
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
You can use the Search field to quickly find the topic you are interested in:
1.1.25. CONCLUSION
Rocky was used to set up and process a transfer chute simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
What's Next?
• Now that you understand the basics of setting up and running a Rocky project, you are ready to
move on to Part B and post-process this project.
1.2.1. OBJECTIVES
The purpose of this tutorial is to introduce some basic methods for analyzing a simulation after you
have processed it. We will continue from where we left off in Part A.
• Create an Animation
• Export results
• Time toolbar
• Time plot
• Open Rocky 2025 R1 (Look for Rocky 2025 R1 in the Program Menu or use the desktop shortcut).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
Tutorial - Transfer Chute
• From the Rocky program, click the Open Project button, find the tutorial_01_input_files folder,
and then from the tutorial_01_A_pre-processing folder, open the tutorial_01_pre-pro-
cessing.rocky file.
• Process the simulation. (From the Simulation toolbar, click the Start button.)
• Go to first output
• Go to last output
(4) Slide to the output you want using the slider bar.
(5) Use the Timeset Filter to display only a specified time range.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Use the Coloring service toolbar to color all the geometries/particles by a property:
• From the Data panel, select either a wall under Geometries or the main Particles entity.
• From the Data Editors panel, select the Coloring tab, expand Faces (for boundaries) or Nodes
(for particles) and then select the desired property to color. This way, only the selected item will
be colored (not all of them as with the other options).
Use the Properties tab by dragging and dropping the desired property over a 3D View window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
Tutorial - Transfer Chute
1. From the Data panel, select Particles and then from the Data Editors panel, select the Properties
tab.
2. Select Absolute Translational Velocity and then drag and drop it onto the 3D View window.
3. You can then use your mouse to zoom and pan, and use your mouse or the options on the Fit
toolbar (as shown) to change the orientation.
1.2.5. ANIMATION
To create an animation (video) in Rocky, you set key frames of a particular 3D View window at specified
outputs.
Rocky will interpolate between the created key frames using the available outputs saved during the
simulation.
1. To show the Animation panel, from the Tools menu, select Animation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
(1) Frames per Second (FPS) will change the playback speed of the animation. At least 30 FPS is re-
commended. To create a smooth animation, the Time Interval should not be greater than 1/FPS.
(4) Add Key Frame / Remove Key Frame / Update Current Key Frame / Remove All Key Frames / Play
/ Stop / Export (video or images).
(5) Number of frames between the selected Key Frame and the next one. The Number of Frames di-
vided by the FPS gives the real animation time. This value can be changed to display the animation
in real time.
(7) Move the selected Key Frame Up or Down to change the order.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
Tutorial - Transfer Chute
1. We will start by removing the Bounding Box from the 3D View, so it won't appear in the animation.
Right-click the 3D View and disable Bounding Box.
2. Since we use an Time Interval of 0.05 s, we should use an FPS of 20 or less (FPS should be less
or equal 1/Time Interval). Use FPS equal to 20.
3. Select the 3D View you set up earlier. Then, using the Time toolbar, change the output to 0 s.
4. Add the first Key Frame by clicking the Add Key Frame (green plus) button.
5. Select the new frame and then from the Frame tab, change the Number of Frames to 260 (as
shown). Since there are 260 output files in this simulation, and our FPS is 20, this will give us the
full 13 seconds between our first and second frames. (260 / 20 = 13)
6. Use the Time toolbar to change the time to the last output, and add a second Key Frame.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
In order to create a Time Plot or a Multi Time Plot, you must select one of the following operations
to transform the Properties into a single time-dependent curve:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
Tutorial - Transfer Chute
Particles and Solver each contain a Curves tab, which includes several pre-defined curves that can
be plotted without applying any additional operations.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
In this tutorial we will compare the amount of particles that entered the domain (Particles In Count),
left the domain (Particles Out Count), and the total amount of particles inside the domain (Particle
Count) at each output.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
Tutorial - Transfer Chute
1. From the Windows panel (if not visible, point to View, and click on Windows), select New Multi
Time Plot, or use the shortcut Ctrl+M (as shown).
2. From the Data panel, select Particles and then from the Data Editors panel, select the Curves
tab.
3. From the Curves tab, drag and drop Particles In Count over the plot window. Repeat the same
procedure for Particles Out Count.
4. To plot the total number of particles in a separate subplot, click and hold Particles Count, and
then with the Ctrl key pressed, drag and drop the curve over the plot.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
5. In the top left corner of the plot, you can select Configure Window to edit text display, colors,
axes limits, units and other related options.
Rocky User Processes are used to divide and analyze Particles, Geometries, and Fluids and include
the following types:
• Polyhedron (Envelope): Create a subset of data based upon a custom shape region that you import
via .stl file.
• Property: Create a subset of particles/geometry based upon a particular property value or range.
• Particles Trajectory: Create the particles` path lines for a specified time range.
• Particle Time Selection: Create a subset of particles based upon a time filter.
• Eulerian Statistics: Transform the discrete properties into continuous values by averaging the
values over discretized regions.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
Tutorial - Transfer Chute
To illustrate the use of these tools, a Cube and a Plane User Process will be used to analyze the
mass unbalance on the receiving conveyor.
One Cube and two Planes will be used: the Cube to isolate the receiving conveyor and the Planes
to divide those particles into two subsets: left (orange) and right (green).
1. From the Data panel, right-click Particles, point to Processes, and then select Cube.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
2. From the Data Editors panel, in the Cube tab, use the values shown in the image for Center,
Magnitude, Method, and Rotation.
4. From the Coloring tab, select Solid Color as Nodes | Property, and ensure the Node color is set
to red and the Visible checkbox is selected.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 83
Tutorial - Transfer Chute
Note: User Processes can be manually changed using the 3D View, or adjusted using the parameters
displayed in the Data Editors panel. For this tutorial, we defined exact parameters in the Data Editors
panel.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
84 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Once the cube has been created, the subset of particles inside this region can be used to create
specific plots, new properties and also to create new subsets derived from it.
In this tutorial, we want to divide only the particles on the conveyor (envolved by Cube <01>), into
two sets: left and right. In order to do that, two Planes will be created based upon the Cube sub-
selection of Particles.
2. From the Data Editors panel, select the Plane tab and then define the Name, Plane Origin and
Orientation values (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 85
Tutorial - Transfer Chute
3. From the Coloring tab, set also the Node color to orange.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
86 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
When a User Process is selected in the Data panel, Rocky highlights the association between it and
other User Processes by displaying the parent User Process name in Bold.
For example, when you select Cube <01>, Particles will be displayed in bold letters. And when you
select the Left plane, Cube <01> will be bold.
The second Plane is exactly the opposite of the previous, so we will create a copy of it:
1. From the Data panel, right-click Left and then select Duplicate.
2. From the Data Editors panel, select the Plane tab and then modify the Name and Plane Orientation
| Angle value.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 87
Tutorial - Transfer Chute
3. From the Coloring tab, set also the Node color to green.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
88 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Tip: You can visualize the planes in the 3D View window by ensuring that the eye icons for Left and Right
are turned on.
The next step is to create a Time Plot comparing the unbalance between both sides of the conveyor.
1. Similar to the Multi Time Plot, create a Time Plot by selecting New Time Plot from the Windows
panel, or by using the shortcut Ctrl+T.
3. From the Data Editors panel, select the Properties tab, and then drag and drop Particle Mass
over the plot.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 89
Tutorial - Transfer Chute
Note: Properties will either be Instantaneous or will have resulted from a Statistical analysis. This cat-
egorization will be shown in the Evaluation column.
4. A new dialog will be displayed asking which operation you want to apply to the properties to turn
it into a curve. Select only Sum, and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
90 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. To export an image of the plot, right-click an empty area within it, point to Export, and then click
Image.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 91
Tutorial - Transfer Chute
2. From the Image dialog, choose the Snapshot Size, and then click OK.
3. From the Snapshot dialog, set a File name, Save as type image extension, and location for your
file, and then click Save.
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click the User
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
92 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1.2.17. CONCLUSION
Rocky was used to study a transfer chute design.
What's Next?
Now that you understand the basics of setting up and running a Rocky project, you are ready to
move on to next tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 93
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
94 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2: Tutorial - Static Angle of Repose Test
• (Part A) Set up and run a SAOR test case using a cylinder and tray.
• (Part B) Calculate the resulting SAOR using two methods: manually using Cross Plots and automatically
using a Python script.
• (Part C) Study how the SAOR behaves with different particle-to-particle static and dynamic friction
values by running multiple cases in the Rocky Scheduler.
2.1.1. OBJECTIVES
The purpose of this tutorial is to run a Static Angle of Repose (SAOR) test case with different material
and interaction parameters in order to validate the DEM coefficients for future simulations.
• Volumetric Inlet
Important:
Even though this tutorial involves running only one SAOR test, other simulations must be
done in order to calibrate the particle model in full.
2.1.2. PREREQUISITES
• This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
• If this is not the case, please refer to Tutorial 01 - Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 95
Tutorial - Static Angle of Repose Test
2.1.3. GEOMETRY
• Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop shortcut.)
• From the Rocky program, click the New Project button, or from the File menu, click New Project
(Ctrl+N).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
96 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 97
Tutorial - Static Angle of Repose Test
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
98 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, select the Momentum sub-tab, and then define all of the following:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 99
Tutorial - Static Angle of Repose Test
Important:
Lowering the softening factor may cause excessive overlaps between particles and
between particles and boundaries.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
100 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, right-click Geometries and then click Import Wall.
2. From the Select file to import dialog, navigate to the dem_tut02_files folder that you previously
downloaded, find the geometry folder, and then while pressing either the Ctrl or Shift key, multi-
select all of the following files, and then click Open:
• Container_Cylinder.stl
• Upper_Tray.stl
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 101
Tutorial - Static Angle of Repose Test
3. (Save your project now if you have not already done so.)
4. From the Import File Info dialog, select "mm" as Import Unit, ensure that the option Convert Y
and Z axes is cleared (unchecked), and then click OK (as shown).
1. Drag and drop the Geometries entity from the Data panel onto the Workspace. A new 3D View
window appears showing the geometries that you imported.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
102 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• Initial and Final Velocity: The velocity at the Start Time and at the Stop Time will be defined in
the local coordinates and the Acceleration will be calculated.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 103
Tutorial - Static Angle of Repose Test
• Initial Velocity and Acceleration: With the Stop Time fixed, the velocity at the Start Time and
the Acceleration will be defined in the local coordinates and the velocity at the Final Velocity will
be calculated.
Note:
The following procedures include step-by-step directions on how to create the motion
frame.
1. From the Data panel, right-click Motion Frames, and then select Create Motion Frame.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
104 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data panel, under Motion Frames, select the newly added Frame <01> entry.
3. From the Data Editors panel, on the Frame tab, define the parameters as shown on the next
section.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 105
Tutorial - Static Angle of Repose Test
Tip:
To display more of the panel, you can drag and drop it by its header, double click it or
click the blue button to make it float. This can facilitate the visualization of the fields.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
106 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• In order to settle the particles inside the cylinder before it rises, we want this motion to have
a slight delay. So define the Start Time, Stop Time and Velocity.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 107
Tutorial - Static Angle of Repose Test
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
108 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, on the Wall tab, from the Motion Frame drop-down list, select
Container Cylinder Motion (as shown).
2. From the Data Editors panel, click Preview (as shown). A new window will appear showing the
geometry and the created Frame.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 109
Tutorial - Static Angle of Repose Test
Tip:
You can define the axes size for better visualization with the Default axes size parameter.
The Time toolbar can be used to play the preview. The yellow color of the slider indicates that the
simulation has not yet been processed.
1. From the Data panel, under Materials select Default Boundary and then from the Data Editors
panel, change the following: Density and Young's Modulus.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
110 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data panel, under Materials select Default Particles and then from the Data Editors
panel, change the following: Bulk Density.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 111
Tutorial - Static Angle of Repose Test
1. Select Materials Interactions from the Data panel. The Data Editors panel then displays the
editable parameters.
2. From the left drop-down list, select Default Particles, and from the right drop-down list, select
one of these pairs: Default Boundary or Default Particles.
3. Adjust the parameters for each pair combination according to the values shown as follows:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
112 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 113
Tutorial - Static Angle of Repose Test
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
114 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, right-click Particles and then select Create Particle. A new particle group
is created under Particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 115
Tutorial - Static Angle of Repose Test
2. Select the newly created Particle <01> entry, and then from the Data Editors panel, modify the
parameters as specified on the following steps.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
116 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
5. To visualize the new particle, click View. A new Particle Details window will appear showing you
the (transparent) particle geometry, its geometric center (yellow dot), and its center of mass (blue
dot).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 117
Tutorial - Static Angle of Repose Test
Note:
The geometric center and center of mass coincide when the density is uniform
throughout the particle (as shown).
When compared with the original Particle Inlet method (used in Tutorial 01), using Volumetric Inlet
has the primary benefit of ensuring that the particle bed will already be formed in the cylinder at the
start of the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
118 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
When defining a Volumetric Inlet input, it is important to understand the following components:
• Seed Coordinate: Location of a point around which layers of particles are built.
• Gap Scale Factor: How closely the particles are to each other when they build around the Seed
Coordinate.
• Mass: The target mass of particles that you want to be built around the Seed Coordinate.
• Bounds : Defines the physical limits by which the particle layers will be constrained. Specifically:
– The limits must include Box Bounds, which can be defined manually using coordinates, or can
be automatically calculated by Rocky using the limits of one or more Geometries that you select.
– The limits may also include the walls of one or more Geometries within your simulation.
• Time: The Time sub-tab contains optional time settings for Volumetric Inlets that can improve your
simulation project:
– Injection Time: Set the simulation time at which the particle injection occurs.
– Periodic: When enabled, Periodic allows for a periodic injection of particles into the simula-
tion. Period Time defines the period duration and Stop Time defines the simulation time
when periodic injection stops.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 119
Tutorial - Static Angle of Repose Test
1. From the Data panel, right-click Inlets and Outlets and then select Create Volumetric Inlet. A
new Volumetric Inlet <01> entry is created under Inlets and Outlets.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
120 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. Select the newly created Volumetric Inlet <01> entry, and then from the Data Editors panel,
modify the parameters as specified below:
• From the Particles sub-tab, click the Add button (green plus) to create an entry row.
• Select the Particle <01> group name from the drop down list and then define the Mass in
kilograms (as shown).
• Leave the Gap Scale Factor as 1 (default) so that the particles are injected as closely together
as possible.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 121
Tutorial - Static Angle of Repose Test
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
122 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
You can visualize the Seed Point you configured in the previous step in a 3D View window.
Since the Seed Coordinates were set to be inside the cylinder, we first have to enable its Transparency
to be able to see the Seed Point.
1. From the Workspace, select a 3D View window (or create a new one).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 123
Tutorial - Static Angle of Repose Test
3. From the Data Editors panel, select the Coloring tab and then enable the Transparency checkbox.
4. From the Data panel, hide Particles and reselect the Volumetric Inlet <01>.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
124 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
You can now visualize the Seed Point (blue dot) and geometry bounds (white box) in the 3D View
window.
1. From the Data panel, click Solver and then from the Data Editors panel, ensure that the Solver
tab is selected.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 125
Tutorial - Static Angle of Repose Test
3. From the General sub-tab, select CPU (or GPU/Multi GPU) as Simulation Target, and then set
the Number of Processors (or Target GPU(s)). For this tutorial, CPU will be faster due to the low
particle count.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
126 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Once you click Start, the Simulation Summary window will be displayed.
Tip:
You can also review this information from the Solver | Summary tab.
2.1.22. SIMULATION
To visualize the simulation as it's processing:
2. Click the Refresh button (or use the Auto Refresh checkbox).
The speed of the simulation depends upon various factors such as:
• The particle shape and the number of vertices used to define the shape
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 127
Tutorial - Static Angle of Repose Test
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
128 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
2.1.24. CONCLUSION
Rocky was used to set up and process a simulation of a static angle of repose (SAOR) test.
Note:
Even though this tutorial involves running only one SAOR test, other simulations must be
done in order to calibrate the particle model in full.
What's Next?
• Now that you have set up and processed this simulation, you are ready to move on to Part B and
post-process this project.
2.2.1. OBJECTIVES
The purpose of this tutorial is to calculate the Static Angle of Repose (SAOR) using two methods:
manually using Cross Plots and automatically using a Python script.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 129
Tutorial - Static Angle of Repose Test
Important:
Even though this tutorial involves running only one SAOR test, other simulations must be
done in order to calibrate the particle model in full.
c. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop
shortcut.)
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut02_files folder,
then from the tutorial_02_pre-processing folder, open the tutorial_02_pre-processing.rocky
file.
e. Process the simulation. (From the Simulation toolbar, click the Start button.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
130 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
In this method, the Static Repose Angles (green lines) will be calculated manually by following these
steps:
In this tutorial, we will use a Cross Plot to see the projection of the particles pile in the XY plane. In
order to do that, the Particle Y-Coordinate will be plotted against the Particle X-Coordinate.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 131
Tutorial - Static Angle of Repose Test
1. From the Window menu, click New Cross Plot, or use the shortcut Ctrl+R.
2. From the Data panel, select Particles and then from the Data Editors panel, select the Properties
tab.
3. Click and drag Coordinate: Y over the plot window and then release.
4. From the Select Source Curves window that appears, select Coordinate: X from the Domain
drop-down list, and then click OK.
Unlike the (Multi) Time Plot, which shows a single value per output for all the Particles, the Cross
Plot shows all the Particles' values, but for only a single Output.
You can choose what instant to analyze using the Time toolbar.
Cross Plot
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
132 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
• Export and Copy: Copy the plot or data; save the plot as a .png, .bmp or .jpg image file; or save
a .csv data file.
• Canvas Background: Change the plot area color and display/hide grid lines.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 133
Tutorial - Static Angle of Repose Test
• Curve Colors: Select curves coloring method: one color for each curve (Unique), identical colors
for the same curves in the same or different entities (Particles/Geometries/Processes) (Property
Based), or identical colors for the same or different curves in the same entities (Entity Based).
• Axes Colors: Enable/disable the axis coloring according to the curve color.
• Axes Layout: Toggle between independent axes for each curve (By Property), or a single axis for
the same units (By Quantity).
• Time Mark: Enable/disable the vertical dotted line synchronized with the selected instant in the
Time toolbar.
1. Right-click the cross plot view and then select Settings. (Or in the top left corner of the plot, select
the Configure Window icon.)
2. In the Window Editors panel, select the Axes tab, and then under Axis, multi-select both proper-
ties.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
134 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
4. Set the value for Min, Max and Step for the two separate axes as shown below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 135
Tutorial - Static Angle of Repose Test
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
136 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 137
Tutorial - Static Angle of Repose Test
Note:
The values you end up with in your project may vary slightly from the ones shown in this
tutorial.
– SAOR=atan(0.155/0.220) ~ 35.2°
– SAOR=atan(0.150/0.160) ~ 43.1°
Although these values were measured using the cross plot's axis scale, they can be measured using
the mouse. To do that, hold the Shift key and then click the plot to show the cursor's value.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
138 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
Important:
The provided script was designed for cases with higher particle counts than what was
simplified for this tutorial. As a result, tutorial results may vary significantly.
In this method, the Static Angle of Repose (SAOR) will be calculated using the following steps:
• At a given output, a parallelepiped slice is divided into N vertical cells and placed at the pile center
(as shown).
• Then, the parallelepiped slice is rotated 10 degrees around the vertical axis (Y-direction), and the
maximum height of each cell is collected again. This step is repeated 36 times.
• Using the average of the collected maximum heights for each cell, a regression line is created and
the Static Angle of Repose is calculated.
• Within Rocky, you can record Scripts of the exact steps you take in the user interface.
• Outside of Rocky, you can write Scripts using the Python programming language that makes use
of the PrePost Scripting.
Although they are generated in different ways, both methods can be played (executed) in the PrePost
Script panel.
1. To start, show the PrePost Script panel by selecting it from the Tools menu.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 139
Tutorial - Static Angle of Repose Test
• (1) Scripts shared across projects: Lists the scripts that can be used for any Rocky project.
• (2) Project scripts: Lists the scripts that can be used for this project only.
• (3) Lists all available scripts that are saved in the default folder for the selected tab.
• (4) Record Script: Creates a script by recording the commands you execute manually in the user
interface.
• (6) Open PrePost Scripts Directory: Based upon the selected tab, opens the default folder where
scripts are saved.
• (7) Reload PrePost Scripts from the Filesystem: Refreshes the available scripts list based upon
the default folder for the selected tab.
Tip:
More PrePost Script panel content is available in the User Manual. (From the Help menu,
point to Manuals, and then click User Manual.)
The Scripts shared across projects tab of the PrePost Script panel will show all the scripts you have
saved in Rocky's default folder: %HOMEPATH%DocumentsRockyScripts.
Now, let's add the provided script to this panel and run it:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
140 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
2. Click the Open Scripts Directory button. This should take you to the Scripts folder listed above.
3. From dem_tut02_files folder you downloaded earlier, find the script folder and then copy and
paste the provided script script_calibration_SAOR.py to the folder you just opened.
Note:
The Static Angle of Repose script available in this Rocky Tutorial is only an example.
To see all necessary information about the Calibration Suite and the SAOR script: from
the Ansys Rocky Software, click Help, point to Ready-to-use Scripts and click Scripts
Manual.
4. The new script will appear in the PrePost Scripts panel on the Scripts shared across projects
tab (as shown).
5. With this new script selected, click the Playback Script button (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 141
Tutorial - Static Angle of Repose Test
The dashed regression lines are used to compute the SAOR of the pile.
The black dots represent the average of the maximum heights for each vertical cell.
The dark red area represents the minimum of the maximum heights for each vertical cell.
The light red area represents the maximum of the maximum heights for each vertical cell.
Note:
This script was designed for cases with higher particle counts than what was simplified for
this tutorial. As a result, your tutorial results may vary significantly.
• experiment_data_points.csv: File containing the points used for fitting the lines.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
142 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
• Further information about this calibration test or other available calibration tests can be found in
the Rocky Calibration Suite page.
As previously shown, the SAOR is calculated from the result of two linear regressions, one starting
from the bottom of the pile and another one starting from the top of the pile.
Both linear regressions are performed initially with minimum number of points. Then, more points
are iteratively added to the regressions until certain conditions are fulfilled. Such details are explained
in the Calibration 1: Static Angle of Repose documentation.
The more particles you have, the better your results will be and the closer will be the SAOR calculated
From Top to the one calculated From Bottom.
Tip:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 143
Tutorial - Static Angle of Repose Test
The Material Wizard can be used as a time-saving starting point for your calibration process. For
more details access the Material Wizard Page.
Note:
The Static Angle of Repose script available for download and the workflow presented to
modify the script in this Rocky Tutorial are only examples. All information about the Rocky
Calibration Suite and its decks, including the SAOR script, are available in the Scripts
Manual. From the Ansys Rocky Software, click Help, point to Ready-to-use Scripts and
click Scripts Manual.
– Controls the cell size, which is defined by N_DIVISIONS_FACTOR Particle Size. As a consequence,
the higher the factor, the bigger the cell size.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
144 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
– For each SAOR calculation, this defines the number of times the parallelepiped rotates and collects
the maximum height.
– The default value is 36, which rotates the parallelepiped 10 degrees for each collection.
– Increasing this number (thereby reducing the angle of rotation) will give you more points to
average.
1. From the PrePost Script panel, from the Scripts shared across projects tab, click the Open
PrePost Scripts Directory button.
2. From the directory dialog, right-click the script file you want to edit, and then open it with your
favorite Python editor. (For example, Visual Studio Code.)
Important:
In order for Rocky to recognize it, the script file name must begin with script_.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 145
Tutorial - Static Angle of Repose Test
To access it, from the Rocky Help menu, point to Ready-to-use Scripts, and then click Scripts
Manual.
From the Rocky Scripts Manual you can find information about the Coating Visibility Wizard, Ma-
terial Wizard, General Scripts, and the focus of this Tutorial, the Calibration Suite.
To access it, from the Rocky Help menu, point to Manuals, and then click PrePost Scripting
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
146 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing with Scripts
To see the list of classes and methods available for scripting, navigate through the Class Reference
section.
Tip:
Additional classes and methods for scripting are available in the Rocky code. To access
these, from the Rocky Tools menu, enable the Python Shell panel.
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access these options, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 147
Tutorial - Static Angle of Repose Test
2.2.19. CONCLUSION
Rocky was used to verify the repose profile of particles in order to calculate the Static Angle of Repose.
Note:
Even though this tutorial involves running only one SAOR test, other simulations must be
done in order to calibrate the particle model in full.
• Use the PrePost Script panel to run a Python script that measured the angles automatically
• Find and make use of the PrePost Scripting Manual for modifying Python scripts
What's Next?
• Now that you understand the basics on how to set up a script, you are ready to move on to Part
C and learn about PrePost Scripts and the Rocky Scheduler.
2.3.1. OBJECTIVES
The purpose of this tutorial is to study how the Static Angle of Repose (SAOR) behaves using different
Static and Dynamic Frictions for the particle-particle interactions.
Note:
• Input Variables
• PrePost Scripts
• Materials Interactions
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
148 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
2.3.2. PROJECT
1. If you completed either Part A or Part B of this tutorial, ensure that one of those Rocky projects
are open. (Part C can continue from where either of these parts left off.)
2. If you did not complete Part A nor Part B, ensure that you have downloaded and extracted the
dem_tut02_files folder, and then open the tutorial_02_pre-processing.rocky project.
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or later.
If you have an earlier version of Rocky, please upgrade Rocky to the latest version, or
complete the setup portion of Part A from scratch.
Note:
You do not need to process the simulation for this particular tutorial.
To do this without losing the prior simulation's results, we will create multiple, similar projects and
change only the two friction values in the new ones.
To avoid recreating these new projects from scratch, we will create a copy of the current project's
setup parameters, and specifically NOT copy its results.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 149
Tutorial - Static Angle of Repose Test
2. From the Save Options dialog, click Save as a New Project WITHOUT copying Simulation
Results, and then click OK.
We want to save the project in another folder so the current Results folder won't be rewritten by
the newly created project results.
We also want to name this new file in a specific way so that it is easier to track multiple copies later.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
150 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
1. From the Save File window, create a new folder named friction_03 in the same location as the
original project (as shown).
3. Enter tutorial_02_friction_03.rocky for the File name, and then click Save.
For Input variables, you can enter into the parameter text fields a variable name on its own.
In this way, you can create dynamic relationships between parameters, and then change and update
placeholder values quickly.
1. First, enable the Expressions/Variables panel by selecting it from the Tools menu.
2. From the Expressions/Variables panel, ensure the Input tab is selected, and then click the Add
button.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 151
Tutorial - Static Angle of Repose Test
3. From the Variable Name dialog, set the Variable Name as ff (as shown), and then click OK.
4. From the entry row that was added, double-click the Value, and then set it to 0.3 (as shown).
1. From the Data panel, click Materials. From the Data Editors panel, select Materials Interactions
tab. The editable parameters are displayed.
2. From the left drop-down list, select Default Particles, and from the right drop-down list, select
Default Particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
152 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
When you click away from this field, the Static Friction field will show the value you set for the
ff variable (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 153
Tutorial - Static Angle of Repose Test
Whenever you use an Input Variable to define a parameter, the Expressions/Variables panel lists
which variables were used for which parameters (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
154 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
To do so, we must save it in the Project scripts tab, and then define it as a Post Script:
• Scripts saved to the Project scripts tab are eligible for running automatically in two ways:
• This is done through the PrePost Script sub-entity on the Data panel under the Solver entity (as
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 155
Tutorial - Static Angle of Repose Test
In this way, you can further automate your setup and post-processing tasks, especially when running
many similar kinds of cases.
1. Ensure the PrePost Scripts panel is still shown. (From the Tools menu, select PrePost Scripts.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
156 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
2. From the PrePost Scripts panel, select the Project scripts tab and then click the Open Scripts
Directory button (as shown).
3. From the dem_tut02_files folder you downloaded earlier, find the script folder, and then copy
and paste the provided script script_calibration_SAOR.py into the directory you just opened.
The new script will appear in the PrePost Script panel on the Project scripts tab (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 157
Tutorial - Static Angle of Repose Test
1. From the Data panel, expand the Solver entity and then select PrePost Scripts.
2. From the Data Editors panel, within the Run after simulation list, enable the Calibration 1:
SAOR checkbox (as shown).
We already have the first copy defined (tutorial_02_friction_03.rocky), so let's now use it to create
two more project copies.
1. In the same root folder where you saved your original project, create another new folder named
friction_05.
3. From the Save File dialog, find and open the new folder you just created, enter the File name
as tutorial_02_friction_05.rocky, and then click Save.
4. From within this new copy, change Input Variable ff to 0.5 (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
158 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
6. Repeat this process to create another folder called Friction_09 containing another project copy
named tutorial_02_friction_09.rockywith both friction values (ff) changed to 0.9. (Remember
to save your changes.)
• You should now have the following three additional cases saved:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 159
Tutorial - Static Angle of Repose Test
We will now evaluate how the Angles of Repose behave in these cases.
• For the original case we analyzed in Part B, we already have the Angles of Repose results.
– If you did not complete Part B, you can review the results in the original_case_results folder,
inside the dem_tut02_files you extracted previously.
• We will get the results for these three new cases by running them through the Rocky Scheduler.
In this way, several cases can be run automatically without your constant involvement.
Each Resource used will require one instance of the Rocky solver for processing.
Therefore, you are limited by your Rocky license as to how many Jobs you can process at once.
• Most users have a single-instance Rocky license and can therefore process only one job at a time.
• Only those users with unnumbered Rocky licenses can process many jobs at the same time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
160 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
For this tutorial, we will add only one CPU resource and run the jobs sequentially.
1. To set up the Scheduler, from the Resources section, click the Add Resource (green plus) button.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 161
Tutorial - Static Angle of Repose Test
• The Add Resource dialog appears with a Resource Type list that shows all the resources
available on your computer (as shown).
2. From the Add Resource dialog, set the Resource Type to CPU, enter the Caption and Number
of Processors (as shown), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
162 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
1. From the Jobs section, click the Add Job (green plus) button (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 163
Tutorial - Static Angle of Repose Test
2. From the Choose Rocky project files dialog, select the tutorial_02_friction_03.rocky project
we created previously, and then click Open.
1. Multi-select all three jobs. (Hold the Shift or Ctrl key and then click each job to select it).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
164 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
2. While holding the Shift key, double-click the last selected of the three Click to assign resources
bars (as shown).
3. From the Assign Resources dialog, enable the Main Resource checkbox, and then click OK (as
shown).
All three jobs should now list the same Resource (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 165
Tutorial - Static Angle of Repose Test
The first job in the list begins processing. You can view the Progress column to see the processing
status and percentage complete.
• RUNNING shows when the file is currently being processed (as shown).
• QUEUED shows if the file is not currently processing but will once the resource is available.
• PAUSED shows when the file has been partially run but isn't processing currently.
Tip:
To filter the Jobs list by progress type, click the button you want from the Show list (as
shown). To turn off a filter, click the same button again.
2.3.11. RESULTS
After all three jobs are done processing, all three Progress columns show FINISHED 100% and you
will see that the Results folders were created inside of each of the created project folders.
Inside each folder there will be two files: angles.json and experiment_data_points.csv.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
166 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
Note:
When using the Scheduler, the figures are not generated. If you want to generate the figures,
you must open each project in Rocky and run the script again.
From the values provided in the four .json files, a graph can be built outside of Rocky (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 167
Tutorial - Static Angle of Repose Test
Note:
• For sake of simplicity, the particle count of this tutorial was reduced.
• Thus, the angle values you end up with in your real-world projects may vary significantly
from the ones shown in this tutorial.
• This is because the angles of repose calculations are very sensitive to the system resolu-
tion (proportion between the particle size and the cylinder size).
• In order to achieve more accurate results you should increase particle count (reduce the
particle size or increase the cylinder size).
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click the User
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
168 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Batch-Processing
2.3.13. CONCLUSION
The Rocky Scheduler was used to run multiple projects and analyze how the SAOR values vary when
different particle-particle Dynamic and Static Frictions are used.
Note:
Other simulations must be completed in order to calibrate the particle model in full.
• Save the project without results to create a copy of just the setup parameters.
• Add a Project Script and then use PrePost Scripts to run it automatically after processing completes.
What's Next?
• If you completed this tutorial successfully, then you are ready to move onto the next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 169
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
170 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 3: Tutorial - Vibrating Screen
(Part A) Learn how to define vibration motions for a vibrating screen.
(Part B) Analyze the screening efficiency of a vibrating screen using User Processes, custom Curves, and
Time Plot functions.
(Part C) Learn how to make optimization analysis via optiSLang for the screening efficiency of a vibrating
screen.
3.1.1. OBJECTIVES
The main purpose of this tutorial is to learn how to define vibration motions for a vibrating screen.
• Motion Frames
3.1.2. PREREQUISITES
This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
• If this is not the case, please refer to Tutorial 01 – Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 171
Tutorial - Vibrating Screen
3.1.3. GEOMETRY
• Vibrating Screen
3. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in your Program Menu or use the desktop shortcut.)
4. From the Rocky program, click the New Project button, or from the File menu, click New Project
(Ctrl+N).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
172 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, edit the parameters (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 173
Tutorial - Vibrating Screen
Important:
Lowering the numerical softening factor may cause excessive overlaps between particles
and between particles and boundaries.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
174 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, select the Momentum sub-tab, and then set the Rolling Resistance
Model and the Numerical Softening Factor.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 175
Tutorial - Vibrating Screen
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
176 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, right-click Geometries and then click Import Wall.
2. From the Select file to import dialog, navigate to the dem_tut03_files folder that you previously
downloaded, find the geometry folder, select the following file, and then click Open:
• screen.stl
3. (Save your project now if you have not already done so).
4. From the Import File Info dialog, select "mm" as Import Unit, ensure that the option Convert Y
and Z axes is cleared, and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 177
Tutorial - Vibrating Screen
1. Drag and drop the Geometries entity from the Data panel onto the Workspace. A new 3D View
window appears showing the geometries that you imported (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
178 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, right-click Geometries and then click Create Rectangular Surface.
2. Under Geometries, select the newly created Rectangular Surface <01> entry.
3. From the Data Editors panel, on the Rectangular Surface sub-tab, define: Center Coordinates
and Width (as shown).
1. From the Data panel, right-click Geometries and then click Create Rectangular Surface.
2. Under Geometries, select the newly created Rectangular Surface <02> entry.
3. From the Data Editors panel, on the Rectangular Surface sub-tab, define: Center Coordinates
and Width (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 179
Tutorial - Vibrating Screen
For the Motion Frames step, a single-axis Periodic Translation (Vibration) movement (shown in
yellow) will be defined within a Motion Frame and then applied to the screen geometry.
In order to evaluate the separation efficiency of the screen, the following items will be compared:
• Screen Overflow: Particle mass that doesn't make it through the vibrating screen.
• Screen Underflow: Particle mass that makes it through the vibrating screen.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
180 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
When either of these Type of motions are selected, the following options are available:
• Initial Frequency: The number of oscillations per second at the Start Time.
• Initial Amplitude: The maximum displacement in the specified Direction at the Start Time.
• Initial Phase: The point at which the motion begins along the sine wave.
These last three items define the oscillation of the periodic motion, as explained below.
• The Amplitude defines how far the displacement will be, with reference to the original point.
• The Frequency defines how many complete cycles will occur per second.
• The point at which the motion begins along the sine wave is defined by the Initial Phase value.
To help illustrate how these settings work in practice, let's look at some Initial Phase examples.
For a simple linear oscillation, the frame would move in the following manner:
2. Frame moves in the specified direction until it reaches the maximum amplitude
3. Frame reverses the direction past the starting position and continues until it reaches the minimum
amplitude
4. Frame completes the cycle by reversing direction again back to the original position
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 181
Tutorial - Vibrating Screen
Changing the Initial Phase will change the motion start position. A value of 90 degrees moves the
starting point of the sine wave to the maximum amplitude.
1. Frame movement starts its motion at the maximum amplitude along the specified direction
2. Frame reverses the direction, past the starting position and continues until it reaches the minimum
amplitude
3. Frame reverses again to end its cycle at the maximum amplitude position
We also want a constant oscillation so will be setting both our Frequency and Amplitude Variation
to 0.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
182 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. To add a new Motion Frame, from the Data panel, right-click Motion Frames, and then select
Create Motion Frame.
2. To visualize the newly created Frame, click Motion Frames and then in the Data Editors panel,
click Preview. A new window will appear showing the geometry and the created Frame.
You can adjust the Frame axes size by changing the Default axes size parameter.
3. From the Data panel, select the new Frame <01> entry.
4. From the Data Editors panel, select the Frame tab and then define:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 183
Tutorial - Vibrating Screen
5. To create a new motion using this Frame, click the green plus button (Add Motion).
7. Set Initial Frequency and Initial Amplitude as variables for further optimization analysis (Part
C).
Tip:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
184 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Initial Value automatically shows up. Then, you can check (and edit) your variables
values on the Expressions/Variables panel through Input tab.
• Define Initial Frequency as Frequency, click outside the field, and define Initial Value as 15
Hz
• From Menu | Tools, enable the Expressions/Variables panel and check your Variables values
in the Input tab
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 185
Tutorial - Vibrating Screen
Once the Motion Frame has been created, it must be assigned to the screen.
2. From the Data Editors panel, on the Wall tab, select Vibration Motion from the Motion Frame
drop-down list (as shown).
For this tutorial, since the geometry has a motion with displacement assigned, the movement can
be previewed using the Motion Preview window.
The Time toolbar can be used to play the preview. The yellow color of the slider indicates that the
simulation has not yet been processed.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
186 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For this tutorial, keep all the values as default for these Materials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 187
Tutorial - Vibrating Screen
1. From the Data panel, select Materials. From the Data Editors panel, select the Materials Inter-
actions tab.
2. From the Data Editors panel, from the left drop-down list, select Default Particles, and from the
right drop-down list, select one of its pairs: Default Particles or Default Boundary.
3. Leave all values as they were set by default, according to the combinations shown below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
188 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 189
Tutorial - Vibrating Screen
1. From the Data panel, right-click Particles, and then select Create Particle.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
190 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. Select the newly created Particle <01> entry to edit its parameters.
Based on sieve analysis, Rocky uses discrete Size ranges and Cumulative % mass of the particles
smaller than the specified size.
For this tutorial, the PSD shown below is used, where the smallest particle is 0.1 m, and the largest
particle 0.5 m.
From the PSD provided, 50% of the sample mass is below 0.15 m.
1. From the Data Editors panel, in the Size sub-tab, click the Add button (green plus) until you
have five size definition rows.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 191
Tutorial - Vibrating Screen
4. To visualize the newly created particle, click View. A new Particles Details window will appear
showing the (transparent) particle geometry, its geometric center (yellow dot), and its center of
mass (blue dot).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
192 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
The geometric center and center of mass coincide when the density is uniform
throughout the particle.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 193
Tutorial - Vibrating Screen
1. From the Data panel, right-click Inlets and Outlets and then select Create Particle Inlet.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
194 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. Select the newly created Particle Inlet <01> entry and then from the Data Editors panel, modify
the parameters as specified below.
3. From the main Particle Inlet tab, select Rectangular Surface <01> from the Entry Point drop-
down list (as shown).
a. Click the green plus button to add a new particle mass flow rate row.
b. From the Particle column, select the Particle <01> from the drop-down list and then define
the Mass Flow Rate in t/h (as shown).
5. From the Time sub-tab, define the Stop time (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 195
Tutorial - Vibrating Screen
6. From the Data panel, right-click Inlets and Outlets and then select Create Outlet.
7. Select the newly created Outlet <01> entry and then from the Data Editors panel, modify the
parameters as specified below.
8. From the main Outlet tab, select Rectangular Surface <02> from the Exit Point drop-down list
(as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
196 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Doing this will allow Rocky to compute the particles in the Overflow region.
• By default, Rocky automatically creates a domain box based upon the boundary limits of the Geo-
metries.
• Any particle that leaves those limits is eliminated from the simulation (as shown).
• These default settings would not work for the vibrating screen as the particles would be eliminated
before they reached the Overflow area.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 197
Tutorial - Vibrating Screen
2. From the Data Editors panel, clear the Use Boundary Limits checkbox, and then define the Min
and Max Values (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
198 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, click Solver and then from the Data Editors panel, select the Solver tab.
2. From the Time sub-tab, define the: Simulation Duration, and Output Settings: Time Interval.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 199
Tutorial - Vibrating Screen
Tip:
Saving the outputs more frequently will provide a better view of the vibrations.
3. From the General sub-tab, set the Simulation Target and the Number of Processors (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
200 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
For this tutorial in particular, ensure that you set the Number of Processors to 1. This
will ensure the simulation results are consistent for later post-processing.
4. Click Start.
The Simulation Summary screen appears. This window will disappear on its own, then processing
begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 201
Tutorial - Vibrating Screen
Tip:
You can also review this information from the Solver | Summary tab.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
202 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3.1.25. SIMULATION
2. Click the Refresh button (or use the Auto Refresh checkbox) to see the results during processing.
The speed of the simulation depends upon various factors such as:
• The particle shape and the number of vertices used to define the shape
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 203
Tutorial - Vibrating Screen
• This can be seen by observing that many particles did not leave the domain at the end of the
simulation.
1. In order to extend the simulation without losing the results, from the Solver tab, click Extend.
2. From the Extend Simulation window, define the Extend by value (as shown), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
204 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. On the Data Editors panel, from the Solver | Time tab, note that the Simulation Duration has
been updated to show the new total time of 25 s.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 205
Tutorial - Vibrating Screen
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
206 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
This means that we are ready to analyze the results of the simulation.
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 207
Tutorial - Vibrating Screen
3.1.30. CONCLUSION
Rocky was used to set up and process a vibrating screen simulation.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and post-process this project.
3.2.1. OBJECTIVES
The main purpose of this tutorial is to learn how to analyze the screening efficiency of a vibrating
screen using User Processes, custom Curves, and Time Plot functions. We will continue from where
we left off in Part A.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
208 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
– Cube
– Property
• Curves
• Time Plot
• Histogram
3.2.2. PREREQUISITES
This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
• If this is not the case, please refer to Tutorial 01 – Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
2. If you did not complete the project from Part A, do all of the following:
d. From the Rocky program, click the Open Project button, find the tutorial_03_input_files
folder, then from the tutorial_03_A_pre-processing folder, open the tutorial_03_A_pre-
processing.rocky file.
From the Rocky program, click the Open Project button, find the dem_tut03_files folder,
then from the tutorial_03_A_pre-processing folder, open the tutorial_03_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Simulation toolbar, click the Start button.)
3. Once the simulation is finished processing, you are ready to start Part B.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 209
Tutorial - Vibrating Screen
(3.1)
To calculate the necessary variables, the particles must be sampled using the following User Processes:
• Cubes: One to account for the particles that went through the screen (Underflow) and a second
to account for the particles that did not go through the screen (Overflow).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
210 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. From the Data panel, right-click Particles, point to Processes, and then select Cube.
2. From the Data Editors panel, ensure that the Cube tab is selected and then change the Name
to Underflow and use the values shown in the image below to define the Center, Magnitude,
Orientation | Method and Rotation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 211
Tutorial - Vibrating Screen
1. From the Data panel, under User Processes right-click the Underflow User Process, and then
select Duplicate.
2. A new Underflow <01> entry appears with the same values you entered earlier.
3. For this new Cube entry, change the Name to Overflow and use the values shown in the image
for Center and Magnitude (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
212 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
At this point in the tutorial, when you select one of the Cubes in the Data panel, the 3D View should
show the cubes in blue.
To create these size filters, the Filter User Process will be used with the following three processes:
• Undersized in Feed: Created from Particles with a Particle Size filter smaller than 180 mm.
• Oversized in Feed: Created from Particles with a Particle Size filter larger than 180 mm.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 213
Tutorial - Vibrating Screen
• Oversized in Overflow: Created from Overflow with a Particle Size filter larger than 180 mm.
2. For this new entry, change the Name to Undersized in Feed and use the values shown in the
image for Property, Type and Maximum value.
3. For the second Filter, right-click Undersized in Feed in Data panel, and then select Duplicate.
A new Undersized in Feed <01> entry appears with the same values you set earlier.
4. For this new process, change the Name to Oversized in Feed and use the values shown in the
image for Minimum value and Maximum value.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
214 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
5. For the third Filter, right-click Overflow (Cube), point to Processes, and then select Filter. A new
Filter <01> entry appears.
6. For this one, change the Name to Oversized in Overflow and use the values shown in the image
for Filter, Type, Minimum value, and Maximum value.
Please take a moment to verify that each of the three Filter User Processes matches the settings in
the images below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 215
Tutorial - Vibrating Screen
Rocky has two different ways to include the particles that crossed the boundary limits:
• Custom Curves: Curves can be customized in Rocky to include time functions and advanced curves
based upon multiple Properties.
• Particles Time Selection: A time filter can be used to include all the particles that were present
in a specific sample for a given time frame.
For this tutorial, the Custom Curves will be used to calculate the screen efficiency and the Particles
Time Selection will be used to compare the PSD in the Feed and in the Overflow areas.
2. From the Data Editors panel, on the Curves tab, select the Add new custom curve icon (as
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
216 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
3. From the Add new window that appears, enter the Name and Output unit (as shown).
4. Under Inputs, you must select all the curves that will be used to define the new Custom Curve.
In this case, select Particles Mass Flow In, which accounts the mass flow that enters a region at
a given time.
5. Click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 217
Tutorial - Vibrating Screen
The Custom Curves window appears with the new Curve selected.
The function we will use for this Total Mass In curve is the cumsum(), which returns the cumulative
sum of the selected variable over time.
The available Variables are listed below Expression, along with their Association and Unit.
1. In the Expression field, enter the shown expression to calculate the sum of the mass of particles
that got into the domain in the desired unit (kg).
2. Click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
218 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
The new Total Mass In (Custom) Curve is now available in the Curves tab, under custom.
Tip:
If your Curve does not appear in the Curves tab immediately, select another item in the
Data panel and then come back to this tab to refresh it.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 219
Tutorial - Vibrating Screen
Note that this custom curve will be available for any other User Process that was created based upon
the Particles entity. It will also be available for any future Rocky projects that you run on this computer.
1. From the Window menu, click New Time Plot (or click Ctrl + T)
3. From the Data Editors panel, on the Curves tab, drag and drop the Total Mass In (Custom)
curve over the grid.
Note:
Due to the calculations involved, it may take a few minutes for the data to display.
Tip:
To ensure that the curves appear in the right order, it is best to wait for one curve to
finish processing before adding the next one.
4. One-by-one, also drag-and-drop the Total Mass In (Custom) curve from the Curves tab for each
of the following User Processes:
Note:
a. Oversized in Overflow
b. Undersized in Feed
c. Oversized in Feed
The Time Plot should now show four data sets (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
220 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
The order that you add the curves affects the column order of the Table tab (shown
below).
5. For further optimization analysis (Part C), select the Output tab of Expressions/Variables panel
(enabled in Part A), and drag and drop the same four curves (Total Mass In (Custom) for Under-
flow, Oversized in Overflow, Undersized in Feed and Oversized in Feed User Processes) into
the Output Variables field.
6. Note that for every Output Variable, the default settings consider the maximum values for the
curves, that match the last output values.
7. One by one, Edit the Output Variables (click ) and define the Name for each one accordingly:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 221
Tutorial - Vibrating Screen
Tip:
The steps 5 to 7 allow and facilitate optimization analysis using optiSLang (Part
C).
1. To switch to this view, from the top left of the Time Plot window, click the Table tab.
Please take a moment to ensure that data in the Element row matches the column order of the
screenshot. The three efficiencies will be calculated based upon this order.
1. To define each formula, click Add Formula, and then from the Add Expression window, fill in
the Curve Caption and Curve Expression values as shown below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
222 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
2. In the Add Expression window, define all three equations as shown below. Keep in mind that
the column order matters, so ensure the EU and EO are correctly defined in the order specified.
(3.4)
(3.5)
(3.6)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 223
Tutorial - Vibrating Screen
• EU = 0.690725
• EO = 1
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
224 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• E = EU * EO = 0.690725
Note:
The values you end up with in your project may vary slightly from the ones shown in this
Tutorial.
Achieving 1 (max value) on the undersized efficiency (Eu) means that every undersized particle inputted
went through the sieve as desired.
• In this case, EU = 0.690725, which means that not all of the Undersized particles passed through
the screen. Looking at the 3D View, we can see that many smaller particles exited with the bigger
particles in the Overflow area.
• An adjustment in vibration may improve the screening efficiency, as may a screen redesign.
Achieving 1 (max value) on the oversized efficiency (Eo) means that all the oversized particles inputted
moved over the Screen and into the Overflow area as desired (this case).
The first Particles Time Selection will be created for the whole domain, so this should be created
for the Particles entity.
1. From the Data panel, right-click Particles, point to Processes, and then select Particles Time
Selection. A new Particles Time Selection <01> entity appears.
2. From the Data Editors panel, select the Time Selection tab.
3. Change the Name to PSD_Feed and to include the entire time range, from the Domain Range
drop-down list, select All.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 225
Tutorial - Vibrating Screen
1. From the Data panel, right-click Overflow, point to Processes, and then select Particles Time
Selection.
2. From the Data Editors panel, select the Time Selection tab, and then change the Name to
PSD_Overflow.
3. From the Domain Range drop-down list, select All (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
226 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Please take a moment to verify that both Particles Time Selections match the settings in the images.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 227
Tutorial - Vibrating Screen
3.2.12. HISTOGRAM
Histograms are used to create bar plots showing Properties values and their distribution among
the selected samples in a given Output.
In this tutorial we will use a Histogram to compare the PSD of the Feed with the PSD of the Overflow.
1. To create a Histogram, from the Window menu, select New Histogram (or use the shortcut
Ctrl+H).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
228 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
3. From the Data Editors panel, select the Properties tab, and then drag and drop Particle Size
onto the Histogram window.
4. Repeat this process to include on the Histogram the Particle Size property for the PSD_Overflow
process.
1. The default settings provide a plot that is difficult to analyze. To improve the analysis, click the
Configure histogram icon at the top left of the Histogram window.
The cumulative PSD distribution plot is linear with the mass plotted between the specified sizes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 229
Tutorial - Vibrating Screen
1. To reproduce this plot, select the distribution Weight, increase the Number of Bins, and activate
both Cumulative Bins and Percent Values (as shown).
2. The axes limits can be specified by selecting Particle Size (under Properties) and then changing
the Limits to User Defined (as shown).
3. Specify the Min and Max values (as shown), and then click OK.
The PSD from Feed (green bars) shows a higher percentage of mass in the smaller sizes.
It can also be seen that particles smaller than the screen aperture have left the screen from the
Overflow area.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
230 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this option, from the main Toolbar click Help, point to Manuals, and then click the User
Manual option.
3.2.15. CONCLUSIONS
Rocky was used to analyze the screening efficiency of the vibrating screen simulation we created in
Part A.
• Use the Cube, Filter, and Particles Time Selection User Processes to calculate particle screening
efficiencies
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 231
Tutorial - Vibrating Screen
• Plot data in a Time Plot and use the Table view to add custom functions
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part C
and optimize this project with optiSLang.
3.3.1. OBJECTIVES
The main purpose of this tutorial is to learn how to make optimization analysis via optiSLang for the
screening efficiency of a vibrating screen. We will continue from where we left off in Part B.
3.3.2. PREREQUISITES
To complete this tutorial, you are required to have on your machine both of the following:
• (3) Tutorial 03 project folder with Part A and B data already processed.
Important:
Important:
This tutorial assumes that you are already familiar with the following programs and re-
sources:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
232 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing – Optimization
– If this is not the case, please refer to Tutorial 01 – Transfer Chute for a basic intro-
duction about Rocky usage before beginning this tutorial.
To begin the steps for the optiSLang project creation, do the following:
2. From the optiSLang New Project field, select Guided to start the project setup.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 233
Tutorial - Vibrating Screen
4. From the Select project file dialog, go to your project directory and select your Tutorial 03 project
file.
After selecting the Rocky project, a new window will show up to select a python script (automat-
ically created by optiSLang) to export Rocky results.
5. From the Choose Rocky script to export results., select the brand new export_rocky_outputs.py
that is in your project directory and click Open.
Rocky opens with the selected project loaded and will save a copy without results, asking if you
want to delete the results.
7. From the optiSLang menu, click Save current project button , and from the Save Project
dialog, select your project directory, define the File name as tutorial_03_optimization and click
Save.
Your project Schematic in optiSLang should now look like the image:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
234 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing – Optimization
And your project directory should look similar to the image below.
Tip:
You can access the Wizards panel through the optiSLang user interface, in the top
right corner of the window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 235
Tutorial - Vibrating Screen
1. From the Wizards panel, drag and drop the Optimization wizard onto the Parametric solver
system box in the project Schematic.
Note:
optiSLang loads Rocky inputs that we defined as variables in Part A of this tutorial.
2. Set the Range for both parameters according to the following image and click Next >:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
236 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing – Optimization
Note that optiSLang considers the inputs limit values to define the design points that will be processed
posteriorly in Rocky. In this case, Frequency will be varied from 10 Hz to 20 Hz, and Amplitude will
vary from 0.014 m to 0.026 m, for example.
For this step, we want to define the screen efficiency (defined in Rocky in Part B) as a Variable in
optiSLang and set an Objective for it. For this, follow the steps and the image shown.
1. On the Criteria | Create new field, click three times in the Variable button and one time in
Objective button.
Note:
This process is similar to the one done in the Table of the Time Plot in Rocky,
in Part B.
3. Define the Expression and Criterion for the objective in order to maximize the screen effi-
ciency.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 237
Tutorial - Vibrating Screen
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
238 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing – Optimization
For this tutorial, we will define the maximum number of simulations to be processed and let the
other parameters as default.
1. Define the Maximum number of design evaluations and click Next >.
2. On Additional options, you can choose to visualize the postprocessing during the optimization
processing or when it finishes. For this tutorial purposes, we only need to visualize it on ter-
mination, so you might let the settings as default and click Finish.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 239
Tutorial - Vibrating Screen
Your project Schematic should now look similar to the image below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
240 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing – Optimization
1. In the top left corner of the optiSLang user interface, click the Run button to run the
optimization analysis.
Note:
For each design point evaluated, Rocky opens to set the Amplitude and Fre-
quency values and process the simulation.
You can check the progress of your analysis in optiSLang user interface.
When the algorithm finishes running the analysis, a post-processing window opens automatically. If
you reopen your project, you can access the same data by double-clicking Postprocessing in the
project Schematic.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 241
Tutorial - Vibrating Screen
1. History
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
242 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing – Optimization
This panel shows the evolution of the objective through different combinations of Amplitude and
Frequency (design points). It also indicates in which design point the solution obtains the best
results.
Note:
You can click on each (design) point in the plot and see its results in the other
panels. By default, the selected one is the best for optimization purposes.
2. Response values
This panel shows the resulting values of each Rocky Output Variable for the selected design point
in the first panel.
3. Design parameter
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 243
Tutorial - Vibrating Screen
This panel shows the values of Rocky Input Variables (Amplitude and Frequecy) for the selected
design point.
4. Criteria data
This panel shows the numerical values of the variables defined in the Criteria step of the Optim-
ization wizard for the selected design point.
Note:
Note:
Your results may vary slightly from the ones presented in this tutorial.
For further information on any topic presented, we suggest completing the optiSLang courses available
at Ansys Innovation Space (AIS) and Ansys Learning Hub (ALH).
3.3.10. CONCLUSIONS
Ansys optiSLang was used to optimize the screening efficiency of the vibrating screen simulation we
created in Part A and post-processed in Part B.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
244 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing – Optimization
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 245
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
246 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 4: Tutorial - SAG Mill
(Part A) Learn how to set up and process a simulation that modifies the surface of geometries to show
the effects of wear.
(Part B) Learn how to visualize the wear modification to the surface of the geometry, add particle tra-
jectories, and analyze properties derived from contacts.
(Part C) Learn how to analyze the energy balance of the system by using particle energies and particle
energy spectra data.
4.1.1. OBJECTIVES
The main purposes of this tutorial are to:
• Learn how to set up and process a simulation that modifies the surface of geometries to show the
effects of wear (Parts A and B).
• Learn how to analyze the energy balance of the system (Part C).
The scenario considered is that of a semi-autogenous grinding (SAG) mill, which is a rotating machine
that contains steel balls and ore.
• SAG mills are used in the mining industry to grind ore particles into smaller pieces. To save pro-
cessing time, only a slice of the mill will be simulated.
• Modules
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 247
Tutorial - SAG Mill
• Motion Frames
4.1.2. PREREQUISITES
This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
• If this is not the case, please refer to Tutorial 01 – Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
Tip:
If you are unsure which version of Rocky you have, ask your IT department, or contact
Rocky Support for assistance.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
248 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
4.1.3. GEOMETRY
• Mill slice
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 249
Tutorial - SAG Mill
3. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop shortcut.)
4. From the Rocky program, click the New Project button, or from the File menu, click New Project
(Ctrl+N).
The Study entity covers the first step of the simulation setup. The purpose is to define any useful
information for the project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
250 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 251
Tutorial - SAG Mill
For the Physics step, we will be lowering the softening factor to reduce simulation time, and will also
set a rolling resistance model.
Important:
Lowering the softening factor may cause excessive overlaps between particles and between
particles and boundaries.
2. From the Data Editors panel, select the Momentum sub-tab, and then set the Rolling Resistance
Model and change the Numerical Softening Factor.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
252 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For the Modules step, we will be turning on the collection of some additional data.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 253
Tutorial - SAG Mill
But before we take these steps, it is necessary to understand more about Modules:
• In Rocky, Modules refer to separate pieces of code that add in discrete features or functionality
within your project.
• By having the state of (most of ) these Modules be off by default, calculations that you may not
require are avoided, which saves processing time and reduces file size.
• But it also means that if you want to use of a Module, you must remember to turn it on during
your simulation setup.
• In addition, some Modules add new options within other parts of the Rocky setup so it is important
that you turn on your Modules before setting up the rest of your project.
It is also important to understand that some Module settings will override similar default settings
in the Rocky UI.
Tip:
To find out what models or settings are affected by a Module, you can view the Affected
Simulation Entities information on the Module's Info tab.
There are several Modules provided by default in Rocky. (Listed on next slides.)
You may also have access to other custom Modules that are not included with Rocky by default.
• Custom Modules are installed via zip file from the Ready-to-use Modules page.
• After installation, they will appear in Rocky on the Data Editors panel for Modules.
Tip:
You can make your own custom Modules by using Rocky's Solver SDK functionality. (See
the Rocky Solver SDK Manual and the Tutorial 23 for details.)
• Default Modules are defined in the User and Technical Manuals, which can be found from the Rocky
Help | Manuals menu.
• Custom Modules have their own documentation that can be found in the Rocky Module Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
254 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• Boundary Collision Statistics: Enables the collection of boundary-related collision (with particles)
data, such as collision frequency, intensities, and impact velocities.
Note:
• CFD Coupling Particle Statistics: Enables the collection of particle-fluid interactions, such as drag,
lift, and virtual mass forces.
• Contacts Energy Spectra: Enables the collection of collision-based energy values during the simu-
lation and the resulting data is categorized by the contact pair (particle group and/or geometry).
Note:
• Contacts Overlap Monitor: Checks each contact pair (particle-particle or particle-boundary) for
the amount that they overlapped the percentage of which is determined by the size of the smallest
particle in the contact pair and raises a message in the Simulation Log panel if an overlap exceeds
any of the three warning levels you define.
Note:
• Inter-group Collision Statistics: Enables the collection of energy dissipation data for each particle-
particle and particle-boundary pair.
Note:
• Inter-particle Collision Statistics: Enables the collection of particle-related collision data between
all particles in the simulation.
Note:
• Intra-particle Collision Statistics: Enables the particle-related collision data affecting the surfaces
of a particular particle set.
• Joint Statistics: Enables the collection of data for Joints when present in the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 255
Tutorial - SAG Mill
• Move CFD Cells (Beta): Enables the use of larger CFD timesteps, resulting in improved performance
and a stable solution.
• Particle Instantaneous Energies: Enables the calculation of the kinetic and potential energies of
each individual particle in the simulation.
• Note:
• Particles Energy Spectra: Enables the collection of energy values during the simulation that are
related only to particles, and the resulting data is classified by size and particle group.
Note:
• SPH Boundary Interaction Statistics: Enables the collection of boundary-related collision (with
fluid) data, such as forces, torque and power.
• SPH Density Monitor: Monitors the density values associated to the SPH elements during a simu-
lation and issues possible related warnings.
Note:
• SPH Freeze Outside Region: Enables you to save calculation resources and drastically speed up
processing as a result by freezing the SPH elements that are outside from all the Regions of inIterest
and then disabling them from contact calculation.
• SPH Mass Flow Rate: Enables the measure of fluid flow rate through a surface.
• SPH-DEM Interaction Statistics: Enables the collection of fluid-particle interaction data, such as
forces, torque and heat transfer.
2. From the Data Editors panel, under Modules enable the following checkboxes:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
256 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For this tutorial, we are primarily interested in the power- and energy-related data that will be col-
lected by these Modules.
To save processing power and space, we can limit our collections to only the kinds of data we need.
Note:
This applies only to the five Collision Statistics and Energy Spectra modules we enabled;
it is not possible to limit the data collection for Particle Instantaneous Energies.
Let's start by defining what data we want for Boundary Collision Statistics:
1. From the Data panel, under Modules, select Boundary Collision Statistics.
2. From the Data Editors panel, enable the Intensities checkbox (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 257
Tutorial - SAG Mill
Note:
With Intensities enabled, Rocky will collect the average dissipation and impact power
values measured by each individual geometry triangle. This can be useful for analyzing
impact wear or power draw.
1. From the Data panel, under Modules, select Inter-group Collision Statistics.
2. From the Data Editors panel, enable the Energy Dissipation checkbox (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
258 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
With Energy Dissipation enabled, Rocky will collect the energy dissipation values of
the collisions recorded for each particle-particle and particle-boundary pair in the sim-
ulation.
3. From the Data panel, under Modules, select Inter-particle Collision Statistics.
4. From the Data Editors panel, enable the Power checkbox (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 259
Tutorial - SAG Mill
Note:
With Power enabled, Rocky will collect the dissipation, impact and shear power values
resulting from the collisions recorded for each individual whole particle or fragment,
during an output timestep.
However, breakage models can increase both the computational cost and the processing length of
your simulation.
With this in mind, Rocky offers a less costly and faster way to analyze breakage called Energy Spectra,
which has the following features:
• Collects energy statistics based upon the following two gathering methods:
– Contact based: Energy is gathered per contact pair (particle and/or geometry) and size.
– By the type of energy you want to collect: Dissipation, Impact, and/or Shear.
– By the particle groups and/or geometries you want to participate in the collection.
Collecting these kinds of energy statistics can help with the prediction of breakage and attrition rates
for continuous processes such as grinding mills.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
260 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• Number of Bins: Defines the resolution of the resulting energy curves. The higher the number of
bins, the better the resolution.
• Minimum and Maximum Energy (or Specific Energy): Defines the left and right limits of the res-
ulting Curves Energy (or Specific Energy) axis.
• Start Time and Time Delay After Release: Defines at what point in the simulation the data is
collected.
After defining the parameter on the module itself, there are module-specific parameters enabled on
the particle group and/or geometries involved in the simulation.
These additional parameters define the entity as participating in the energy spectra collection or not.
1. From the Data panel, under Modules, select Contacts Energy Spectra.
2. From the Data Editors panel, enable all three Energy checkboxes (as shown), and then define all
of the following (as shown):
a. Start Time
c. Number of Bins
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 261
Tutorial - SAG Mill
1. From the Data panel, under Modules, select Particles Energy Spectra.
2. From the Data Editors panel, enable all three Energy checkboxes (as shown), and then define all
of the following (as shown):
a. Start Time
c. Number Of Bins
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
262 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For each item listed below, you can determine whether it will participate in the type of collection
specified:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 263
Tutorial - SAG Mill
Note:
Geometry and particle group setup will be covered later in this tutorial. However, as these
module-specific settings are all enabled by default, we will leave them as-is for this tutorial
unless specified.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
264 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For the Geometries step, we will import the geometry file in .stl format:
1. From the Data panel, right-click Geometries and then click Import Wall.
2. From the Select file to import dialog, navigate to the dem_tut04_files folder that you previously
downloaded, find the geometry folder, and then select the following file:
• Mill.stl
3. Click Open.
4. (Save your project now if you have not already done so.)
5. From the Import File Info dialog, select "mm" as Import Unit, ensure that the option Convert Y
and Z axes is cleared (unchecked), and then click OK.
1. Clicking and drag the Geometries entity from the Data panel to the Workspace. A new 3D View
window appears showing the geometries that you imported.
Tip:
Because this geometry is aligned with the global Z-direction (no surfaces on the XY
plane), it can be hard to see in the 3D View window if your projection is set to Ortho-
gonal instead of perspective.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 265
Tutorial - SAG Mill
2. Change the projection shown in the 3D View window by doing the following:
This method is a best practice for mill slice simulations where you are also calculating surface wear
modification.
Doing so helps you avoid any potential wear issues that can occur to triangles (shown in green) that
are parallel and coincident to the plane used by the periodic domain.
Important:
If you do choose to include these triangles, Rocky will disable them by default. However,
this disabling can itself lead to other wear calculation instabilities. Therefore, it is best to
just avoid including these triangles in the first place.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
266 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 267
Tutorial - SAG Mill
• Steady state rotation: Starting from 3 s onward, a constant Angular Velocity will be applied,
which allows the mill to reach a steady state by 5 s.
When the motion Type of Rotation is selected, the following options are available:
1. From the Data panel, right-click Motion Frames and then select Create Motion Frame.
2. From the Data panel, under Motion Frames, select the newly added Frame <01> entry.
3. From the Data Editors panel, on the Frame tab, define the parameters as shown next.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
268 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. To create a new motion using this Frame, click the green plus button (Add motion).
3. Define the Stop Time, Type and Angular Acceleration (and units).
Tip:
Because Rocky will automatically translate an entered value based upon the unit you select,
it is best to select the unit first before you enter the value.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 269
Tutorial - SAG Mill
2. Define Start Time, Type and Initial Angular Velocity (and units).
2. From the Data Editors panel, on the Wall tab, select Rotation Motion from the Motion Frame
drop-down list (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
270 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, click Preview. A new window will appear showing the geometry
and the created Frame.
Tip:
To better see the frame axes, change the Default axes size parameter (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 271
Tutorial - SAG Mill
The Time toolbar can be used to play the preview. The yellow color of the slider indicates that the
simulation has not yet been processed.
• This will enable us to visually evaluate the changes to the surface of the geometry due to the pre-
dicted particle contact.
1. From the Data panel, under Geometries, select the Mill component.
2. From the Data Editors panel, select the Wall | Wear tab, and then define both the Wear Model
and Volume/Shear Work Ratio options.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
272 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 273
Tutorial - SAG Mill
The number of triangles defines how refined the mesh will be when computing wear (and other
geometry results).
• Keep the mesh refined enough to analyze the wear but not so fine that it excessively increases the
computational time.
• Avoid very fine triangles near the lifter tips as this can make the wear unstable.
• To help avoid instabilities, consider doing the following in your CAD program before you import
geometries into Rocky:
– Fill in any small gaps between components. (For example, make use of the Shrinkwrap feature
in Ansys SpaceClaim.)
• You may also want to mesh your geometries in a program outside of Rocky, and then import the
results.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
274 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 275
Tutorial - SAG Mill
1. Select Mill from the Data panel, and on the Data Editors, from the main Wall tab, select the
Transform sub-tab and then define Triangle Size (as shown).
1. From the Data panel, right-click Mill and then select Duplicate. The duplicate will appear as a
new Mill <01> item.
2. Select this new item and then from the Data Editors panel, change the Name to Mill Reference.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
276 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. Also, increase the Enable Time value. This way, the geometry will be visible during the simulation
but not included in calculations.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 277
Tutorial - SAG Mill
The Default Boundary Material will be used for the mill slice geometry.
Note:
The other two default Materials (Default Particles and Default Belt) will not be used in this tutorial.
1. From the Data panel, right-click Materials, and then select Create Solid Material.
2. Repeat this step once more so that you have two new entries. Material <04> and Material <05>
are created under Materials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
278 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. Select one of the new Materials and then from the Data Editors panel, change the Name and
Density values. Repeat this step for the second new Material.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 279
Tutorial - SAG Mill
2. Adjust the parameters for each combination, according to the values shown below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
280 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 281
Tutorial - SAG Mill
For the Particles step, we will create two new sphere-shaped particle groups with some added rolling
resistance. These will represent the ore and grinding media.
1. From the Data panel, right-click Particles and then select Create Particle. A new particle group
is created under Particles.
2. Select the newly created Particle <01> entry and then from the Data Editors panel, on the main
Particle tab, modify the Name and Material.
3. From the Size sub-tab, click the green plus button (Add) until you have three size distribution
rows. For each row, define the Size (in m) and Cumulative %.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
282 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 283
Tutorial - SAG Mill
5. To visualize the newly created particle, the click the View button. A new Particles Details window
will appear showing the particle geometry.
1. Create a second new Particle set by right-clicking Particles and selecting Create Particle.
2. Select this new Particle set, and then from the Data Editors panel, do the following:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
284 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 285
Tutorial - SAG Mill
When compared with the traditional Particle Inlet method, using Volumetric Inlet has the primary
benefit of ensuring that the particle bed will already be formed in the mill at the start of the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
286 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• Seed Coordinate: Location of a point around which layers of particles are built.
• Mass: The target mass of particles that you want built around the Seed Coordinate.
• Bounds: Defines the physical limits by which the particle layers will be constrained.
• The limits must include Box Bounds, which can be defined manually using coordinates, or can be
automatically calculated by Rocky using the limits of one or more imported Geometries that you
select.
• The limits may also include the walls of one or more Geometries within your simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 287
Tutorial - SAG Mill
For this tutorial, we'll create a Volumetric Inlet constrained only by the mill geometry.
1. From the Data panel, right-click Inlets and Outlets and then select Create Volumetric Inlet.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
288 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. Select the newly created Volumetric Inlet <01> entry, and then from the Data Editors panel, on
the Particles sub-tab, click the Add button (green plus) twice to create two entry rows.
3. For each row, select the Particle group name from the drop down list and then define the Mass
in t.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 289
Tutorial - SAG Mill
Tip:
You can visualize the Seed Point (blue dot) and geometry bounds (white box) in a 3D
View window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
290 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 291
Tutorial - SAG Mill
A Contact in Rocky refers to a specific location on a geometry or particle that has experienced a
collision with another particle during the simulation.
Always during processing, Rocky calculates and makes use of Contacts data. But to save file space,
you can choose whether or not to keep it.
For this tutorial, we will enable the collection of the Contacts data so that we can post-process it
later.
1. From the Data panel, select Contacts and then from the Data Editors panel, select the Contacts
tab.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
292 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• By default, Periodic Domain is turned off and Rocky automatically creates a domain box based
upon the Geometries boundary limits.
• Any particle that leaves those limits is eliminated from the simulation.
• These domain settings would not work for the mill slice as all particles would quickly be eliminated
through the open ends of the geometry (as shown).
For this case, we need Rocky to put any particles that leave the mill slice back into the mill slice.
To do this, we will define a Cartesian Periodic Domain at the extreme ends of the mill slice geometry.
By doing so, any particles that leave one side of the mill slice are introduced back into the simulation
from the other side (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 293
Tutorial - SAG Mill
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
294 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, set the Periodic Domain Type and the Periodic Direction.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 295
Tutorial - SAG Mill
Tip:
In order for a periodic Cartesian domain to be representative, the distance between the
Min Coordinate and Max Coordinate values must be at least 2.5 times the width of the
largest particle size.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
296 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
For this tutorial, CPU will be faster due to the low particle count.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 297
Tutorial - SAG Mill
Once you click Start, the Simulation Summary window will be displayed.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
298 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Once initialization is complete, this screen will close automatically and Rocky will process your simu-
lation.
Tip:
You can find this information later on the Solver | Summary tab on the Data Editors
panel.
4.1.34. SIMULATION
Click the Refresh button (or use the Auto Refresh checkbox) to see the results in a 3D View window
during processing.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 299
Tutorial - SAG Mill
• The particle shape and the number of vertices used to define the shape
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
300 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
4.1.36. CONCLUSION
Rocky was used to set up and process a SAG Mill slice simulation that models wear and collects energy
spectra data.
• Use Modules to collect collision statistics, particle energies, and energy spectra data.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and post-process this project.
4.2.1. OBJECTIVES
The main purposes of this tutorial are to use the results from the mill slice simulation we created in
Part A to learn how to:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 301
Tutorial - SAG Mill
Note:
We will analyze the particle energies and particle energy spectra data later in Part C.
• Custom Properties
– Plane
– Particles Trajectories
– Eulerian Statistics
– Cylinder
4.2.2. PREREQUISITES
This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
• If this is not the case, please refer to Tutorial 01 – Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
• If you are not sure which Rocky license you have, contact your IT Administrator or Rocky Support
for assistance.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
302 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
c. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop
shortcut.)
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut04_files folder,
then from the tutorial_04_A_pre-processing folder, open the tutorial_04_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Simulation toolbar, click the Start button.)
Comparing the profiles of the worn geometry with the reference geometry you duplicated in Part A
(as shown) can help you better identify what changed.
Tip:
• To see the reference, rotate the view slightly with your mouse. (In this case, the ortho-
gonal view in the Z-direction is parallel to the reference surface so the reference won't
be visible by default.)
• To hide the particles from the 3D View window, click the eye icon to the right of
Particles in the Data panel.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 303
Tutorial - SAG Mill
For example, to identify the regions in which the surface wear was most severe, do the following:
2. From the Data Editors panel, select the Properties tab and then from the upper right corner,
click the Add new custom property button.
3. From the Add new dialog, define the Name and Output unit; from the Inputs box, enable the
checkboxes for Displacement : X and Displacement : Y; and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
304 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
4. From the Custom Property dialog, enter the Expression (as shown), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 305
Tutorial - SAG Mill
5. From the Properties tab for the Mill geometry, drag-and-drop the newly created Radial Displace-
ment (Custom) property onto the 3D View.
Tip:
Use the Data panel eye icon to hide the Mill Reference geometry from the view.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
306 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
You can also analyze the Radial Displacement on a cut plane of the liner profile.
1. From the Data panel, under Geometries, right-click Mill, point to Processes, and then click Plane.
2. From the Data panel, under User Processes, select the new Plane <01> entry.
3. From the Data Editors panel, on the main Plane tab, define the Plane Origin and Orientation
| Angle and Vector (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 307
Tutorial - SAG Mill
4. From the Coloring tab, expand the Edges section, and then define the Property and Width values
(as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
308 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
Tip:
You may need to use the Data panel eye icon to hide the Mill and Mill Reference geo-
metries from the view.
1. From the Time toolbar, select the output for which you want to export worn geometries (as
shown).
2. From the Data panel, under Geometries, right-click Mill, point to Export, and then click Rendered
Geometry (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 309
Tutorial - SAG Mill
3. From the Select output unit dialog, define the Output Unit (as shown), and then click OK.
4. From the Select target STL file dialog, enter a File name and choose a location to save your file,
and then click Save.
You can now open your saved .stl file in a CAD program, such as Ansys SpaceClaim.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
310 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
1. From the Data panel, right-click Particles, point to Processes, and then select Particles Trajectory.
2. From the Data Editors panel, select the Particle Trajectory tab.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 311
Tutorial - SAG Mill
4. Set the value for the Starting Timestep by doing the following:
a. From the Time toolbar, select the Output from which you want to begin particle trajectories
(as shown).
b. From the Particle Trajectory tab, click the Update Particles Selection button.
The Timestep you choose now appears in the Starting Timestep field (as shown).
Number of Timesteps: Defines how many future timesteps for which you want to track the particles.
The higher the value, the longer the trajectory will be.
• Keep in mind that the Starting Timestep value you selected from the Time toolbar should be at
least the Number of Timesteps before the end of the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
312 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
Particle Stride: Defines how the particles will be sampled. One out of n particles will be tracked,
where n is the size of the sample. The higher the value, the lower will be the number of trajectories.
If 1 is set, all the particles will be tracked.
1. From the Data panel under User Processes, right-click Particles Trajectory <01>, point to Show
in new, and then click 3D View.
The default view that appears is not ideal for viewing trajectories for the following reasons:
• It shows Particles, which get in the way of seeing the trajectory vectors.
1. To hide the Particles, from the Data panel, click the eye icon next to Particles.
Note that even if you hid Particles on your first 3D View, you will have to repeat this process for
each new 3D View.
2. To color the trajectories by particle velocity, from the Data Editors panel, select the Coloring tab,
and then under Edges, select the Property type of Absolute Translational Velocity (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 313
Tutorial - SAG Mill
3. To change the background color, right-click on the 3D View, point to Background color, and
then click White.
4. To change the font color, right-click on the 3D View, point to Font color, and then click Black.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
314 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
Eulerian Statistics can only be created for a Cube or a Cylinder User Process.
1. From the Data panel, right-click Particles, point to Processes, and then select Cylinder.
The Cylinder (and Cube) User Processes can be manually changed using the 3D view, or adjusted
using their parameters. For this case, we'll enter exact values.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 315
Tutorial - SAG Mill
2. From the Data Editors panel, select the Cylinder tab and then enter the Size, Center, Orientation
| Method, Local Angles, and Rotation values (as shown).
2. From the Data Editors panel, on the Eulerian Statistics tab, enter the Radial, Tangential and
Axial Divisions.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
316 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
This will discretize the Cylinder into 36 circular sectors, each one divided in 20 bins in the radial dir-
ection. A single bin is defined in the axial direction, as shown on the following slide.
Note:
You may have to use the Data panel eye icons to hide other data (such as Particles or
Particles Trajectories) that you no longer wish to see.
Once the Eulerian Statistics is created, you can modify which Properties are shown through the
Colorings tab.
1. For example, under Faces select the Property called Volume Fraction.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 317
Tutorial - SAG Mill
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
318 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
Note:
The values you end up with are time dependent, and the ones you get in your project
may vary slightly from the ones shown in this Tutorial.
1. From the 3D View window, right-click the color scale, point to Limits options, and then select
User Defined.
2. From the Coloring tab on the Data Editors panel, set the Limits values.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 319
Tutorial - SAG Mill
To see a continuous display of the plotted Properties, you can also enable Shown on Node? option.
1. From the Data panel, under User Processes, select Eulerian Statistics <01> and then from the
Data Editors panel, select the Coloring tab.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
320 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 321
Tutorial - SAG Mill
• Static properties
• Transient properties
Important:
Important: To be able to analyze Stress Components, you must have enabled the
Collect Contacts Data checkbox from Contacts entity on Data panel prior to processing
your simulation.
– As a reminder, we took this step in Part A, so this data should be now available to analyze.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
322 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (Wear and Contacts Analyses)
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 323
Tutorial - SAG Mill
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
4.2.14. CONCLUSION
Rocky was used to post-process a simulation of a rotating SAG Mill slice.
• Visualize surface Wear modifications, and compare them to the original wall geometry.
• Export the worn geometries to an .stl file for further analysis outside of Rocky.
• Evaluate the particle volume fraction in various regions of the mill slice by using Eulerian Statistics.
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
4.3.1. OBJECTIVES
The purpose of this tutorial is to evaluate the energy balance of the rotating SAG Mill slice simulation
we performed earlier in Part A.
• Energy Spectra
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
324 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
• Cross Plots
• Custom Curves
• Output Variables
4.3.2. PREREQUISITES
This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
• If this is not the case, please refer to Tutorial 01 Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
• If you are not sure which Rocky license you have, contact your IT Administrator or Rocky Support
for assistance.
2. If you did not complete Part A (nor Part B), do all of the following:
c. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop
shortcut.)
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut04_files folder,
then from the tutorial_04_A_pre-processing folder, open the tutorial_04_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Simulation toolbar, click the Start button.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 325
Tutorial - SAG Mill
Although mills have great energy consumption, only a small part of this energy is converted into ac-
tual particle fragmentation.
Because of this, it is crucial to understand how power is consumed during comminution processes
in order to improve grinding efficiency and reduce costs.
One way this can be accomplished in Rocky is by using a tool called Energy Spectra.
Unlike breakage simulations, which require additional computational costs to calculate and visualize
each individual broken fragment, Energy Spectra uses energy statistics of particle collisions to predict
breakage and attrition rates in a graphical format.
This provides answers to breakage questions faster by avoiding the computationally intensive visual-
ization step of the particles actually breaking.
In Energy Spectra plots, the collision data collected during a simulation is classified based on the
energy levels of the individual collisions and then displayed accordingly.
Three types of collision energy can be evaluated using Energy Spectra plots:
• Dissipated energy: The fraction of the mechanical energy of the particle transformed irreversibly
into other forms of energy during a collision.
• Impact energy: The maximum collision energy transferred during the normal loading phase. This
kind of energy is considered in the instantaneous breakage models to evaluate breakage.
• Shear energy: The work done by the tangential contact forces during a collision. This kind of energy
is used in the abrasive wear models.
Depending upon the source of the energy values considered, two types of Energy Spectra plots are
available in Rocky:
• Contacts energy spectra: Energy values are collected collision-wise and are classified by contact
pair (particle and/or geometry).
• Particles energy spectra: Specific energy values are collected particle-wise, and are classified by
size and particle group.
To demonstrate how to evaluate breakage rate using an Energy Spectra curve, consider Cumulative
Specific Power : Impact as it relates to the energy used in the instantaneous breakage models:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
326 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
The blue dashed line defines the minimum specific energy for a certain particle to break.
All collisions with specific impact energy higher than this value may lead to breakage. The remaining
collisions do not lead to breakage.
The power consumed that actually promotes particle fragmentation is given by the corresponding
Y-value.
After the simulation is complete, information about Energy Spectra will be available on the Curves
tab for the Particles entity.
1. From the Data panel, select Particles and then from the Data Editors panel, click the Curves
tab.
The new Energy Spectra Curves will be displayed under two separate groups:
Both Energy and Specific Energy are separated into Impact, Shear, and Dissipation energies.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 327
Tutorial - SAG Mill
• Cumulative Power: Displays the sum of all power coming from a collision with energy greater
than a specified energy.
• Power: Displays the time average of energy resulting from all collisions of that type and pair.
• Rate: Displays the mean frequency of collision for that type and pair.
Cumulative sums and averages making use of Cumulative Power, Power, and Rate are computed
from the Energy Spectra Start time (which is defined on the Solver | Energy Spectra tab) to the
current timestep.
Specific Energy curves are displayed only as Cumulative Specific Power, which displays the sum
of all specific power coming from a collision with energy greater than a specified energy level.
Cumulative Power is computed from the Energy Spectra Start time (which is defined on the Solver
| Energy Spectra tab) to the current timestep.
1. Under Specific Energy : Impact right-click the first Cumulative Specific Power : Impact entry
and then click Show curve in new Plot. (Or click Show curve in selected Plot if a plot is already
created.)
3. Plot the next two Cumulative Specific Power: Impact entries on the same plot so that it contains
all 3 Rock Particles size ranges.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
328 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
4. Change the axis display option by right-clicking the grid and then under Axes Layout, choosing
By Quantity.
2. From the Window Editors panel, select the Axes tab and then from the Axis box, select Specific
Energy : Impact (J/kg).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 329
Tutorial - SAG Mill
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
330 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
1. In the Data Editors, on the Curves tab under Energy : Impact, you can repeat the same procedures
to create a new Cross Plot showing both the Power: Impact and Cumulative Power : Impact
of the collisions between Rock Particles and Mill (only). (Resulting plot shown.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 331
Tutorial - SAG Mill
Note:
The Logarithmic Scale is enabled only for the horizontal axis in the plots shown in
these analyses.
Tip:
Add lines to your points by right-clicking a point on the plot and then choosing the
Edit option. From the Edit Curves dialog that appears, choose the line options you
want under Pen Style. Here, Solid Line is selected for both Curves.
2. Also under Energy : Impact, create a new Cross Plot of the Rate : Impact between Rock Particles
and Mill (only). (Resulting plot shown.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
332 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
In this tutorial, the energy supplied by the mill is transferred to the particles. Part of this energy is
dissipated and another part is transformed into mechanical energy. The equation below shows the
Energy Balance of this system:
(4.1)
In terms of Power:
(4.2)
Where:
In Rocky, the power supplied by the mill and the mechanical energy variation of the particles are
directly obtained.
The dissipated energy can be obtained directly or by using power curves depending upon how we
want to analyze it.
In this way, we have two equations that can be used to calculate the Energy Balance:
(4.3)
(4.4)
For this tutorial, we will use Output Variables to compute the terms of these equations.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 333
Tutorial - SAG Mill
2. From the Expressions/Variables panel, select the Output tab (as shown).
Note:
This Curve is available only if the Intensities checkbox is enabled on the Boundary Collision
Statistics module prior to processing, which we did in Part A.
1. From the Data panel, select Mill and, from the Data Editors panel, select the Curves tab.
2. Drag-and-drop the Power Curve onto the Output tab of the Expressions/Variables panel.
3. From the Output tab, select the newly added Power entry, and then click the Edit button
(as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
334 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
4. From the Edit Properties dialog, enter the Name and Domain Range (as shown), and then click
OK.
The power supplied by the mill during the last timestep is shown in the Output tab.
Note:
These Curves and Properties are available only if the Particles Instantaneous Energies
module is enabled prior to processing, a step which we took in Part A of this tutorial.
For this tutorial, we will use the Energy Delta to compute the Mechanical Energy variation contri-
bution to the energy balance.
The Energy Delta is the variation of the Mechanical Energy in a given timestep.
Since the term that involves the variation of Mechanical Energy is divided by , we can create a
Custom Curve of Energy Delta divided by the Output Frequency (which is ).
1. From the Data panel, select Particles, and then from the Data Editors panel, select the Curves
tab.
2. Under Time, select the Energy Delta Curve, and then click the Add new custom curve button
(as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 335
Tutorial - SAG Mill
3. From the Add new dialog, define the Name and Output Unit, and then click OK (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
336 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
4. From the Custom Curves dialog, enter the Expression, and then click OK (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 337
Tutorial - SAG Mill
5. From the Data Editors panel, under custom, drag-and-drop the newly created Power (Mechan-
ical Energy) (Custom) Curve onto the Output tab of the Expressions/Variables panel.
6. From the Output tab, select the newly added Power_Mechanical_Energy_Custom_ entry, and
7. From the Edit Properties dialog, enter the Name and Domain Range (as shown), and then click
OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
338 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
The power transferred to Mechanical Energy during the last output is shown in the Output tab.
Alternate Method:
• You can also calculate the Mechanical Energy by summing up the Energy : Kinetic : Rotational
and Energy : Kinetic : Translational and Energy : Potential properties from Particles in a Custom
Property.
• With the Mechanical Energy calculated, compute its variation from 24.9s to 25.0s and then divide
it by the time variation.
• This should result the same value we've obtained in the previous step.
• Power : Dissipation
Note:
This Property is available only if the Power checkbox is enabled on the Inter-particle
Collision Statistics module prior to processing, a step which we took in Part A of this
tutorial.
Note:
This Curve is available only if the Energy Dissipation checkbox is enabled on the Inter-
group Collision Statistics module prior to processing, a step which we took in Part A
of this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 339
Tutorial - SAG Mill
Note:
These Curves are available only if Energy Spectra is enabled prior to processing, a step
which we took in Part A of this tutorial.
First, to calculate using Energy : Dissipation (between pairs of groups), do the following:
1. From the Data panel, select Particles, and from the Data Editors panel, select the Curves tab
and click the Add new custom curve button.
2. From the Add new dialog, define the Name and the Output Unit, and then under Inputs, enable
all the Energy : Dissipation Curves between pairs (as shown), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
340 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
Tip:
3. From the Custom Curves dialog, set the Expression, and then click OK (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 341
Tutorial - SAG Mill
4. From the Data Editors panel, under custom, drag-and-drop the newly created Dissipated Power
(pairs of groups) (Custom) onto the Output tab of the Expressions/Variables panel.
5. From the Output tab, select the newly added Dissipated_Power_pairs_of_groups_Custom entry,
6. From the Edit Properties dialog, enter the Name and Domain Range (as shown), and then click
OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
342 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
The Dissipated Power during the last timestep is shown on the Output tab.
If we compare the values in a spreadsheet, we see that the Energy Balance is satisfied with a difference
of ≈ 0.5%.
Tip:
To analyze the data outside of Rocky, you can copy the values directly out of the Value
column and paste them into a spreadsheet program.
Next we will calculate using the Cumulative Power : Dissipation from Energy Spectra.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 343
Tutorial - SAG Mill
To compare the dissipated power of the two different methods, instead of using Specific Time as
the Operation on Curve in the Dissipated Power (pairs of groups) Output variable, we will be using
Average from 7 s (Energy Spectra Start) to 25 s (Simulation Duration).
Since the Cumulative Power : Dissipation are cumulative curves, we just have to sum the maximum
value of each pair of groups to obtain the Dissipated Power.
Follow the steps below to compare the dissipated power obtained by the Energy Spectra and the
Inter-group Collision Statistics calculation methods.
1. From the Expressions/Variables panel, in the Output tab, double-click Dissipated Power (pairs
of groups).
2. From the Edit Properties dialog box, set Operation on Curve and Domain Range (as shown).
3. For the Particles entity, from the Data Editors panel, select the Curves tab.
4. Under Energy : Dissipation, multi-select all the Cumulative Power : Dissipation Curves.
5. Drag and drop all five Curves onto the Output tab of the Expressions/Variables panel (resulting
panel shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
344 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
Note:
It is not necessary to alter these output variables properties, since the default values already
select the maximum value of each curve in the last output.
• To compute the Dissipated Power using the Power : Dissipation property from Particles, sum
the power dissipated for each particle for each timestep and then average the values from 7s until
the end of the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 345
Tutorial - SAG Mill
• To compute the Dissipated Power using the Cumulative Specific Power : Dissipation Curves,
use the method we used earlier for Cumulative Power : Dissipation but instead, multiply each
Curve by the total particle mass for that size range.
• To compute the Power : Dissipation Curves, use the method we used earlier for Cumulative
Power : Dissipation but instead, sum all the points of the Curve instead of picking only the first
point.
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
4.3.14. CONCLUSION
Rocky was used to evaluate the energy balance of a rotating SAG Mill slice simulation.
• Use a Cross Plot to evaluate Energy Spectra for particles and contacts.
• Use the Output Variables to estimate average values of Power and Energy from the following
sources:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
346 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Energy Analyses)
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 347
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
348 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 5: Tutorial - Drop Weight Test
(Part A) Set up and process a Drop Weight Test (DWT) using free body translations and the Ab-T10
breakage model.
(Part B) Learn how to evaluate the PSD and total amount of broken fragments.
5.1.1. OBJECTIVE
The purpose of this tutorial is to set up and process a Drop Weight Test (DWT) and learn how to
change Ab-T10 breakage parameters in order to adjust the particle breakage properties for future
Rocky simulations.
Important:
Even though this tutorial involves running only one drop-weight test, the random nature
of the expected results dictates that the average of many multiple tests should be used
as the basis for any real-life calibrations.
Note:
• Motion Frames
• Particle Breakage
5.1.2. PREREQUISITES
This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 349
Tutorial - Drop Weight Test
If this is not the case, please refer to Tutorial 01 – Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
Tip:
If you are unsure which version of Rocky you have, ask your IT department, or contact
Rocky Support for assistance.
5.1.3. GEOMETRY
• (2) Anvil
• (3) Walls
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
350 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
5.1.4. INTRODUCTION
To help you determine the breakage parameters to use for your simulated material, there are experi-
mental tests that can be done, such as the JK Drop Weight Test (DWT).
The DWT involves releasing a drop weight over a rock sample from a specific height and then observing
the resulting behavior.
• Calculate the mass of fragments that have sizes less than 1/10th of the original size.
The results can then be used to calibrate particle parameters in Rocky to achieve similar breakage
results in your simulations.
Important:
Unlike the single run demonstrated in this Tutorial, an average of many multiple
Rocky tests should be used as the basis for any real-life breakage calibrations.
3. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop shortcut.)
4. From the Rocky program, click the New Project button, or from the File menu, click New Project
(Ctrl+N).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 351
Tutorial - Drop Weight Test
The Study entity covers the first step of the simulation setup. The purpose is to define any useful
information for the project.
2. From the Data Editors panel, enter the Study Name and other project details (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
352 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 353
Tutorial - Drop Weight Test
For the Physics step, from the Gravity tab, you are able to define the gravity components and the
time during which gravity is applied during the simulation.
For this tutorial, we will use the default values (no changes).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
354 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 355
Tutorial - Drop Weight Test
For the Geometries step, we will import wall geometry files in .stl format.
1. From the Data panel, right-click Geometries and then select Import Wall.
2. From the Select file to import dialog, navigate to the dem_tut05_files folder that you previously
downloaded, find the geometry folder, and then while pressing either the Ctrl or Shift key, multi-
select all of the following files, and then click Open:
• anvil.stl
• dropweight.stl
• wall.stl
3. Save your project now if you have not already done so.
4. From the Import File Info dialog, select "mm" as Import Unit, ensure that the option Convert Y
and Z axes is cleared (unchecked), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
356 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, right-click Geometries and then click Create Circular Surface.
3. From the Data Editors panel, on the Circular Surface sub-tab, define the Center Coordinates
and Max Radius.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 357
Tutorial - Drop Weight Test
For this test, the drop weight is raised to a prescribed height and then dropped.
The mass will have a free vertical body motion, since the only force will be the weight force (due to
gravity).
• Free Motion Direction: Specifies in which directions the geometry can move due to particle forces,
which is given in the local coordinates of the frame related to the initial frame orientation.
• Free Body Linear Limits and Free Body Angular Limits: Specifies how much the geometry can
move in each direction.
Each Motion Frame has its own orientation reference (coordinate system) upon which its movements
are based.
The current (i.e., instantaneous) orientation is represented in the Motion Preview window by the axes
for the Frame (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
358 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
In this version of Rocky, all Frames use only an implicit local reference, which uses the current orient-
ation of the selected Frame to define the next movement.
In this way, the reference is always moving along with the Frame.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 359
Tutorial - Drop Weight Test
In this example, the rail (yellow dotted line) rotates as the Body A rotates (left image).
The gravity is set to the +y direction and a force F is applied on the top of Body A.
As the Free Body Rotation is set to the z direction for Body A, it will be allowed to rotate around its
center on the xy plane.
As the Free Body Motion for Body B is set to the y direction, it will be allowed to move along the rail
direction (center image).
The maximum free body limit restricts the displacement of the Body B in the local y direction, keeping
it inside the rail (right image).
In this next example, the Motion Frame is oriented so that the y axis points upwards.
With the Free Body Motion set to the y direction and the minimum limit in the y set to -0.3 m, the
geometry will be able to move freely as much as 0.3 m downwards, stopping when it reaches the
bottom.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
360 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
In this next example, the Motion Frame is oriented in the opposite way (the y axis now points
downwards).
If the minimum y limit is still set to -0.3 m and the maximum y limit is set to 0 m, the geometry will
not move, as it can only move 0 m in the positive y direction.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 361
Tutorial - Drop Weight Test
1. From the Data panel, right-click Motion Frames and then select Create Motion Frame.
2. From the Data panel, select the newly added Frame <01> entry.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
362 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data Editors panel, define the Name: Drop Weight Motion.
2. Click the green plus button (Add Motion) to create a motion using this frame.
5. Set the Minimum Y limit to ensure that the dropweight stops at the anvil.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 363
Tutorial - Drop Weight Test
Once the Motion Frame has been created, it must be assigned to the geometry.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
364 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, on the Wall tab, and then select Drop Weight Motion from the
Motion Frame drop-down list.
Note:
Only effects from gravity forces and not effects from particles, which have yet to be
calculated will be displayed for the Free Body Motion in the Motion Preview window.
1. From the Wall tab, select the Mass sub-tab, and then define the Boundary Mass.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 365
Tutorial - Drop Weight Test
Tip:
If Free Body Rotation was used, it would be needed to specify the moment of inertia to
correctly account for the angular acceleration and velocity.
The drop weight will be raised to a prescribed height, according to the experiment to be reproduced.
1. From the Wall tab, select the Transform sub-tab, and then define Translation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
366 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 367
Tutorial - Drop Weight Test
Tip:
• To better see all the geometries, enable their Transparency settings from the Geometries
Coloring tab.
• To better see the Frame's axes, increase the Default axes size parameter from the Motion
Frames Data entity.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
368 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 369
Tutorial - Drop Weight Test
1. From the Data panel, select Materials. From the Data Editors panel, select Materials Interactions
main tab.
2. From the left drop-down list, select Default Particles, and from the right drop-down list, select
one of its pairs: Default Particles or Default Boundary.
3. Check the values. We will use the default ones for this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
370 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 371
Tutorial - Drop Weight Test
For the Particles step, we will create a new (rock-like) polyhedron-shaped particle group and will
define the Ab-T10 breakage parameters for it.
1. From the Data panel, right-click Particles and then click Create Particle.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
372 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. From the Data Editors panel, on the main Particle tab, define the Shape parameter.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 373
Tutorial - Drop Weight Test
6. To visualize the newly created particle, click View, next to the particle name.
This model works with any shaped (non-spherical) Solid particle shape that comes with Rocky (Poly-
hedron, Briquette, and Faceted Cylinder).
When this model is enabled, the following settings are available on the Breakage | Criteria sub-tab:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
374 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• Reference Size: The reference size used for measuring the other breakage parameters (experimentally
derived).
• Reference Minimum Specific Energy: The minimum energy that can lead to the breakage of a
reference-sized particle.
• Selection Function Coefficient: A measure of the material hardness (known as S in the breakage
expression discussed below).
• Maximum t10 Value: The maximum mass percentage of particles that can be broken into fragments
below 1/10th of the original particle size (known as M in breakage expression discussed below).
In the mining industry, the two values Maximum t10 Value (M) and Selection Function Coefficient
(S) are normally not used.
Rather, their product M·S (or more commonly seen as A·b) is used. This is because having a separate
breakage probability and product fineness are not as important for understanding the breakage
process in most cases only the combined value.
Where
• [S] = kg/J
• [M] = %
Shi, F. N.; Kojovic, T. "Validation of a model for impact breakage incorporating particle size effect",
International Journal of Mineral Processing, 82-3, p. 156-163. 2007.
In addition, the following settings are available on the Breakage | Fragments sub-tab:
• Limits:
– Minimum Absolute Size: Smallest size the particle fragments can be at each breakage incident.
– Minimum Size Ratio: Smallest size the particle fragments can be at each breakage incident, rel-
ative to the parent particle (either a whole particle or a fragment).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 375
Tutorial - Drop Weight Test
– Minimum Volume Fraction for Fragment Disabling: Defines the minimum volume fraction
that a broken particle (fragment) can have before being considered too small to be included in
calculations. Note: In these cases, the too-small fragments will be removed from the system.
• Distribution model: The type of fragment size distribution used in the model.
1. From the Particle tab, on the Breakage sub-tab, check the Enable Breakage checkbox.
2. From the Criteria sub-sub-tab, define Reference Minimum Specific Energy and Selection
Function Coefficient.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
376 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For the Inlets and Outlets step, we will create a Particle Inlet and then set our inlet as the location
from which we want particles to enter the simulation.
1. From the Data panel, right-click Inlets and Outlets and then select Create Particle Inlet.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 377
Tutorial - Drop Weight Test
2. Select the newly created Particle Inlet <01> entry and then from the Data Editors panel, modify
the parameters as specified below.
3. From the Entry Point drop-down list, select Circular Surface <01>.
4. From the Particles sub-tab, click the Add (green plus) button to add a new mass flow rate row.
5. From the Particle column, select Particle <01> from the drop-down list and then define the Mass
Flow Rate in t/h.
Note:
For this simulation, the small Mass Flow Rate combined with the small injection time
limits the inlet to a single particle only, which is the minimum amount that Rocky can
release.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
378 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, click Solver and then from the Data Editors panel, select the Solver tab.
2. From the Time sub-tab, define the: Simulation Duration, and Output Frequencies: Simulation.
Note:
The smaller Output Frequency will help us to better visualize the particle breaking.
3. Under Breakage, define also the Start and Delay after Release values (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 379
Tutorial - Drop Weight Test
4. From the General sub-tab, under Execution, select CPU (or GPU/Multi GPU) as Simulation Target,
and then set the Number of Processors (or Target GPU(s)).
5. Click Start.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
380 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Once initialization is complete, this screen will close automatically and Rocky will process your simu-
lation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 381
Tutorial - Drop Weight Test
Tip:
You can also review this information from the Solver | Summary tab.
5.1.26. SIMULATION
To visualize the simulation as it's processing:
Tip:
Hide or make Transparent the wall geometry to better visualize the particle.
2. Click the Refresh button (or use the Auto Refresh checkbox) to see the results during processing.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
382 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• The particle shape and the number of vertices used to define the shape
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 383
Tutorial - Drop Weight Test
5.1.28. CONCLUSION
Rocky was used to simulate a single-particle Drop Weight Test (DWT) breakage experiment.
Note:
The average of many multiple tests should be used as the basis for any real-life calibra-
tions.
What's Next?
• Now that you have set up and processed this simulation, you are ready to move on to Part B and
post-process this project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
384 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
5.2.1. OBJECTIVE
The purpose of this tutorial is to learn how to post-process the Drop Weight Test (DWT) Ab-T10
breakage simulation we set up and ran in Part A.
Note:
Even though Part A of this tutorial involved running only one drop-weight test, the random
nature of the results expected dictates that the average of many multiple tests should
be used as the basis for any real-life calibrations.
• Evaluate the Particle Size Distribution (PSD) and total amount of the broken fragments
• Evaluate the free body motion and displacement of the drop weight
• Histograms
• Time Plots
5.2.2. PREREQUISITES
This tutorial assumes that you are already familiar with the Rocky user interface (UI) and with the
project workflow.
If this is not the case, please refer to Tutorial 01 – Transfer Chute for a basic introduction about
Rocky usage before beginning this tutorial.
Tip:
If you are unsure which version of Rocky you have, ask your IT department, or contact
Rocky Support for assistance.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 385
Tutorial - Drop Weight Test
c. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop
shortcut.)
d. From the Rocky program, click the Open Project button, find the dem_tut05_files folder,
then from the tutorial_05_A_pre-processing folder, open the tutorial_05_A_pre-pro-
cessing.rocky file.
3. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
5.2.4. HISTOGRAM
To evaluate the fragments' Particle Size Distribution (PSD), a Histogram will be used.
1. From the Window menu, click New Histogram, or use the shortcut Ctrl+H.
2. From the Data panel, select Particles and then from the Data Editors panel, from the Properties
tab drag and drop Particle Size within the Histogram window.
3. To improve the resulting plot, from the top left of the Histogram window, click the Configure
histogram icon.
4. From the Configure Histogram dialog, change the parameters and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
386 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 387
Tutorial - Drop Weight Test
2. From the Data panel, select Particles and then from the Data Editors panel, from the Curves
tab drag and drop Fragments Count within the plot. Results are shown.
1. From the Window menu, select New Multi Time Plot, or use the shortcut Ctrl+M.
2. From the Data panel, under Motion Frames, select Drop Weight Motion.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
388 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
3. From the Data Editors panel, select the Curves tab and then drag and drop Velocity Y within
the Multi Time Plot window.
4. Select Position Y, drag it to the plot area, press and hold the Ctrl key, and then drop it within
the same Multi Time Plot window.
You can open a 3D View to better understand the resulting Multi Time Plot.
Note how the distance L corresponds to the difference between the Free Body Motion Limits and
the final dropweight position.
Also note that it happens because the dropweight stands on a fragment of the particle in the final
output times. Otherwise, the dropweight would fall for 0.3 m (corresponding to the Frame Limits).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 389
Tutorial - Drop Weight Test
For further information on any topic presented, we suggest searching the User Manual, which provides
in-depth descriptions of the tools and parameters.
To access this manual, from the main Toolbar click Help, point to Manuals, and then click User
Manual.
5.2.8. CONCLUSION
Rocky was used to post-process the single-particle Drop Weight Test (DWT) breakage experiment we
ran in Part A.
Note:
The average of many multiple tests should be used as the basis for any real-life calibra-
tions.
• Use Time Plots and Histograms to evaluate the resulting Particle Size Distribution (PSD) and
fragment amount generated after breakage.
• Set up a Multi Time Plot to evaluate the free body motion of the drop weight.
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
390 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 6: Tutorial - High Pressure Grinding Roll
(HPGR)
(Part A) Set up and process a HPGR simulation using the Boundary Collision Statistics Module, the Ab-
T10 breakage model, and the surface wear modification model. Also define a Motion Frame with a free
body rotation and spring-dashpot moment.
(Part B) Learn how to collect and analyze particle fragments, create a color map for the shear wear, and
calculate and compare the power draw in the rollers.
6.1.1. OBJECTIVE
The main purpose of this tutorial is to set up and process a High Pressure Grinding Roll (HPGR) simu-
lation, with the goal of later (in Part B) analyzing both power and wear data on the boundaries.
• In the mining industry, HPGRs are commonly used to reduce the size of hard materials, such as
rock and ore, for further processing.
• Create a Motion Frame with a Free Body Rotation and Spring-Dashpot Moment
• Motion Frames
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 391
Tutorial - High Pressure Grinding Roll (HPGR)
6.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
6.1.3. GEOMETRY
• (2) Hopper
• (3) Deflector
• (4) Roll 1
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
392 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• (5) Roll 2
For all but the first item, which will come from a conveyor template within Rocky, the .stl files can be
found in the tutorial directory.
6. Use the information in the table that follows to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Tip:
Refer to Tutorial 04 – SAG Mill | Part A: Project Setup and Processing for further details
on Modules.
1. Use the information in the table that follows to define your Modules.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 393
Tutorial - High Pressure Grinding Roll (HPGR)
6.1.6. GEOMETRIES
Besides importing the HPGR components, a Feed Conveyor will be added to this tutorial, which will
come from a Conveyor Template included by default within Rocky.
Rocky not only allows Custom geometry import but also provides some default geometries that you
can add to your projects and then customize.
The Feed Conveyor can input the particles if you associate an inlet to it, so you don't need a separate
surface.
1. From the Data panel, right-click Geometries, point to Conveyor Templates, and then click Create
Feed Conveyor.
2. From the Data Editors panel, define the parameters for the resulting Feed Conveyor <01> item
and import the necessary HPGR components by using the information in the table below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
394 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 395
Tutorial - High Pressure Grinding Roll (HPGR)
For the Motion Frames step, we will create three separate Motion Frames: one each for the HPGR
rolls, and one for the deflector plate.
• The Deflector has a Free Body Rotation motion around its axis with a Spring-Dashpot Moment
resisting the torsional motion.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
396 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The moment (M) and force (F) components at the selected direction for this motion will be propor-
tional to the displacement (Spring) and velocity (Dashpot) of the geometry, compared to the original
position.
(6.1)
(6.2)
Where:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 397
Tutorial - High Pressure Grinding Roll (HPGR)
3. Once the Motion Frames are created, they can be assigned to their respective geometries.
Deflector
H Geometries Wall Motion Frame Roll 1 Motion
Roll 1
I Geometries Wall Motion Frame Roll 2 Motion
Roll 2
4. To visualize the newly created Frames, click Motion Frames and then click Preview.
Note:
• The Feed Conveyor does not need a Motion Frame since its movement is already
predefined in the default geometry settings.
• Since the Feed Conveyor has motion without displacement and the Free Body Motions
can only predict the effects of gravity prior to particle interactions being calculated, you
will see only minor movements in the Deflector and more obvious movements on only
the two Roll motions.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
398 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
In addition, the Surface Wear Modification model will be enabled for the Deflector.
1. Use the information in the table below to set up the boundary parameters.
1. To set the interaction properties, use the information in the table below.
Default
Boundary
Materials Dynamic Friction 0.5 [-]
Interactions
Default
Particles
Default
Particles
For the Particles step, we will create a new (rock-like) polyhedron-shaped particle group in a range
of sizes, and will define for it Ab-T10 breakage parameters.
1. Use the information in the table that follows to define these settings.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 399
Tutorial - High Pressure Grinding Roll (HPGR)
1. Use the information in the table below to continue setting up your project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
400 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The Simulation Summary window will be displayed, and then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 401
Tutorial - High Pressure Grinding Roll (HPGR)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
402 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
You can use the Auto Refresh checkbox to view the results during processing.
6.1.16. CONCLUSION
This completes Part A of this tutorial.
Rocky was used to set up and process an HPGR simulation with the goal of later analyzing both power
and wear data on the boundaries.
• Set up a Motion Frame using a free body rotation and a spring-dashpot moment.
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to Part B and post-process
this project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 403
Tutorial - High Pressure Grinding Roll (HPGR)
6.2.1. OBJECTIVE
The main purposes of this tutorial are to analyze the particle fragments, view the surface wear
modifications, and compare the power data that we collected in the High Pressure Grinding Roll
(HPGR) simulation we processed in Part A.
• 3D View window
• Histogram
• Time Plot
6.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
404 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade to the latest version,
or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut06_files folder, and
then from the tutorial_06_A_pre-processing folder, open the tutorial_06_A_pre-pro-
cessing.rocky file.
As particles pass through the rolls of the HPGR, they break into fragments.
By creating a Cube User Process under the rolls, we can collect these fragments and then analyze
them by size.
1. To start this first analysis, use the information in the table that follows.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 405
Tutorial - High Pressure Grinding Roll (HPGR)
Particles Time
Selection <01>
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
2. From the Data panel, under User Processes, right-click Particles Time Selection <01>, point to
Show in new | Histogram, and then click Particle Size.
A Histogram window will be created showing the count of particles (and fragments) for each size
range that made it into the Cube over the full course of the simulation.
3. From the upper left corner of the Histogram window, click the Configure histogram icon, and
then use the information in the table below to define the settings.
4. Click OK.
The final Histogram shows the cumulative particle (and fragment) size after the original particles go
through the rolls.
Note that more than 50% of the particle mass accounted for within the Cube is of a smaller particle
size ([0.13, 0.15] (m)) than the smallest particle originally injected (0.15 m).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
406 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
6.2.5. DISPLACEMENT
Because in Part A we enabled the Surface Wear Modification model for the Deflector wall, we are
now able to evaluate the results.
Modifications to the geometry can be viewed using the Filter User Process, and then defining Dis-
placement as the Property to analyze. This will show the distance each node was moved.
Deflector
B User Processes Property Property Displacement : X
Mode Cut
Filter <01>
Type Range
Minimum Value 0.0001 [m]
Maximum Value 1 [m]
3. Then, use the information in the table below to change the coloring.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 407
Tutorial - High Pressure Grinding Roll (HPGR)
The results should show only the triangles of the deflector surface that had displacements within the
selected displacement range (as shown).
Tip:
• Use the Data panel eye icons to hide all but the Deflector Geometry and the Property
<01> User Process.
• Use the options on the Time toolbar to view how wear changes over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
408 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Another possible analysis is to verify the Wear Volume Loss that the Geometry suffered. Follow the
steps below to visualize the Deflector Geometry's volume loss due to wear and create a Time Plot of
the Wear Volume Loss property.
1. Use the table below to create a color map of the wear volume loss data.
Wear
Volume Loss
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 409
Tutorial - High Pressure Grinding Roll (HPGR)
Note:
2. Under Color Scales select Wear Volume Loss. In the Coloring Tab, click the three dots option
to the right of "Color-scale".
4. Right-click the blue Mark on the left side of the scale and select grey for the Geometry.
5. Double-click the scale near the Mark you have just altered to create a new Mark. Drag it to
1% (0.01) and set its color to blue.
This process allows you to only color the regions that were actually hit by particles, according
to its degree of volume loss.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
410 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
The Image below represents the Deflector Geometry colored by its degree of wear volume
loss due to the interaction with particles.
Tip:
• You can alter the Color Scale Limits and the colors used in the process to
perform an analysis to your own liking.
• Use the options on the Time toolbar to view how wear changes over time.
6. Use the information in the table below to plot the property over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 411
Tutorial - High Pressure Grinding Roll (HPGR)
You might recall that in Part A we enabled the Module for Boundary Collision Statistics, and chose
to collect Intensities.
Now that we have that data, we can use it to create a color map of the intensities data, such as shear.
1. Use the table below to create a color map of the Intensity : Shear.
2. Under Geometries, use the eye icons to hide all but the Deflector component.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
412 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Tip:
You can use the Time slider to see how shear intensity changes over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 413
Tutorial - High Pressure Grinding Roll (HPGR)
We can use the same Intensities data we chose to collect in Part A to measure the power draw directly
from the geometries.
1. Use the information on the table below to create a Time Plot of the power used for the rolls.
Roll 1
C Geometries Curves Drap and drop Power onto the Time Plot
Roll 2
This is a useful way to compare the results with real data and to calibrate the material properties
correctly.
6.2.10. CONCLUSION
This completes Part B of this tutorial.
Rocky was used to study breakage, surface wear, and power draw in an HPGR.
• Use a Cube and a Particles Time Selection User Process to collect and analyze particles and
fragments.
• Use the Wear Volume Loss property to view a color map of wear.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
414 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
What's Next?
• If you have completed this tutorial successfully, then you are ready to move on to next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 415
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
416 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 7: Tutorial - Conical Dryer
(Part A) Model conductive heat transfer by enabling the thermal model and use the motion features
included by default in Rocky to define complex, combined motions.
(Part B) Analyze conductive heat transfer by using Camera Presets, plotting particle temperature, and
tracking individual particles using the Cell Inspector.
7.1.1. OBJECTIVE
The two main purposes of this tutorial are to learn how to:
2) Use the motion features included by default in Rocky to define complex, combined motions in the
simulation of a Conical Double Screw Vacuum Dryer.
• This equipment is commonly used in the chemical and pharma industries to gently dry sensitive
products using low amounts of heat.
• Thermal Model
• Motion Frames
7.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 417
Tutorial - Conical Dryer
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
7.1.3. GEOMETRY
• (1) Lid
• (2) Tank
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
418 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• (3) Valve
• (7) Ball
6. Use the information in the table that follows to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials.
• In the previous step, we chose a numerical softening factor lower than 1, which can cause errors
within the heat transfer calculations due to the material being modeled softer than it is in reality.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 419
Tutorial - Conical Dryer
• Adding a conduction correction model helps to avoid over-predictions on the contact area in these
cases.
Tip:
For more information about these models and when to apply them, refer to the Thermal
conduction correction models chapter in the DEM Technical Manual.
1. From the Thermal sub-tab, mark the Enable Thermal checkbox, and then define the Conduction
Correction Model (as shown).
1. From the Data panel, right-click Geometries and then click Import Wall.
2. From the Select file to import dialog, navigate to the dem_tut07_files folder that you previously
downloaded, find the geometry folder, multi-select all of the 7 files shown above, and then click
Open.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
420 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. From the Import File Info dialog, select "mm" as Import Unit, ensure that the option Convert Y
and Z axes is cleared (unchecked), and then click OK.
• In order to create complex motions, Rocky allows new Motion Frames (children) to be linked to
previously created Motion Frames (parents).
• The children Motion Frames will move together with the parent Motion Frame and will also
have their own unique motions.
Note:
To enable even more complex nested motions, a child Motion Frame is allowed to have
a Local Keep in Place axis while its parent frame is set to Global Keep in Place. However,
since we want to have motions with displacement in this simulation (Keep in Place is
Disabled). See Tutorial 21 for an exemple of application of this functionality.
• (1) Central Shaft Motion: This will rotate the whole system (Central Shaft, Longer Screw, and Short
Screw) around the dryer's vertical axis.
• (2) Longer Screw Motion: This will rotate the longer screw around its own axis.
• (3) Short Screw Motion: This will rotate the short screw around its own axis.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 421
Tutorial - Conical Dryer
This will be the parent frame upon which the next two frames will depend.
2. To create a child frame that is dependent upon the parent frame you just created, from the Data
panel, right-click Central Shaft Motion, and then select Create Motion Frame.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
422 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
A new (child) frame called Central Shaft Motion <01> appears nested under the first (parent)
frame. Besides the names, the connection between the two frames is also indicated by the name
of the parent appearing in bold when the child is selected.
3. Use the table that follows to define the parameters for this first child Motion Frame.
4. To create the second dependent (child) frame, use the information in the table that follows.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 423
Tutorial - Conical Dryer
Once the Motion Frames have been created, each frame must be assigned to a geometry.
Central Shaft
B Geometries Wall Motion Frame Longer Screw
Motion
Longer Screw
C Geometries Wall Motion Frame Short Screw Motion
Short Screw
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
424 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
Use the eye icons on the Data panel to hide the Tank and Lid geometries.
The Time toolbar can be used to "play" the preview. The yellow color of the slider indicates that the
simulation has not yet been processed.
Note:
2. From the Data Editors panel, select the Wall tab, and then from the Thermal sub-tab, define
Thermal Boundary Type and Temperature (and unit).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 425
Tutorial - Conical Dryer
1. Use the table below to define the material values for this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
426 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
For this tutorial, the Materials Interactions values will be left as default.
For the Inlets and Outlets step, we will create a volumetric inlet with thermal properties, which will
inject all the particles at once before the simulation starts.
1. Use the information in the table below to finish setting up your project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 427
Tutorial - Conical Dryer
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
428 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 429
Tutorial - Conical Dryer
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
7.1.15. CONCLUSION
This completes Part A of this tutorial, in which Rocky was used to set up and process a thermal sim-
ulation of a Conical Double Screw Vacuum Dryer.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
430 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
What's Next?
• If you completed this tutorial successfully, you are ready to move on to Part B and post-process
this project.
7.2.1. OBJECTIVE
The main purpose of this tutorial is to learn how to analyze conductive heat transfer within the
Conical Double Screw Vacuum Dryer simulation we created in Part A.
• 3D View windows
• Properties
• Color Scale
7.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 431
Tutorial - Conical Dryer
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut07_files folder,
then from the tutorial_07_A_pre-processing folder, open the tutorial_07_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
• A preset enables you to save the exact rotation (tilt), magnification (zoom), and location (pan) settings
you have defined in a 3D View.
• In this way, you can reuse those exact views for other analyses in the same project.
You can define 3D Views using the keyboard, mouse or the Camera Visualization toolbar (shown
in blue).
For this tutorial, we will use the Fit menu (shown in yellow) and mouse to change our 3D View, and
will then use the Custom Preset toolbar (shown in red) to save our views for reuse later.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
432 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
2. By default, the view is centered and oriented to the +Z axis. Let's change it as follows:
a. With the new window selected, ensure the Change projection button is set to Orthogonal
(as shown).
b. Find the Fit menu, and then select Camera Preset: -Z.
d. Select the Fit button (or click R) to reorient the geometry in the center of the window.
e. Use your mouse's center wheel to zoom (increase magnification) into the view as much as you
can while keeping all the parts in view.
f. Use your mouse's right button to drag the geometry towards the right side of the window,
leaving a empty area on the left.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 433
Tutorial - Conical Dryer
3. With your new view changed (as shown), from the Custom Presets toolbar, click the Add preset
button (green plus) (as shown).
4. From the Create new preset dialog, enter the name (as shown) and click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
434 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. With the same 3D View window selected, from the Fit menu, select Camera Preset: +Y 30.
2. Use your mouse's center wheel to zoom (increase magnification) into the view as much as you
can while keeping all the parts still within view.
3. Use your mouse's right button to drag the geometry towards the right side of the window, leaving
an empty area on the left (results shown).
4. From the Custom Presets toolbar, click the Add preset button (green plus).
5. From the Create new preset dialog, enter the name (as shown) and click OK.
1. Within the same 3D View window, use your left mouse button to rotate the view straight up until
the Y (green) and Z (blue) axes are both pointing towards you.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 435
Tutorial - Conical Dryer
3. Use your mouse's center wheel to zoom into the view until the tank touches both sides of the
window.
4. Use your mouse's right button to drag the geometry up until the valve is fully in view and only
the bottom third of the tank is visible. (Results shown.)
5. From the Custom Presets toolbar, click the Add preset button (green plus).
6. From the Create new preset dialog, enter the name (as shown) and click OK.
Next, create two more 3D View windows (Ctrl+D) and apply the other two presets to those.
You should now have three separate windows, each with a different preset view (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
436 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Now that these views and windows are set up exactly the way we want, let's export that setup criteria
so that we can re-use it in a similar project later.
• 3D View windows
• Workspace tabs
Limitations: This method does not currently export setup information for the following:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 437
Tutorial - Conical Dryer
2. From the Windows panel, use the checkboxes to disable all but the 3D View windows (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
438 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Your Workspace should now contain only neatly organized 3D View windows.
1. From the File menu, point to Export project context, and then click To file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 439
Tutorial - Conical Dryer
2. From the Save project context dialog, choose a location and enter a File name for the
.rocky_template file, and then click Save.
The Finished exporting context window appears, confirming the items exported (as shown).
When you are ready to re-use this setup information, open a similar project, and then from the File
menu, point to Import project context, click From file, navigate to and select the .rocky_template
file you want, and then click Open.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
440 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. Select the 3D View window that is showing the Full View preset. (Or, from any other 3D View
window, switch to that view by selecting Full View from the Custom Presets toolbar.)
2. From the Data panel, under Geometries multi-select the Lid and Tank geometry components.
3. From the Data Editors panel, select the Colorings tab, and then enable the Transparency
checkbox (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 441
Tutorial - Conical Dryer
1. From the Data panel, select Particles and then from the Data Editors panel, select the Properties
tab.
2. Drag and drop the Temperature property (available only when the Thermal Model is enabled)
to the 3D View window.
3. Rocky will create a Color Scale using the default color scheme and limits based upon the minimum
and maximum values of the selected Property at the given time.
4. To change the display options, right-click the Color Scale and then select Edit. This shows options
from the Coloring tab on the Data Editors panel.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
442 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
2. In the Color-scale dialog that appears, a predefined Color-scale can be selected or a custom one
created by moving and/or changing the color of the dots. For this tutorial, click the ... button and
select the blue-to-red color scale (as shown), and then click OK.
3. Back on the Coloring tab, the Limits options can be set manually by selecting User Defined from
the drop down list. For this tutorial, define the Limits values and the Color-scale unit (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 443
Tutorial - Conical Dryer
1. From the Window menu, click New Time Plot (or press Ctrl+T).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
444 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
2. Use the information in the table below to define the Time Plot.
3. Right-click the Plot grid, point to Axes Layout, and then select By Quantity.
Tip:
From the Select The Statistics to Plot dialog box, clear any other checkbox that is possible
enabled.
The Cell Inspector User Process allows you to evaluate results on a single selected Triangle (Geomet-
ries), Particle, or Eulerian Bin.
For this tutorial, two Particles will be located when motion starts and then their Temperatures
tracked over time: One at the top-center of the Cone and the other at the bottom. (Note that the
actual ID of your particles might differ slightly.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 445
Tutorial - Conical Dryer
1. Find (or create from new) the 3D View window you created earlier that uses the Shaft view
Preset, and the other that uses the Valve view Preset.
2. For both windows, turn the Particles color to gray, and then make the Lid and Tank Geometries
transparent.
4. With the Shaft view window selected, from the Data panel right-click Particles, point to Processes,
and then click Cell Inspector.
5. From the Data Editors panel, on the Coloring tab (for the Inspector <01> entity), change the
Node color to red.
6. From the Inspector tab, change the Name (as shown) and then use the arrows (or type numbers)
on the Particle ID list box to show on the 3D View the location of individual particles until you
find one at the top of the Cone (in this tutorial, ID 802).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
446 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
7. With the Valve view window selected, repeat this process to create another Cell Inspector User
Process identifying a particle at the bottom of the Cone (in this tutorial, ID 334). Change the Name
of this process to Bottom of Cone.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 447
Tutorial - Conical Dryer
8. From the Properties sub-tab, clear the Hide unchecked items checkbox (as shown).
9. From the Properties sub-tab, right-click Temperature, point to Time Plot, and then click Show
in New.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
448 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
10. From the Data panel, under User Processes, select the Top-center of Cone inspector.
11. From the Properties sub-tab, ensure the Hide unchecked items checkbox is still cleared.
12. From the Properties sub-tab, right-click Temperature, point to Time Plot, and then click Show
in Current.
• Up until 4 seconds, the particle at the bottom of the cone experienced heating due to wall contact.
After this, it experiences some heat loss due to conduction with cooler neighboring particles, until
it starts to heat up again around 7 seconds.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 449
Tutorial - Conical Dryer
• The particle at the top-center of the cone remained more in the middle of the equipment and in-
creased its temperature more steadily.
• By the end of the simulation, both particles have the temperature increased.
7.2.13. CONCLUSION
This completes Part B of this tutorial, in which Rocky was used to post-process a thermal simulation
of a Conical Double Screw Vacuum Dryer.
• Save those views for use in similar projects by Exporting project context
• Create tracers using the Cell Inspector User Processes to evaluate individual particle behavior
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
450 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 8: Tutorial - Cone Crusher
(Part A) Define the mantle and shaft movements required for a Cone Crusher, set up Tavares breakage
parameters, and collect Boundary Collision Statistics for later post-processing.
(Part B) Track the position of tagged particles, compute the resulting PSD of resulting fragments, isolate
broken fragments from whole particles, and calculate the average power draw.
8.1.1. OBJECTIVES
The two main purposes of this tutorial are to learn how to define the mantle and shaft movements
required for a Cone Crusher simulation, and how to set up Tavares breakage model parameters.
• Turn on the collection of intensities data for later post-processing of power draw
• Particle Orientation
8.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 451
Tutorial - Cone Crusher
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
8.1.3. GEOMETRY
• (2) Housing
• (6) Concave
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
452 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Therefore, we must enable the collection of Boundary Collision Statistics during the Modules step.
1. Use the information in the table that follows to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Note:
With Intensities enabled, Rocky will collect the average dissipation and impact power
values measured by each individual geometry triangle.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 453
Tutorial - Cone Crusher
1. Use the information in the table that follows to continue setting up your Rocky project.
Feed Hopper
C Geometries Create a Circular Surface
D Geometries Circular Surface Center Coordinate 0, 1.65, 0 [m]
Max Radius 0.46 [m]
Circular
Surface <01>
• The Mantle rotates eccentrically around the vertical axis, pressing the particles on the Concave
and promoting breakage. At the same time, it is free to rotate around the Shaft.
• The intersection between the Mantle Axis and the Rotation Axis characterizes the Pivot Point.
• It is important to have your mantle geometry rotated by the desired Mantle Angle and to know
in which direction this is done to properly set up the Cone Crusher movement.
These motions can be created in Rocky with a special Cone Crusher Frame that is added during the
Motion Frames step.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
454 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
When the new Cone Crusher Frame is added to your project, the following options are available in
the Data Editors panel:
• Pivot Point: Coordinate of the point around which the Mantle and Shaft will pivot.
• Rotation Axis: The axis around which the Mantle and Shaft are rotated.
• Initial Orientation: The vector about which the Mantle and Shaft begin their rotation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 455
Tutorial - Cone Crusher
In addition, the Cone Crusher Frame will automatically create two separate motions that are designed
to be applied to the appropriate geometries.
Important:
These motions appear only in the Motion Frame list for the imported Geometry and are
not listed under Motion Frames in the Data panel.
• Mantle Angle:
(8.1)
• Initial Orientation:
(8.2)
For the Motion Frames step, we will add a type of motion frame that is specific to the cone crusher:
1. From the Data panel, right-click Motion Frames, and then select Create Cone Crusher Frame.
2. Use the information in the table below to define the new frame.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
456 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The frame's two components can now be assigned to their respective geometries.
1. Use the information in the table that follows to assign the new motions.
1. From the Data panel, click Motion Frames and then click Preview.
A new Motion Preview window will appear. To better see the results:
2. Use the Data panel eye icons to hide all the geometries except Mantle Cone and Mantle Shaft.
3. Also, to better see the two separate frame axes, enable the Transparency checkbox for both the
Mantle Cone and Mantle Shaft geometries.
Note:
When you play the preview, no motions will be seen before 2.5 s.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 457
Tutorial - Cone Crusher
• One for all wall parts (Default Boundary), which we will use as defined by default.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
458 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. Use the information in the table below to define these materials and their interactions.
Default
Boundary
Important:
The Young's Modulus value was lowered to speed up tutorial processing. For breakage
simulations, it is recommended to set these values between 5e+08 and 1e+09 Pa.
1. Use the information in the table below to start defining your particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 459
Tutorial - Cone Crusher
• By default, particles are injected into the domain perpendicular to the inlet (top image).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
460 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• You can change the orientation to have all particles come in at a defined angle (middle image),
come in at random angles (bottom image), and many options in between.
1. From the Orientation sub-tab, enable the Random Angle checkbox, and then define the Half
Range (x,y,z) values (as shown).
Tip:
• For default particle shapes, or other symmetrical custom shapes, setting your values to
90, 90, 90 ensures a completely random orientation in all directions.
• For non-symmetrical custom particle shapes (such as a bottle), you will need to set your
values to 180, 180, 180 to ensure a completely random orientation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 461
Tutorial - Cone Crusher
Like Ab-T10, the Tavares model is based upon the Voronoi fracture particle subdivision algorithm.
However, the breakage energy probability and resulting fragment size distribution are based upon
the Tavares et al. (UFRJ) approach, which:
• Models fractures by low-energy stressing, which is most relevant when particles are subject to a
complex series of loading events, as within crushers.
• Has been able to describe the progressive growth of crack-like damage that ultimately leads to the
fracture of a particle under stresses significantly lower than those required for breakage in a first
event.
Tip:
Refer to the Tavares Breakage Model Description and Calibration Guidelines white paper
for more information.
2. From the Breakage | Criteria tab, define the Model and leave all the model's parameters as default.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
462 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. From the Breakage| Fragments sub-tab, define Minimum Absolute Size and Distribution
model.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 463
Tutorial - Cone Crusher
Important:
The Minimum Absolute Size value used in this tutorial was increased to speed up pro-
cessing time. Refer to the Fragment size distribution models section of the DEM Tech-
nical Manual for details on how best to set this value.
For the Solver step, we will also define our breakage start and delay times.
1. Use the information in the table below to finish setting up your project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
464 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 465
Tutorial - Cone Crusher
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
466 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
8.1.17. CONCLUSION
This completes Part A of this tutorial, in which Rocky was used to set up and process a cone crusher
simulation.
• Collect Boundary Collision Statistics data for later post-processing of power draw.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 467
Tutorial - Cone Crusher
• Use the specialized Cone Crusher Frame to easily set up and apply specific mantle and shaft mo-
tions.
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to Part B and post-process
this project.
8.2.1. OBJECTIVES
The main purpose of this tutorial is to learn how to analyze the results from the Cone Crusher simu-
lation that we set up and processed in Part A.
• Histograms
• Time Plots
– Cylinder
– Cube
– Property
– Divisions Tagging
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
468 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
8.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
c. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop
shortcut.)
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the tutorial_08_A_pre-processing
folder, and then open the tutorial_08_A_pre-processing.rocky file.
e. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
• Using a Cube User Process to define the area beneath the cone.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 469
Tutorial - Cone Crusher
• Applying a Particles Time Selection User Process to the Cube in order to capture data for the
whole simulation length.
1. Use the information in the table below to set up the Cube and Particles Time Selection User
Processes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
470 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Particles Time
Selection <01>
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials to find the detailed in-
structions you need.
2. Use the information in the table below to create and configure the Histogram.
Particles Time
Selection <01>
B Histogram (window) Configure histogram (button)
C Configure Histogram Weight Particle Mass
(dialog box) Number of Bins 20
Cumulative Bins (Enabled)
Percent Values (Enabled)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 471
Tutorial - Cone Crusher
Using the Divisions Tagging Calculation of the Particles in the hopper, we can identify from what
section of the hopper these particles are coming from, which is helpful information for improving
the equipment design.
For this case, we will create a Cylinder User Process at an Output Time far enough into the simulation
that the Hopper is full of particles.
2. Use the information in the table below to create and configure the Cylinder.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
472 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
3. With the Cylinder set up, right-click Particles, point to Particles Calculations, point to Divisions
Tagging, and then click Cylinder <01>.
This will generate divisions within the cylinder that was selected, the result of which can be seen
in a 3D View window.
4. From the Data panel, under Calculations, select the new Divisions Tagging (Cylinder <01>)
entry.
Tip:
With a 3D View window open and selected, you can visualize the tagged particles by en-
abling the Transparency checkbox from the Coloring tab.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 473
Tutorial - Cone Crusher
Tip:
Use the eye icons next to Cylinder and Cube (under User Processes in the Data
panel) to hide the Cylinder and Cube coloring and show only the Particles coloring.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
474 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Lastly for this analysis, a Cube will be added to separate the accumulated Fragments from the rest
of the Particles.
Then, another Histogram will be created to show the hopper region from which the accumulated
Fragments are originating.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 475
Tutorial - Cone Crusher
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
476 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 477
Tutorial - Cone Crusher
From the Histogram, it can be seen that most of the accumulated Fragments are coming from bins
1 and 12 of the hopper.
This information may not have been obvious before the Divisions Tagging analysis. Now, an appro-
priate solution can be devised if this particular result is undesirable.
One way to isolate these fragments is by using the Laguerre-Vonoroi Size property, which has the
following characteristics:
• It is equal to the diameter of a sphere used to generate the fragments using the Laguerre-Voronoi
tessellation.
• This diameter, , can be defined as twice the minimum distance between a particle's center of
gravity, , and the particle's sides, , as shown in the following equation:
(8.3)
Using this property, the particles that did not break will have values equal to zero.
Therefore, to filter out only the fragments, we will select only the particles that have a Laguerre-
Vonoroi Size value greater than zero.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
478 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. Select a 3D View window (or create a new one by pressing Ctrl + D).
3. From the Data panel, hide Particles and all other Particles Calculations and User Processes
(besides Filter <01>) using the eye icons.
4. From the Data Editors panel, on the Filter <01> entity, select the Properties tab, and then drag
and drop Laguerre-Vonoroi Size onto the 3D View window. (Results shown below.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 479
Tutorial - Cone Crusher
The view now shows only the particles that have broken (fragments).
We can now use the resulting data to estimate how much power is required by the equipment, which
is commonly known as Power Draw.
The Average Power Draw of the geometries can be estimated by the following expression:
(8.4)
where:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
480 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. Use the information in the table below to plot the power curves for the cone and shaft geometries.
Mantle Cone
B Geometries Drag and Drop onto Time Plot <01>
window
Mantle Shaft
The plot shows the operation conditions start after 2.5 seconds (in which the breakage starts), so
= 2.5s.
Now, let's apply the Average Power Draw formula to the Power curve.
1. Use the information in the table below to continue with the analysis.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 481
Tutorial - Cone Crusher
Mantle
Shaft
B Add new Name Average Power
Output W
(dialog box)
unit
Inputs | (Enabled)
Power
C Custom Curves Expression cumsum(A)*OUTPUT_FREQUENCY/(TIME_ELAPSED-2.5)
(dialog box)
The new Average Power (Custom) curve appears on the Curves tab for the selected geometry, but
is also made available for all other geometries automatically.
Now, let's sum the Average Power of the Mantle Cone and the Mantle Shaft geometries to estimate
the Average Power Draw of the equipment:
1. Use the information in the table below to continue with the analysis.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
482 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Each row of this table shows the average power measured from 2.5s to the time shown in Column
A.
Thus, the Average Power Draw of the simulation is in the last row of this table and it is 4840.28 W
(as shown).
Note:
The values you end up with in your project may vary slightly from the ones shown in this
Tutorial.
8.2.10. CONCLUSION
This completes Part B of this tutorial, in which Rocky was used to analyze the results from a cone
crusher simulation.
• Use Cube and Particles Time Selection User Processes to plot the PSD of fragments in a Histo-
gram.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 483
Tutorial - Cone Crusher
• Use a Cylinder User Process and Divisions Tagging Particle Calculations to track specific particles
and fragments through the equipment.
• Use the Property User Process and the Laguerre-Voronoi Size Property to isolate the particle
fragments from the whole particles.
• Use the Intensities Boundary Collision Statistics data we collected to calculate the power draw.
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
484 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 9: Tutorial - Tablet Coater
(Part A) Set up and process a simulation that can make use of the intra- and inter-particle collision
statistics modules that are included by default in Rocky, and import a custom convex particle shape.
(Part B): Use custom Polyhedron (Envelope) User Process shape to define the spray zone, and then make
use of the Residence Time information from that area to calculate the Coefficient of Variability (CoV).
Analyze the collision statistics and contacts data that was collected.
9.1.1. OBJECTIVE
The main purpose of this tutorial is to learn how to set up and process a simulation that can make
use of the intra and inter-particle collision statistics modules that are included in Rocky.
• We will be analyzing the simulation results and data collected in Part B and C.
The scenario considered is that of analyzing the performance of a tablet coating operation, which is
often used in the pharmaceutical and food processing industries.
• Modules, including:
9.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 485
Tutorial - Tablet Coater
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
9.1.3. GEOMETRY
The primary geometry used in this tutorial is the Drum, shown above.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
486 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
6. Use the information in the table below to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar
with, please refer to the Rocky User Manual and/or other Tutorials (via the Intro-
ductory Tutorials and Advanced Tutorials) to find the detailed instructions you
need.
Collects the mean, standard deviation, skewness, and kurtosis values of the impact relative ve-
locity in the normal directions, resulting from the collisions recorded for each particle, during an
output timestep.
Collects the collision frequency values measured by different regions of the representative particle
of the selected particle set. This can be useful for analyzing collision incidence on the particle surface.
1. Use the information in the table that follows to define your modules and other project settings.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 487
Tutorial - Tablet Coater
Drum
H Materials Material Use Bulk Density (Cleared)
Density 1150 [kg/m3]
Default
Particles
I Materials Materials Interactions Static Friction 0.39 [ - ]
| Dynamic Friction 0.39 [ - ]
Default Restitution 0.78 [ - ]
Particles Coefficient
Default
Boundary
Materials Interactions Static Friction 0.45 [ - ]
| Dynamic Friction 0.45 [ - ]
Default Particles Restitution 0.78 [ - ]
Coefficient
Default
Particles
J Particles Create Particle
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
488 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For the Particles step, we will create a custom polyhedron particle set by importing an .stl file of a
tablet shape, as explained on the next section.
2. From the Select file to import dialog, navigate to the dem_tut09_files folder that you previously
downloaded, find the geometry folder, select the Tablet.stl file, and then click Open.
3. From the Import File Info dialog, ensure Import Unit is defined as m, and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 489
Tutorial - Tablet Coater
Note:
The tablet shape we just imported is a perfect convex. To learn how Rocky handles im-
porting convex shapes that are not perfect, refer to the Appendix section at the end of
this tutorial.
The Original Size Scale method allows you to use the size of the imported particle geometry as the
base from which you can scale your final particle size.
For example:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
490 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Size sub-tab, select Original Size Scale from the Size Type list.
2. To visualize the newly created particle, click the View button. A new Particles Details window
will appear showing the (transparent) particle geometry, its geometric center (yellow dot), and its
center of mass (blue dot).
3. From the Coloring tab, enable the Edges checkbox to see the meshing in the Particle Details
view.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 491
Tutorial - Tablet Coater
Tip:
To ensure a good analysis of properties distribution on the particle surface, ensure that
you use a particle with a high resolution of triangles next to the edges.
Always during processing, Rocky calculates and makes use of Contacts data. But to save file space,
you can choose whether or not to keep it.
For this tutorial, we will enable the collection of the Contacts data so that we can analyze the Stress
Components of the particles later in post-processing.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
492 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, select Contacts and then from the Data Editors panel, ensure the Contacts
tab is selected.
Note:
Because this tutorial has convex particles, processing with GPU will be faster if you have
that option.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 493
Tutorial - Tablet Coater
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
494 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 495
Tutorial - Tablet Coater
9.1.14. CONCLUSION
This completes Part A of this tutorial, in which Rocky was used to set up and process a tablet coating
simulation.
• Turn on the collection of particle collision statistics and contacts data for later analysis.
What's Next?
• If you have completed this tutorial successfully, then you are ready to move on to Part B and post-
process this project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
496 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Rocky categorizes even mostly convex shapes as concave if there is even the smallest dent or hollow
detected.
• In a convex shape, any straight line that connects any two faces will always be contained inside
the shape (a).
• In a concave shape, a similar line connecting two faces may have portions that fall outside the
shape (b).
Because Rocky uses different calculations for shapes it categorizes as concave, it is very important
that you make sure Rocky categorizes your shape the way you want.
If you ever want to import a particle shape that is not a perfect convex (but you still want Rocky to
treat it as such), you can take one of the following steps:
1. Improve your convex .stl design and then re-import it into Rocky.
-OR-
If Rocky detects that your convex shape is imperfect, it will ask you to choose one of the following
options (as shown):
1. Keep the shape as is: The particle will be treated as concave, and will use concave-based calcu-
lations.
2. Convert the shape to convex: Rocky will redraw the imperfect shape to ensure it is categorized
as convex, and will use convex-based calculations.
9.2.1. OBJECTIVE
The main purpose of this tutorial is to analyze the results and data that was collected from the tablet
coating simulation we set up and processed in Part A.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 497
Tutorial - Tablet Coater
• Use the Residence Time information to calculate the Coefficient of Variability (CoV)
• Analyze the collision statistics and contacts data that was collected
• Eulerian Statistics
9.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
3. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop shortcut.)
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or later.
If you have an earlier version of Rocky, please upgrade Rocky to the latest version, or
complete Part A from scratch.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
498 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
4. From the Rocky program, click the Open Project button, find the dem_tut09_files folder, then
from the tutorial_09_A_pre-processing folder, open the tutorial_09_A_pre-processing.rocky
file.
5. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
With the processing complete, we can now begin analyzing the simulation results.
Rocky allows the creation of a new Property variable, Residence Time, which computes the time
each particle spent inside a predefined User Process region (Cube, Cylinder, or Polyhedron).
For this tutorial, two Polyhedron User Processes, representing two elliptic spray cones, will be im-
ported using an .stl geometry.
Representation of the Tablet Coating Process with Nozzles and Spray Cone:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 499
Tutorial - Tablet Coater
1. From the Data panel, right-click Particles, point to Processes, and then select Polyhedron (En-
velope).
2. From the Select the STL file for the polyhedron dialog, navigate to the dem_tut09_files folder
that you previously downloaded, find the geometry folder and then select the Spray_Cone.stl
file, and then click Open.
3. From the Import File Info dialog, set the Import Unit to mm, and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
500 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
4. From the Data panel, under User Processes, select the newly created Polyhedron <01> entry.
5. From the Data Editors panel, on the Polyhedron tab, set the Center and the Scale.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 501
Tutorial - Tablet Coater
1. Repeat the process on the previous section to create another Polyhedron (Envelope) User Process,
select the same Spray_Cone.stl geometry, and import it in mm.
2. From the Data panel, under User Processes, select this new Polyhedron <02> entry and then
from the Data Editors panel, set the Center and the Scale.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
502 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
After this second import you should have two Polyhedrons representing the spray nozzles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 503
Tutorial - Tablet Coater
1. From the Data panel, right-click Particles, point to Particles Calculations, point to Residence
Time, and then select Polyhedron <01> (as shown). A new Calculations entity named Residence
Time (Polyhedron <01>) will be created.
By combining the Residence Time results from each cone, we will be able to see how well the full
spray zone is coating the particles over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
504 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. Use the information in the table that follows to continue setting up your project.
A new property called Total Residence Time (Custom) will appear among the Particles Properties.
This can be used like any other Property to color the Particles and/or create new plots.
1. From the Data Editors panel for the main Particles entity, select the Coloring tab and then under
Nodes, select Total Residence Time (Custom) for Property.
2. Use the Time slider to view the changes at different output times.
Note:
You may have to hide the Polyhedrons user processes using the eye icons on the Data
panel.
As shown in the screenshots below, some particles spend more time in the spray zone than others.
At 60 s, the coating is still rather uneven as seen by the presence of many different colored particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 505
Tutorial - Tablet Coater
The coating mass depends primarily on the Residence Time inside the spray zone, so we can define
the CoV as:
(9.1)
To create the CoV analysis, we need to start with a Time Plot. Follow the instructions on the next
few slides.
1. Create a new Time Plot. (From the Window menu, click New Time Plot (Ctrl+T).)
2. Use the information in the table that follows to define the Time Plot.
1. Right-click whithin the plot grid, point to Axes Layout, and then click By Quantity.
Now, let's calculate the Coefficient of Variability (CoV) by creating a new Formula in the Time Plot.
1. Use the information in the table that follows to define the formula.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
506 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
For the formula to work, the expression must represent the Std. Deviation divided by
the Average of the Total Residence Time (Custom) property. If your columns appear
in a different order, adjust the formula accordingly.
2. Scroll down to the end of the table and note that the CoV at 60 s reaches only 20%.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 507
Tutorial - Tablet Coater
4. At the top of the tab, click the curve names for Std. Deviation and then Average to hide them
from the plot (as shown). The CoV curve will be the only one visible.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
508 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
5. From the Plot tab, right-click the Time axis, and then click Customize Axis.
6. Use the information in the table below to define the Axis Configuration values.
7. Click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 509
Tutorial - Tablet Coater
A common analysis is to extrapolate the CoV results to estimate the time needed for a specific value
of CoV.
With the extrapolation, you do not need to run the full, extended simulation (which can take many,
many hours to process).
The linear region at the end of the log-log plot (steady state) is seen after 10 s of simulation time,
and will be used as the basis for the extrapolation.
We will accomplish this by exporting the data out of the plot into a .csv file, opening that file in a
separate spreadsheet program, and then using that program to manipulate the data as needed.
1. Right-click an empty space within the plot, point to Export, and then click Curves.
2. From the Export Configuration dialog, clear the Average and Std. Deviation checkboxes (as
shown), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
510 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
3. From the Export Curve(s) dialog, enter a File Name for the resulting .csv file, choose a folder
location, and then click Save.
5. Using the spreadsheet program, fit a curve to the CoV results by using the following equation:
(9.2)
where:
• is the CoV
• is the time
6. For the extrapolation, use the steady state time range between 10 - 60 s. (Results shown as orange
dotted line.)
7. Using a desired regularization limit of 6.25% CoV (shown as green dotted line), locate the time it
meets the fitted CoV (shown as red dot).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 511
Tutorial - Tablet Coater
According to the literature (Boehling et al., 2016 [1] (p. 543)), the value of the exponential constant
should be close to -0.5.
Based on the graph on the previous slide, the following conclusions can be made:
• The adjusted value obtained by the Rocky CoV results achieved a value of -0.524, which is close to
the desired value.
• To reach the desired 6.25% CoV regulation limit, you need approximately 0.149 hours (or 536.4
seconds) of simulation time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
512 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Cylinder <01>
D User Processes Eulerian Statistics Radial Divisions 20 [ - ]
Tangential Divisions 72 [ - ]
Eulerian
Statistics <01> Axial Divisions 1[-]
This will discretize the Cylinder into 72 circular sectors, each one having 20 divisions in the radial
direction. A single bin is defined in the axial direction.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 513
Tutorial - Tablet Coater
Once the Eulerian Statistics is created, the Transparency, Edges, and Color can be modified on the
Coloring tab:
1. With a 3D View opened, use the information in the table that follows to define these values.
Tip:
When you enable a Property for Faces, the option Show on Node? allows for the
continuous display of the plotted Property.
Tip:
2. From the Data panel, click the Particles eye icon to hide the previous particle calculation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
514 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
To evaluate the maximum shear stress during the bed cycles, do the following:
1. From the Data Editors panel, select the Properties tab for the Eulerian Statistics.
2. From the top right of the selected tab, click the icon for Add and edit time statistics properties
(as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 515
Tutorial - Tablet Coater
3. From the Edit time statistics properties dialog, click the Add button (green plus).
4. From the Add time statistics properties window, specify the Start and Stop time of the analysis,
the Operations and the Properties to evaluate (as shown), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
516 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
6. From the Properties tab, under Time Analysis, select the newly created Average of Stress
Component [40 s, 60 s] property, and then drag and drop it onto the 3D View for Eulerian
Statistics. (Results shown below.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 517
Tutorial - Tablet Coater
This average analysis helps identify the location in the coater where particles experience a higher
value of Stress.
Important:
To be able to analyze Stress Components, you must have enabled the Collect Contacts
Data checkbox from Contacts entity on the Data panel prior to processing your simula-
tion.
As a reminder, we took this step in Part A, so this data should now be available to analyze.
The intra-particle collision statistics represent the full transient analysis of all particles in the domain
shown on a single representative particle.
During the simulation, relevant collision data is stored between two consecutive output time levels.
It is important to note that each result represents the time average between the current output and
the previous.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
518 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
So, if you want to do an analysis spanning the full simulation time, you need to include a new ex-
pression to account for all of the outputs.
Another important point is the geometry resolution of the particle. To achieve a good analysis, ensure
that you use a particle with a high resolution of triangles next to the edges.
1. Use the information in the table below to create this new particle time statistics property.
3. From the Data Editors panel, on the Particle tab, click View.
4. From the Properties tab, under Time Analysis, select the newly created Average of Frequency
[40s, 60s] property, and then drag and drop it onto the Particles Details window. (Results shown
below.)
5. From the Particle <01> entity, on the Coloring tab, clear the Transparency checkbox.
This shows the average collision frequency per particle recorded in different regions (triangles) of the
particle shape.
• We can see that the number of collisions is highest at the corners and edges and lowest on the
flat surfaces of the particle.
• We can therefore conclude that when particles of this shape collide with other particles and with
the drum walls, they do so most often on their corners and edges.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 519
Tutorial - Tablet Coater
These can be useful when you need to extract data considering all collisions that happened to a
certain particle during an interval between two consecutive output times.
For example, with impact velocity, you could relate that data to the chances of the particle breaking
or causing it to de-agglomerate. With duration, you could relate that data to a certain mass or heat
transfer process, or to a certain chemical reaction.
It is important to note that each result represents the time average of data collected during an interval
between two consecutive output times.
On the next slides, the Impact Velocity will be analyzed to show potential moments of high energies
(and possible breaking).
3. Under Translational Velocity, right-click Velocity : Impact : Normal : Mean, point to 3D View,
and then click Show in new 3D View. (Results shown.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
520 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
Tip:
To see the particles, you may need to make the Drum geometry transparent.
9.2.17. CONCLUSION
This completes Part B of this tutorial, in which Rocky was used to post-process a Tablet Coating
simulation.
• Import two custom polyhedron user process shapes to analyze residence time.
• Analyze the Intra- and Inter-particle collision statistics data that was collected.
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to Part C and further
analyze the spray zone.
9.3.1. OBJECTIVE
The purpose of this tutorial is to use the Coating Visibility Wizard on the tablet coating simulation
we set up and processed in Part A to further investigate the coating variability on the particles.
This method uses the camera position of a 3D View window to define the spray area. The wizard then
computes the amount of exposure on each particle (or particle region), which is a more accurate
method than the procedure we used in Part B.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 521
Tutorial - Tablet Coater
• Import and run saved PrePost scripts in the PrePost Scripts panel
• Use the wizard results to analyze the visibility on the particle shape itself
9.3.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
If you did not complete Part A (nor Part B), then do all of the following:
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or later.
If you have an earlier version of Rocky, please upgrade Rocky to the latest version, or
complete Part A from scratch.
4. From the Rocky program, click the Open Project button, find the dem_tut09_files folder, then
from the tutorial_09_A_pre-processing folder, open the tutorial_09_A_pre-processing.rocky
file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
522 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
5. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
With the processing complete, we can now begin analyzing the simulation results.
The window's focus will act like a nozzle and the visible particles will be exposed to the coating.
Representation of the tablet coating process with nozzles and spray region:
Region of interest (in yellow) where the 3D View window should be focused:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 523
Tutorial - Tablet Coater
The Visibility is the Percentage that a particle (or particle region) occupies within the camera view
in a given time and is accounted by a pixel by pixel verification.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
524 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
The visibility computation is available only through the Coating Visibility Wizard.
• Preview capabilities are available inside the wizard, which enables to visualize the Spray Mask and
Nozzle parameters before running the wizard.
• The wizard includes embedded post-processing capabilities, which enables you to analyze the
coating Visibility results.
This wizard calculates the coating Visibility for each output time and then automatically creates new
properties based on those calculations.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 525
Tutorial - Tablet Coater
1. To start, show the PrePost Scripts panel by selecting it from the Tools menu.
2. Click here to download the Coating Visibility Wizard, and then extract the coating_visibility_wiz-
ard folder from the zip folder to your computer.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
526 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
4. From the Rocky PrePost Scripts panel, with the first Scripts shared across projects tab selected,
click the Open Scripts Directory button.
5. Within the %HOMEPATH%\Documents\Rocky\Scripts folder that opens, paste the script and
folder you copied.
6. The new script will appear in the PrePost Scripts panel on the Scripts shared across projects
tab.
Note:
The wizard calculates the visibility at each separate output. Because of that, it might take
some time to complete the calculations.
Because the Coating Visibility Wizard is a complete application that runs inside Rocky,
you can not interact with Rocky while the wizard is running.
The Coating Visibility Wizard will appear as a new window showing the Setup tab.
This wizard enables you to easily define the nozzles parameters. You can add as many nozzles as you
need and then configure them.
Note:
When more than one nozzle is used, the wizard will change the camera position at each
output time in order to analyze the region of each nozzle.
1. On the Nozzle Injection sub-tab, from the Axis Direction field, define the Drum rotation direction
as +Z.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 527
Tutorial - Tablet Coater
2. From the Nozzles field, click the Add button (green plus) to create an nozzle entry.
3. For both 1 and 2 nozzles, define the Y coordinate, Z coordinate and Orientation angle.
Note:
The options for the Axis Direction will be used to position the nozzles. Ensure you define
it correctly and check it on the Nozzles Preview field.
This wizard supports masks for the visibility calculation in case you want to calculate the visibility in
rectangular, elliptical and custom areas.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
528 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
1. Select the Spray Mask sub-tab, and then define all of the following (as shown):
Note:
The Mask Preview will help you to correctly define the mask (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 529
Tutorial - Tablet Coater
The darker the pixel, the higher the opacity. Thus, the black borders of the image will be ignored by
the camera. The images below illustrate how the visibility is computed combining the camera view
and the mask:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
530 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
On the General sub-tab, you can define options for the Spray Time and Post Processing.
1. Select the General sub-tab, define the Spray start time as 3.0 (as shown) and check the other
options to match the screenshot.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 531
Tutorial - Tablet Coater
For more information about this wizard and its parameters, access the Scripts Manual from the Help
menu tab (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
532 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
1. Now your Coating Visibility Wizard is set up. From the Setup tab, click the Calculate button:
Note:
The wizard calculates the visibility at each separate output. Because of that, it might take
some time to complete the calculations.
After the wizard finishes its calculations, a confirmation message will appear (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 533
Tutorial - Tablet Coater
Note:
You can remain inside the wizard to do some types of visibility post-processing (as shown
on the next sections). Outside of the wizard, you also have new properties for the Particles
entity in Rocky and new files located in the project's simulation folder.
This wizard automatically generates an analysis of Inter-tablet coating variability (CoV). It also generates
an extrapolation for the available data.
You can easily find the amount of time related to a specific CoV value.
In addition, the wizard also gives you the option to change the extrapolation parameters. From the
Results tab, in the Power Law Extrapolation section, you have the following options (as shown):
• CoV limit
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
534 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
To generate the CoV plot of the previous side, firstly the wizard need to estimate the coating mass
one particle receives in a given output interval:
(9.3)
where:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 535
Tutorial - Tablet Coater
(9.4)
where:
The Inter-tablet coating variability ( ) can be defined as the ratio between the Standard Deviation
of coating mass over the Average of coating mass in a given time.
(9.5)
(9.6)
(9.7)
Therefore, it is possible to calculate the through the ratio between the Standard Deviation of
Total Cumulative Visibility over the Average of Total Cumulative Visibility.
(9.8)
The Coating Visibility Wizard shows the CoV results in a log-log plot (vertical and horizontal scales
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
536 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
A common analysis is to extrapolate the CoV results to be able to estimate the time needed for a
specific value of CoV.
With the extrapolation, you do not need to run the full, extended simulation (which can take many,
many hours to process).
The wizard itself defines the linear region, which is at the end of the log-log plot (steady state) after
30 s of simulation time, and was used as the basis for the extrapolation.
(9.9)
where:
• is the CoV.
• is the time.
According to the literature (Boehling et al., 2016 [1] (p. 543)), the value of the exponential constant
should be close to -0.5.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 537
Tutorial - Tablet Coater
Based on the graph on the previous slide, the following conclusions can be made:
• The adjusted value obtained by the Coating Visibility Wizard's CoV results achieved a value of -
0.486, which is close to the desired value.
• To reach the desired 6.25% CoV regulation limit, you need approximately 0.7 hours (or 2520 seconds)
of simulation time, which is much longer than the simulation time estimated earlier in Part B of
this tutorial.
The wizard has created two new particles properties for each nozzle:
Note:
You will also have these properties for each particle group in case you have a shaped
particle. In this case, these properties are related to each triangle of the particle surface.
• Instantaneous Visibility: Returns the fraction of the 3D View area exposed per particle at the
currently selected output time. If a faceted particle is used, this returns the average triangle visibility
at the current output for all the particles in each Particle Group.
• Cumulative Visibility: Returns the cumulative visibility from the initial output time up to the cur-
rently selected one. If a faceted particle is used, this returns the cumulative triangle visibility from
the initial output time up to the currently selected output time for all the particles in each Particle
Group.
Also, for each of the previously properties, the wizard has created a new property to evaluate the
contribution of each nozzle. The following equation was applied for each property:
(9.10)
where:
The wizard has created two new particles properties for the total visibility:
Note:
You will also have these properties for each particle group in case you have a shaped
particle. In this case, these properties are related to each triangle of the particle surface.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
538 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
3. To visualize the Particles Visibility, drag and drop Instantaneous Visibility Coater onto a 3D
View window (results shown).
2. From the Data Editors panel, select the Properties tab, and then drag and drop Cumulative
Visibility Coater onto a 3D View window. (Results shown.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 539
Tutorial - Tablet Coater
For this tutorial, we are mainly interested in the Cumulative Visibility, which is directly proportional
to the injected mass.
Note:
Use the Time slider to see how the property changes over time.
As shown in the screenshots below, some particles spend more time in the spray zone than others.
At 60 s, the coating is still rather uneven as seen by the presence of different colored particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
540 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
2. From the Data Editors panel, on the main Particle tab, click the View button. A new Particles
Details window appears.
3. From the Data Editors panel, select the Properties tab, and then drag and drop Cumulative
Visibility Coater onto the Particles Details window.
5. From the Coloring tab, clear the Transparency checkbox (results shown).
6. From the Data Editors panel, on the Coloring tab, under Faces, enable the Show on Node?
checkbox (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 541
Tutorial - Tablet Coater
The results show that at 60 seconds into the simulation, most parts of the particle achieved some
amount of coating coverage, with the highest values concentrated on the corners as well as the the
upper and lower flat regions of the particle.
9.3.10. CONCLUSION
This completes Part C of this tutorial, in which Rocky was used to analyze the spray zone and particle
coating results from the Tablet Coating simulation we set up and processed in Part A.
• Analyze the CoV results generated by Coating Visibility Wizard, and the particle visibility itself.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
542 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Spray Zone Evaluation
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to next tutorial.
9.3.11. BIBLIOGRAPHY
Bibliography
[1] Boehling et al.. Analysis of large-scale tablet coating: Modeling, simulation and experiments. European
Journal of Pharmaceutical Sciences. 90. 14–24. 2016.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 543
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
544 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 10: Tutorial - Bucket Conveyor
(Part A) Learn how to set up and process a simulation using periodic motions, replicated geometries
and periodic injection of material.
(Part B) Learn how to analyze the trajectories of the particles from the periodic injection, as well as the
mass flow during surge periods and the mass load in each bucket.
10.1.1. OBJECTIVE
The purpose of this tutorial is to learn how to use periodic motions with replicated geometries.
The scenario considered is a bucket conveyor experiencing surges of material from inconsistent
loading.
• Inlets
• Periodic Motion
• Geometry Replication
• Periodic Injection
10.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 545
Tutorial - Bucket Conveyor
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
10.1.3. GEOMETRY
• (2) Belt
• (3) Box
• (4) Bucket
• (5) Hopper
• (6) Rolls
• (7) Structure
The remaining components will be imported as .stl files, all of which can be found in the tutorial
directory.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
546 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
6. Use the information in the table below to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
We will also add a default Feed Conveyor, and then create two separate Inlets (from two different
Surfaces) from which to release the regular and surge material, respectively.
1. Use the information in the table that follows to import and create these components.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 547
Tutorial - Bucket Conveyor
Tip:
For more information about setting up Feed Conveyors, refer to Tutorial 06 – High
Pressure Grinding Roll (HPGR).
2. From the Data panel, under Geometries, right-click Regular Feed and then click Duplicate.
3. Use the information in the table that follows to define the new Regular Feed <01> component.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
548 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Now that all of the geometries are included in your project, you can visualize them in a 3D View
window.
• (1) The complex motion of the single bucket moving up and around the conveyor is defined using
a single motion frame.
• (2) Periodic motions are turned on for this frame, which enables the entire motion set to be re-
peated at a prescribed interval.
• (4) Rocky is then instructed to repeat the geometry (including its assigned motions) 20 times at
regular intervals along the motion path.
For the Motion Frames step, we will accomplish the first two steps above by creating a single frame
with four separate motions, as explained below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 549
Tutorial - Bucket Conveyor
The complex bucket motion can be defined on a single frame using four separate motions:
• The translation motion of the right-side-up bucket moving up the front side of the conveyor.
• The rotation motion of the bucket arching over the top of the conveyor to turn upside down.
• The translation motion of the upside-down bucket moving down the back side of the conveyor.
• The rotation motion of the upside-down bucket arching over the bottom of the conveyor to turn
right-side up again.
The fourth motion brings the bucket back to the starting point, so to keep the bucket moving, the
entire, four-part motion set must be repeated.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
550 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The four separate motions within the frame will be defined using the bucket velocity and belt length.
Important:
Note that the full bucket motion includes two straight paths and two curved paths.
• The bucket takes 4.05368 s to complete the straight path and 0.43706 s to complete the curved
path
Using this information, we can then determine that one full revolution takes 8.98148 s.
Note:
This value will be important both when setting up Periodic Motions and Geometry
Replications later.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 551
Tutorial - Bucket Conveyor
When Enable Periodic Motion is turned on for a frame, the full list of motions contained within that
frame will be repeated as soon as the Periodic Motion Period completes.
The total time between the earliest motion's Start Time (in our case, 0 s) and the latest motion's
Stop Time (in our case, 8.98148 s) is saved within Rocky as the periodic motion period.
As we want the motion to repeat as soon as the last motion finishes, we will set the Periodic Motion
Period as equal to the motion total time.
The full list of motions contained within the frame will be repeated until it reaches the Periodic Stop
Time.
1. Use the information in the table that follows to define this Motion Frame, and assign it to the
bucket geometry.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
552 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Bucket
The completed Motion Frame setup should now look similar to the image below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 553
Tutorial - Bucket Conveyor
For this tutorial, since the geometry has a motion with displacement assigned, the movement can
be previewed using the Motion Preview window.
Tip:
Use the eye icons on the Data panel to hide all but the Bucket and Belt components from
the view.
Later in Part B of this tutorial we will analyze two buckets separately using moving cubes.
Note:
A moving cube is a definition for a Cube User Process with a Motion Frame assigned to
it.
Follow the steps in the table below to create the second Motion Frame.
Bucket Motion
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
554 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Data Editors panel, select the Wall | Replication tab, and then enable the Replicate
Geometry checkbox.
3. To have the buckets appear in the correct location, enter the full periodic motion period (8.98148
s) for the Replication Period.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 555
Tutorial - Bucket Conveyor
As seen in the Motion Preview (and/or 3D View) window, the single bucket has now been replicated
into 20 buckets evenly spaced along the path of the bucket motion.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
556 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
We will slightly modify the friction values for the Materials Interactions step.
And for the Particles step, we will create a new sphere-shaped particle group in a range of sizes with
some added rolling resistance.
1. Use the information in the table below to continue setting up your project.
Default
Boundary
B Particles Create Particle
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 557
Tutorial - Bucket Conveyor
1. Use the information in the table below to create the first inlet representing the regular feed.
To replicate the material surge, we will set this second Particle Inlet to have a Periodic injection,
which will enable particles to be released from the Entry Point in bursts.
• Injection Duration: Defines the amount of time during each Period when particles will be actively
released.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
558 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Rocky calculates the particle mass released in each periodic burst by equally dividing the total particle
mass by the total number of bursts during the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 559
Tutorial - Bucket Conveyor
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
560 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 561
Tutorial - Bucket Conveyor
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
10.1.16. CONCLUSION
This completes Part A of this tutorial, in which Rocky was used to set up and process a simulation
of a Bucket Conveyor.
• Replicate a single geometry into multiple copies with identical motion paths
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
562 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
What's Next?
• Now that you have set up and processed this simulation, you are ready to move on to Part B and
post-process this project.
10.2.1. OBJECTIVE
The purpose of this tutorial is to analyze the results from the Bucket Conveyor simulation we processed
in Part A.
• Evaluate the mass load for each bucket that has reached a steady state
• Analyze the trajectory of the particles being dumped into the bin
• 3D View
10.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 563
Tutorial - Bucket Conveyor
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut10_files folder,
then from the tutorial_10_A_pre-processing folder, open the tutorial_10_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
2. From the Data Editors panel, on the Properties tab, right-click Particle Boundary, point to 3D
View, and then click Show in new 3D View.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
564 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
Particle boundaries are numbered from zero in the order in which they were added to the
Geometries entity.
Tip:
Use the slider on the Time toolbar to investigate the surges at different times.
2. From the Data Editors panel, on the Curves tab, drag and drop Particles Count onto the
Workspace.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 565
Tutorial - Bucket Conveyor
The resulting plot shows a steeper curve whenever the mass flow is increased from a surge.
We can also filter the particles by the Particle Boundary property and plot the Particles Count for
each Inlet separately.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
566 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
First we will isolate the particles that result from the Regular Feed.
Next, we will isolate the particles that result from the Surge Feed.
2. From the Data panel, under User Processes, right-click Regular Feed Particles, and then click
Duplicate.
3. Use the information in the table below to define the newly created Regular Feed Particles <01>
item.
4. Now, from the Data panel, under User Processes, multi-select both Regular Feed Particles and
Surge Feed Particles.
• The Surge Feed is represented by a "stairstep" curve that shows the different periods of injection
over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 567
Tutorial - Bucket Conveyor
This can be done by using two moving cubes (each one for a bucket) and a Time Plot to analyze
the carried Particle Mass for each bucket.
We will use the motion frames we created in Part A to describe the cubes motion.
1. Use the information in the table below to create the moving cubes.
Cube <01>
D User Processes Cube Motion Frame Bucket Motion
<01>
Cube <02>
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
568 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Due to the assigned motion frames, the cubes will accompany the buckets for the whole simulation
(check this on Motion Preview and by multi-selecting both cubes with the Bucket wall visible).
1. Use the information in the table below to create the Time Plot.
The resulting plot represents the Particle Mass in each Cube region.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 569
Tutorial - Bucket Conveyor
Note:
Note that when crossing the Hopper (at 13.3 s for example), the cubes encompass particles that are
not necessarily being carried by the buckets, and it causes peaks on the plot.
The relevant values are the ones that keep constant for more than a second in the plot, when all the
particles inside the cube are being carried by the bucket (15 s). (Compare the images shown.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
570 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
The particle mass carried by the buckets varies between 2.6 kg (at the beginning, with few particles
on the Hopper) and 16 kg.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 571
Tutorial - Bucket Conveyor
Note:
Your values may differ slightly from the ones presented in this tutorial.
Tip:
To learn more about Particle Trajectories, refer to Tutorial 04 – SAG Mill Tutorial - SAG
Mill (p. 247).
1. From the Time toolbar, ensure that you have selected the [120] 6 s timestep. This will be your
Starting Timestep.
2. Use the information in the table below to create the Particles Trajectory.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
572 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Tip:
Hide Particles from the view by using its Data panel eye icon.
10.2.10. CONCLUSION
This completes Part B of this tutorial, in which Rocky was used to analyze the results from a Bucket
Conveyor simulation.
• Evaluate the mass load for a single bucket using Cubes and Time Plots
What's Next?
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 573
Tutorial - Bucket Conveyor
• If you completed this tutorial successfully, then you are ready to move on to the next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
574 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 11: Tutorial - Discharge Air Flow
(Part A) Set up and process a simulation using 1-Way coupling between Rocky (DEM) and LBM.
(Part B) Learn how to visualize air flow using vectors and velocity contours, and isolate high-velocity
air flow cells using User Processes.
11.1.1. OBJECTIVE
The purpose of this tutorial is to set up and process a simulation using the 1-Way coupling abilities
within Rocky, between DEM and the Lattice-Boltzmann Method (LBM).
• This method is a useful tool for comparing how equipment design affects the flow of dust and air
due to particle interactions.
11.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 575
Tutorial - Discharge Air Flow
11.1.3. GEOMETRY
• (2) Surface
The first item will come from a conveyor template within Rocky. The second item's .stl file can be
found in the tutorial directory.
6. Use the information in the tables that follow to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
576 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Default
Boundary
G Materials Materials Use Bulk Density (Cleared)
Density 2800 [kg/m3]
Default
Particles
H Materials …| Static Friction 0.4 [ - ]
Interactions Dynamic Friction 0.35 [ - ]
Default
Particles
Default
Particles
I Particles Create Particle
J Particles Particle | Rolling Resistance 0.2 [ - ]
Movement
Particle
<01>
K Inlets and Outlets Create Particle Inlet
L Inlets and Particle Inlet Entry Point Feed Conveyor <01>
Outlets … | Particles Add row (x1)
Particle (1) Particle | Mass Flow Particle <01> @ 2000
Inlet<01> Rate [t/h]
Tip:
For more information about setting up a Feed Conveyor, refer to Tutorial 06 – High
Pressure Grinding Roll (HPGR).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 577
Tutorial - Discharge Air Flow
• This model is useful for simulating how air and dust flow are affected by the flow of particles in
the simulation.
Tip:
For more information on how Rocky calculates boundary conditions, see the paper by
Verberg and Ladd. [1] (p. 590)
The properties that are able to be adjusted when this model is enabled are described below.
• Operation Properties
– Start When Particles Enter: Enables air flow calculations to start as soon as particles appear in
the air flow limit box.
• Air Properties
• Lattice-Boltzmann Details
– Interaction Scale: Determines the interaction between the Particle and the air.
– Start Time: Disabling the Start When Particles Enter option makes the Start Time parameter
available. This is the time that Air Flow calculations begin during the simulation.
– Speed of Sound: The speed of sound, which is used to calculate Air Flow.
– Boundary Conditions: Method applied for the calculations, affecting accuracy and stability.
2. From the Data Editors panel, from the Coupling Mode list, select the LBM (Particle → Fluid)
option under 1-Way.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
578 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. From the Data panel, select this new 1-Way LBM entry, and then from the Data Editors panel,
modify the parameters as described on the next slide.
4. From the main 1-Way LBM tab, define the Cell Size, Interaction Scale, and Coordinate Limits
(as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 579
Tutorial - Discharge Air Flow
Note:
The Coordinate Limits can be different than the DEM domain limits.
The Interaction Scale was increased from the original default value (0.25) to reduce the
simulation time for the purposes of the tutorial.
Tip:
In most cases, it is recommended that you use the default Interaction Scale number.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
580 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
To learn more about setting boundary limits for your domain, refer to Tutorial 03 – Vibrating
Screen.
1. Use the information in the table that follows to finish setting up your project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 581
Tutorial - Discharge Air Flow
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
582 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
11.1.10. CONCLUSION
This completes Part A of this tutorial, during which Rocky was used to set up and process a simulation
using the Lattice-Boltzmann Method (LBM) Air Flow model.
What's Next?
• Now that you have set up and processed this simulation, you are ready to move on to Part B and
post-process this project.
11.2.1. OBJECTIVE
The purpose of this tutorial is to use the results from the 1-Way LBM (Lattice-Boltzmann Method)
simulation we set up and processed in Part A to analyze how particle flow influences air flow in and
around the equipment.
• Reminder: The LBM method is a useful tool for comparing how equipment design affects the flow
of dust and air due to particle interactions.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 583
Tutorial - Discharge Air Flow
11.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
c. Open Rocky 2025 R1. (Look for Rocky 2025 R1 in the Program Menu or use the desktop
shortcut.)
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut11_files folder,
then from the tutorial_11_A_pre-processing folder, open the tutorial_11_A_pre-pro-
cessing.rocky file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
584 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
e. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
1. From the Data panel, under CFD Coupling, select the 1-Way LBM entity.
2. From the Data Editors panel, select the Coloring tab and then ensure both the Visible and
Vectors checkboxes are enabled.
3. Under Vectors, select Velocity from the Property list, and ensure the Vectors scale is 0.25 (as
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 585
Tutorial - Discharge Air Flow
1. From the Data panel, right-click 1-Way LBM, point to Processes, and then click Plane.
2. From the Data Editors panel, on the Plane tab, define Orientation (Angle and Vector, as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
586 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 587
Tutorial - Discharge Air Flow
3. After the cut plane is defined, switch to the Properties tab and then drag and drop Velocity:
Absolute onto the 3D View window.
Tip:
To see only the velocity contour, use the Data panel eye icons hide Particles and the
1-Way LBM vectors from the view.
1-Way LBM
B User Processes Property Property Velocity:
| Absolute
Type Range
Filter
<01> Minimum Value 0.5 [m/s]
Maximum Value 10 [m/s]
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
588 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
2. After the cells have been isolated, from the Properties tab, drag and drop Velocity: Absolute
onto the 3D View.
Tip:
To see only the selected cells and Particles, you may need to use the eye icons on the
Data panel to hide the Plane <01> User Process and show the Particles entity.
11.2.7. CONCLUSION
This completes Part B of this tutorial, in which Rocky was used to post-process a 1-Way LBM (Lattice-
Boltzmann Method) simulation by analyzing how particle flow influences air flow in and around
equipment.
What's Next?
• If you have completed this tutorial successfully, then you are ready to move on to next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 589
Tutorial - Discharge Air Flow
11.2.8. BIBLIOGRAPHY
Bibliography
[1] R. Verberg and A. J. C. Ladd. Lattice-Boltzmann Model with Sub-Grid-Scale Boundary Conditions.
Physical Review Letters. 84. 5164–5176. 2000.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
590 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 12: Tutorial - Static Structural
In (Part A), you will create a Workbench project, and will set up and run a Rocky DEM simulation through
Workbench.
In (Part B), you will couple the completed DEM simulation with Static Structural - Mechanical to calculate
the FEA portion of the project. You will also use Workbench's Design Exploration feature to run addi-
tional simulations that optimize key project parameters.
12.1.1. OBJECTIVE
The main purpose of this tutorial is to use Ansys Workbench to set up and run a DEM case in Rocky
that will later be 1-way coupled with Ansys Static Structural - Mechanical.
• Part B will cover 1-way coupling the DEM results with Static Structural - Mechanical to obtain the
FEA results.
The scenario considered in this tutorial is that of a bin whose inadequate structure requires design
modifications to better support its intended load.
• Connect the Workbench project to both Rocky and Ansys Static Structural - Mechanical
• Ansys Workbench
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 591
Tutorial - Static Structural
12.1.2. PREREQUISITES
To complete this tutorial, you are required to have a Windows machine, both of the following:
• (1) A valid license for Ansys Mechanical 2025 R1, compatible with Transient Structural.
Important:
This ADVANCED tutorial assumes that you are already familiar the the following programs
and resources:
– If this is not the case, it is recommended that you complete at least Tutorials 01- 05
before beginning this tutorial.
– If that is not the case, please refer to the Ansys Workbench user documentation for
basic introduction about Workbench usage before beginning this tutorial.
12.1.3. GEOMETRY
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
592 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
In the tutorial directory, the .scdoc file for this geometry can be found.
Note:
This geometry has been saved with the support components hidden as Rocky requires
only the bin to interact with the particles.
4. Save the empty Workbench Project from the File, Save As... menu item.
5. From the Toolbox panel, under the Component Systems item, drag and drop Geometry to the
Project Schematic.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 593
Tutorial - Static Structural
7. From the dialog that appears, locate the geometry folder inside dem_tut12_files you downloaded,
select the input file Geometry.dsco, and then click Open.
Tip:
The Geometry will show a green checkmark if the .scdoc file is correctly imported.
Note:
Dropping the Rocky block onto the Geometry component will automatically generate
a connection between the Geometry and Rocky.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
594 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
2. From the Toolbox, under Analysis Systems, drag and drop the Static Structural component
onto the Results component of the Rocky block.
• This creates an extra connection between the Results component on the Rocky block and the
Model component on the Static Structural block that is not needed for this tutorial.
• We must remove this extra connection otherwise Workbench will prevent us from opening
Mechanical later (because it will be looking for Model information that does not exist).
3. Right-click the purple line connecting Results and Model, and then click Delete.
Tip:
If you have only a single-instance Rocky license (typical for most users), ensure that the
Rocky program is closed at this point.
In this next step, Workbench will open Rocky for you, and you will get errors if Rocky is already open.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 595
Tutorial - Static Structural
1. From the Rocky block, right-click Setup, and then click Edit.
Note:
The Rocky interface opens automatically with the linked geometries already set up.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
596 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Physics entity, on the Momentum tab, enable the Rolling Resistance Model of Type
C: Linear Spring Rolling Limit.
For this tutorial, information about particle forces on the geometry will be used.
Enabling the collection of this data is accomplished through the Boundary Collision Statistics
Module, by enabling the Forces for FEM Analysis checkbox.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 597
Tutorial - Static Structural
Because the Rocky project is connected to Ansys Mechanical through Workbench, this collection is
automatically enabled. However, to verify, do the following:
1. From the Data panel, under Modules, select Boundary Collision Statistics.
2. From the Data Editors panel, verify that the Forces for FEM Analysis checkbox is enabled.
1. From the Data panel, under Geometries, select this already-imported surface item.
2. With a 3D View window open, visualize the meshing. (From the Data Editors panel, select the
Coloring tab, and then enable the Edges checkbox.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
598 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Since a coupled simulation with Ansys Mechanical will be carried out for this geometry part, it is im-
portant to refine the mesh so that the pressure field transferred to Mechanical has an adequate res-
olution for the desired structural analysis.
Every triangle node will provide a pressure vector, which will then be applied as a load inside Mech-
anical.
1. From the Wall tab, on the Transform sub-tab, change the Triangle Size to 0.1 [m] (results shown).
2. Use the information in the table that follows to continue setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 599
Tutorial - Static Structural
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
600 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
For this Tutorial, static loads on the bin geometry will be exported to Ansys Static Structural - Mech-
anical.
Because the loads are static, we need only to export the last output.
1. From the Data Panel, under External Coupling, select Wall Loads.
2. From the Data Editors panel, under Select Walls, select the surface checkbox, and then ensure
the remaining options match the image below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 601
Tutorial - Static Structural
With a 3D View window opened, your Data panel and Workspace should look similar to the image
shown.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
602 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 603
Tutorial - Static Structural
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
604 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
We will expose this parameter to Workbench by making it available on the Output tab of the Expres-
sions/Variables panel.
1. From the Data panel, under Geometries, select the surface geometry, and then from the Data
Editors panel, select the Curves tab.
2. From the Tools menu, open the Expressions/Variables panel, and then select the Output tab.
3. From the Data Editors panel, select the Force : Y curve, and then drag and drop it onto the
Output tab.
4. Select the newly added output, and then click the edit button.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 605
Tutorial - Static Structural
5. From the Edit Properties dialog, define the values for Domain Range, and then click OK.
Your output should now be configured and ready to use (as shown).
Note:
Your results might differ slightly from those shown in this tutorial.
2. Close Rocky.
Note:
Due to its connection with Workbench, nothing further is required in Rocky after processing
is complete. There is no need to export any files. All necessary data transfers will happen
in Workbench.
12.1.13. CONCLUSION
This completes Part A of this tutorial.
Through Ansys Workbench, we imported a bin geometry, set up the connection between Rocky and
Ansys Static Structural - Mechanical, and set up and processed a simulation in Rocky that will later
be 1-way coupled with Ansys Static Structural - Mechanical.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
606 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
• Create a new Ansys Workbench project, and import a geometry into Workbench.
• Set up and run the Rocky portion of the simulation through Workbench.
What's Next? If you completed this part successfully, then you are ready to move on to Part B and
set up and run the FEA simulation based upon these DEM results.
12.2.1. OBJECTIVE
The main purposes of this tutorial are to use Ansys Workbench to run a 1-Way coupled DEM-FEA
simulation using Rocky and Ansys Static Structural - Mechanical, and then optimize those results using
Design Exploration.
• As a reminder, the scenario considered in this tutorial is that of a bin whose inadequate structure
requires design modifications to better support its intended load.
• Use Workbench to transfer DEM results from Rocky to Static Structural - Mechanical
12.2.2. PREREQUISITES
To complete this tutorial, you are required to have on a Windows machine, both of the following:
• (1) A valid license for Ansys Mechanical 2025 R1, compatible with Transient Structural.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 607
Tutorial - Static Structural
Important:
This ADVANCED tutorial assumes that you are already familiar the the following programs
and resources:
– If that is not the case, please refer to the Ansys Workbench user documentation for
basic introduction about Workbench and Design Exploration usage before beginning
this tutorial.
– If this is not the case, please refer to the Ansys Mechanical user documentation for
a basic introduction about Mechanical usage before beginning this tutorial.
Important:
To make use of the Workbench project file provided, you must have Ansys 2025
R1 or later and Rocky 2025 R1 or later. If you have an earlier version of either of
these programs, please upgrade to the latest version of Rocky and the latest version
of Ansys that is supported by Rocky, or complete Part A from scratch.
d. From the Workbench program, click the Open Project button, find the dem_tut12_files folder,
and then from the tutorial_12_A_processing-rocky folder, open the tutorial_12_A_pro-
cessing-rocky.wbpj file.
With the project open in Workbench, you are now ready to begin Part B.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
608 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
1. From your Workbench project, on the Rocky block, right-click Results, and then click Update
(as shown). Repeat this and click Refresh also.
This transfers the DEM results into Workbench, thereby making the data available to Mechanical.
2. From the Static Structural block, right-click Model, and then click Edit (as shown).
Ansys Mechanical opens with the linked geometry already included (shown on next screen).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 609
Tutorial - Static Structural
2. In the Details of "Geometry" panel, under Update Options, define the Assign Default Material
option.
4. In the Details of "surface\surface" panel, under Definition, define the Thickness as 0.01 m and
then click the box next to the Thickness label to create a parameter.
5. Under Properties, click the box next to the Mass label to create another parameter .
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
610 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
Note:
The parameters we create here will later become outputs that we can use for design
optimization in Workbench.
1. In the view, with the Face selection, multi-select the three lower faces of the support (as shown
in red).
1. In the view, with the Body selection, select the three support bodies (as shown in red).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 611
Tutorial - Static Structural
1. From the Outline panel, under Model, right-click Mesh, point to Insert, and then select Sizing.
2. Select the new Sizing entry, and then define the Scoping Method, Named Selection, and Element
Size.
3. From the Outline panel, right-click Mesh, and then click Generate Mesh.
You can view the generated mesh by selecting Mesh from the Outline panel.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
612 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
1. From the Outline panel, under Model | Static Structural, right-click Imported Load (B4), point
to Insert, and then click Pressure.
3. From the Details of "Imported Pressure" section, under Scope, define the Scoping Method,
and then using the Face selection, select all 7 faces of the bin.
4. From the Details of "Imported Pressure", select the Geometry field, and click Apply.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 613
Tutorial - Static Structural
6. From the Data View window, define: X Component (Pa), Y Component (Pa), and Z Component
(Pa) from the drop down lists (as shown).
7. From the Outline panel, right-click Imported Pressure, and then select Import Load.
8. From the Outline panel, select Imported Pressure to show the vector plot of the imported load.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
614 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
1. From the Outline panel, right-click Static Structural, point to Insert, and then click Fixed Support.
3. From the Details of "Fixed Support" section, define the Scoping Method and Named Selection.
1. From the Outline panel, under Model | Static Structural, right-click Solution, point to Insert,
point to Deformation, and then click Total (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 615
Tutorial - Static Structural
2. Right-click Solution again, point to Insert, point to Stress, and then click Equivalent (von-Mises).
4. From the Details of "Total Deformation" panel, under Results, click the box next to the Maximum
label to create a parameter.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
616 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 617
Tutorial - Static Structural
1. From the Outline panel, right-click Solution, point to Insert, point to Probe, and then click Force
Reaction.
2. From the Details of "Force Reaction" panel, define both Location Method and Boundary Con-
dition.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
618 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
1. From the Outline panel, right-click Solution, and then click Solve.
When the simulation concludes, the effects caused by the particles on the surfaces can be easily seen:
1. Under Solution, select Total Deformation and then view the results (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 619
Tutorial - Static Structural
The static structural analysis provides the stress and deformation responses given the particle load
for the assessment of the structural integrity of the bin.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
620 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
The Equivalent (von-Mises) Stress analysis provides information on where the structure can fail due
to high stress levels on the surface.
The Total Deformation analysis helps to identify the regions with higher displacements and possible
issues with contacting geometries.
1. Under Solution, select Force Reaction and then view the results for Y Axis.
Reminder: Your results might differ slightly from those shown in this tutorial.
When compared to the Force_Y values we collected in Rocky in Part A (shown above), we can observe
a good agreement between the values, which indicates that the loads were correctly interpolated.
Note:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 621
Tutorial - Static Structural
2. From the Parameter Set tab, select the Outline of All Parameters window.
Here, all the parameters created during the analysis are listed, no matter in which application they
were created or if they are input or output parameters.
Such input and output parameters can be directly changed to create different scenarios in Workbench.
• Bin design quantities in Discovery, such as the overall shape of the bin, the number and position
of bin supports, and so on.
• Particle-related quantities in Rocky, such as material density, tonnage, the particle geometry, the
particle size distribution, and so on.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
622 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
• Bin structural quantities in Mechanical, such as the material properties of the bin, the resulting
stress and strain, and so on.
Parameter variations can be made in Workbench manually using Design Points (see Tutorial 15 for
a walkthrough example of this method) or automatically using Design Exploration.
For this tutorial, we will use the latter method to optimize our bin design.
We will accomplish this by setting an objective and then defining constraints on the input and output
parameters we exposed in Mechanical.
• Constraint: Equivalent Stress Maximum of the bin should be less than 1e+08 Pa
• Free parameter: Bin surface Thickness can range between 0.001 - 0.020 m
Workbench will then use Design Exploration to search for feasible solutions to the problem as
defined.
2. From the Toolbox panel, under Design Exploration, drag Direct Optimization onto the Project
Schematic, and drop it under the Parameter Set block.
3. From the new Direct Optimization block, right-click the Optimization component, and then click
Edit.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 623
Tutorial - Static Structural
4. From the Outline of Schematic D2: Optimization window, select the first Optimization item.
5. From the Properties of Outline A2: Optimization window, review the settings but keep all
parameters set as default (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
624 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
6. From the Outline of Schematic D2: Optimization window, select the Objectives and Constraints
item (as shown).
7. From the Table of Schematic D2: Optimization window, from the 3rd row, define the Parameter
and Objective Type (as shown).
8. From the 4th row, define the Parameter, Constraint Type, and Constraint Upper Bound (as
shown).
9. From the Outline of Schematic D2: Optimization window, under Domain | Static Structural
(C1), select the P2 - surface\surface Thickness item.
10. From the Table of Schematic D2: Optimization window, from the 3rd row, define the Lower
Bound and Upper Bound values (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 625
Tutorial - Static Structural
Note:
Because many new coupled cases are being calculated, this optimization step can take
some time to complete.
Many coupled DEM-FEA cases are run using different parameters that are varied within the constraints
set (around 20 scenarios).
As the various cases complete, you can see the parameter values that were used and what results
were achieved using those values.
1. From the Outline of Schematic D2: Optimization window, select Raw Optimization Data (as
shown).
2. From the Table of Schematic D2: Optimization window, notice that each case that completes
and its parameter values are listed in a separate row.
When all the cases are complete, we can view the final results.
3. From the Outline of Schematic D2: Optimization window, under Results, select Samples (as
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
626 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
4. View information on the Table of Schematic D2: Optimization window (as shown).
• The three cases with values most closely aligning with the objective and constraints are considered
Candidates.
• Candidate Point 1 (dark blue plot line) shows that by reducing the surface Thickness to 0.0086
m, the surface Mass can be reduced to 980.48 kg while still keeping within the Equivalent Stress
Maximum threshold we defined.
• As Candidate Point 1 represents the highest stress value allowed for this design optimization,
another Candidate that allows for slightly more mass but results in lower stress values might be
chosen instead.
12.2.9. CONCLUSION
This completes Part B of this tutorial.
Through Ansys Workbench, Ansys Static Structural - Mechanical was used to set up and run a FEA
simulation using the particle forces calculated previously by Rocky.
• Use key input and output parameters in Workbench to set up and run new optimization cases in
Design Exploration
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 627
Tutorial - Static Structural
What's Next? If you completed this part successfully, then you are ready to move on to the next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
628 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 13: Tutorial - Windshifter
In (Part A), you will create the initial Workbench project, and will set up and run the CFD case using
Ansys Fluent.
In (Part B), you will set up and run (without coupling) the DEM portion of the simulation in Rocky.
In (Part C), you will re-run the Rocky case one-way coupled with the results from Ansys Fluent, and will
then analyze the coupled simulation results in Rocky.
13.1.1. OBJECTIVE
The main purpose of this tutorial is to use Ansys Workbench to set up and run a CFD case using Ansys
Fluent that will be later used in a one-way coupling simulation with Rocky DEM.
Important:
Even if you are already familiar with CFD, please follow Part A in order to understand the
main limitations and needs for coupling with Rocky.
• Part B will cover setting up the Rocky project and running the initial DEM simulation; Part C will
cover one-way coupling the DEM project with the CFD results.
The windshifter scenario considered in this tutorial evaluates how air flowing upwards through a pipe
affects the different materials that discharge into it.
13.1.2. PREREQUISITES
To complete this tutorial, you are required to have on a Windows machine the following:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 629
Tutorial - Windshifter
• (1) A valid license for the following Ansys products: Discovery, Rocky and Workbench 2025 R1.
Important:
This ADVANCED tutorial assumes that you are already familiar the the following programs
and resources:
Note:
If you are not familiar with these programs, please refer to the Ansys user documentation
for introduction and usage instructions before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
630 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
Important:
If by chance you install Rocky without these components, you must reinstall the Rocky
program with these checkboxes selected.
In addition, under Ansys Workbench Addin Integration, ensure that you have selected Ansys 2025
R1.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 631
Tutorial - Windshifter
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
632 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
13.1.4. GEOMETRY
The geometry for Part A of this tutorial includes the following component:
In the tutorial directory the .scdoc file for the pipe geometry can be found.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 633
Tutorial - Windshifter
4. Save the empty Workbench Project from the File, Save As... menu item.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
1. From the Toolbox panel, under the Component Systems item, drag and drop Geometry onto
the Project Schematic.
2. On the Geometry block, right-click Geometry, point to Import Geometry, and then click Browse....
3. From the dialog that appears, locate the geometry folder inside the dem_tut13_files folder you
downloaded, select the input file tutorial_13_geometry.dsco, and then click Open.
Tip:
The Geometry will show a green checkmark if the .dsco file is correctly imported.
To prepare the Geometry for later coupling with Rocky and Fluent, do the following:
1. On the Geometry block, right-click Geometry and select Edit Geometry in Discovery....
Ansys Discovery opens with the linked geometry already imported (as shown).
The geometry will be composed of a solid (fluid volume for CFD) and a surface (walls for DEM).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
634 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
For this tutorial, we want Rocky to import only the Surface of the geometry, as this is the only part
that will be interacting with the particles.
Important:
1. From the Structure tree, check if the Solid component is hiden (as shown).
1. From the Toolbox panel, under Analysis Systems, drag and drop Fluid Flow (Fluent) onto the
Geometry component of the Geometry block.
Note:
This creates an automatic connection between the Discovery geometry and the geometry
to be used by Fluent.
1. From the Fluid Flow (Fluent) block, double-click the Mesh component. Meshing software auto-
matically opens with the linked geometry already imported.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 635
Tutorial - Windshifter
13.1.7. MESH
1. From the Outline panel, under Model | Geometry, right-click Geom\Surface, and then click
Surppress Body.
Define the inlet and outlet boundary conditions by creating two Named Selections as follows:
1. In the main view, using the face selection tool, select the lower face of the pipe, and then do the
following:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
636 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
2. Select the upper face of the pipe, and then do the following:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 637
Tutorial - Windshifter
You should now have two entries under Named Selections (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
638 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 639
Tutorial - Windshifter
5. From the Outline panel, right-click Mesh and then click Generate Mesh.
6. Right-click Mesh again, and then select Update (this will export the mesh to Fluent).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
640 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
1. From the Fluid Flow (Fluent) block, double-click the Setup component.
2. From the Fluent Launcher dialog that appears, select Double Precision (as shown), ensure 3D
is selected for Dimension, and then click Start.
Important:
Note:
Fluent allows parallel processing, which means that separate solver resources can be used
for Fluent. If you want to enable this feature, under Parallel (Local Machine), define the
Solver Processes or Solver GPUs you want Fluent to make use of.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 641
Tutorial - Windshifter
Ansys Fluent will open with a new project and the meshed geometry already imported.
13.1.9. MODELS
Then, define the Model settings:
1. From the Outline View tree panel, under Setup | Models, double-click Viscous.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
642 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 643
Tutorial - Windshifter
4. Click OK.
Later in this tutorial, we will run the one-way coupled case with the Thermal Model enabled in Rocky.
1. From the Outline View tree panel, under Setup | Models, double-click Energy.
2. From the Energy dialog, enable the Energy Equation checkbox (as shown).
3. Click OK.
13.1.10. MATERIALS
Next, we need to define both the Specific Heat and Thermal Conductivity for the fluid.
Note:
In this version of Rocky, both constant and polynomial thermal properties for fluid mater-
ials are supported.
In this tutorial, we want constant values set for the fluid thermal properties. Let's verify:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
644 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
1. From the Outline View tree panel, under Setup | Materials | Fluid, double-click air.
2. From the Create/Edit Materials dialog, verify that both Cp (Specific Heat) and Thermal Conduct-
ivity are defined as constant.
1. From the Outline View tree panel, under Setup | Boundary Conditions |Inlet, double-click inlet
(velocity-inlet, id=6).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 645
Tutorial - Windshifter
2. From the Velocity Inlet dialog, on the Momentum tab, define the Velocity Magnitude (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
646 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
13.1.12. INITIALIZATION
To initialize the Fluent case, do the following:
1. From the Outline View tree panel, under Solution, double-click Initialization.
13.1.13. SOLUTION
Finally, solve the Fluid case by doing the following:
1. From the Outline View tree panel, under Solution, double-click Run Calculation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 647
Tutorial - Windshifter
2. From the Run Calculation Task Page, define the Number of Iterations (as shown), and then
click Calculate.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
648 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
13.1.14. RESULTS
Once the calculation is finished and the fluid results are available, it is possible to analyze the fluid
flow.
1. From the Outline View tree panel, under Results | Graphics, right-click Contours, and then click
New.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 649
Tutorial - Windshifter
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
650 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup (Workbench)
c. Under both Point and Normal, define the x, y, and z values (as shown), and then click Create.
d. Click Close.
5. From the Contours dialog, select only the new plane-middle surface, and then click Save/Display.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 651
Tutorial - Windshifter
Tip:
If you get a Settings have changed! message at this point, you can select either of
the first two options (as shown), and then click OK.
13.1.15. HELP
This completes Part A of this tutorial.
• For more information about setting up a Fluent case for one-way coupling with Rocky, we suggest
referencing the Rocky CFD Coupling Technical Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
652 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
• To access it, from the main Rocky Toolbar click Help, point to Manuals, and then click CFD
Coupling Technical Manual.
• For further information about any of the Ansys products used in this tutorial, please refer to your
Ansys user documentation.
13.1.16. CONCLUSION
Through Ansys Workbench, Ansys Fluent was used to set up and run a CFD simulation that will later
be one-way coupled with Rocky.
What's Next? If you completed this part successfully, then you are ready to move on to Part B and
create the Rocky project that will later be one-way coupled with this CFD case.
13.2.1. OBJECTIVE
The main purpose of this tutorial is to use Ansys Workbench to set up and run a DEM case using
Rocky that will later be one-way coupled with the Fluent case we created in Part A.
• Part C will cover one-way coupling the DEM project with the CFD results.
• As a reminder, the windshifter scenario considered in this tutorial evaluates how air flowing upwards
through a pipe affects the different materials that discharge into it.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 653
Tutorial - Windshifter
• Thermal Modeling
• Coloring by Property
13.2.2. PREREQUISITES
To complete this tutorial, you are required to have on a Windows machine the following:
• (1) A valid license for the following Ansys products: Discovery, Rocky and Workbench 2025 R1.
Important:
This ADVANCED tutorial assumes that you are already familiar the the following programs
and resources:
– If that is not the case, please refer to the Ansys Workbench user documentation for
basic introduction about Workbench usage before beginning this tutorial.
Note:
• The Rocky user interface (UI) and the Rocky project workflow.
– If this is not the case, it is recommended that you complete at least Tutorials 01- 05
before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
654 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
13.2.3. GEOMETRY
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 655
Tutorial - Windshifter
Important:
To make use of the Workbench project file provided, you must have Ansys Work-
bench 2025 R1. If you have an earlier software version, please upgrade it or com-
plete Part A from scratch.
d. From the Workbench program, click the Open Project button, find the dem_tut13_files folder,
and then from the tutorial_13_A_processing-fluent folder, open the tutorial_13_A_pro-
cessing-fluent.wbpj file.
With the project open in Workbench, you are now ready to begin Part B.
1. From the Toolbox panel, under the Analysis Systems item, drag and drop Rocky onto the Geo-
metry component of the Fluid Flow (Fluent) block.
• If Rocky is not available in Workbench, it is necessary to reinstall Rocky and be sure to follow
Part A for instructions on what to select during installation.
• Because the Fluent Geometry block was already connected to the Discovery Geometry block,
dropping the Rocky block onto the Fluent Geometry block will automatically generate a con-
nection between the pipe geometry and the Rocky program.
3. From the dialog that appears, select a file location, define the File Name for the Workbench
project as tutorial_13_B-processing-rocky.wbpj, and then click Save.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory Tutorials
and Advanced Tutorials) to find the detailed instructions you need.
Important:
1. From the Workbench project's Rocky block, double-click the Setup component.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
656 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
• The Rocky program opens automatically with a connected project that has the pipe geometry
(Design1) already included. 0
2. From the Rocky Menu, go to Options | Ansys and select Install Fluent/Rocky export.
Important:
This step is necessary for Rocky to obtain Fluent information when running the
coupled simulation later.
Now that Rocky is open, we can begin setting up our DEM project.
For the Modules step, we will be turning on the collection of CFD Coupling Particle Statistics.
• For this tutorial, we are primarily interested in collecting the drag-related data.
1. Use the information in the table below to begin setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
1. From the Data panel, right-click Geometries, point to Conveyor Templates and then select
Create Receiving Conveyor.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 657
Tutorial - Windshifter
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
658 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
In this way, we can later verify how the drag force computed using a drag law that takes into account
shape and orientation will act on these particles depending on the particle density and volume.
1. From the Data panel, under Materials, right-click Default Particles, and then click Duplicate.
2. Repeat this process until you have 3 new entries for Materials.
3. Use the information in the tables that follow to define each of these four materials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 659
Tutorial - Windshifter
In this tutorial, we want all these groups to have the same PSD.
To accomplish this, we'll be using the Equivalent Sphere Diameter Size Type.
This option is especially useful for irregular objects, as it allows the particle size to be based upon
the diameter of a sphere with equivalent volume.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
660 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
1. Use the information in the tables that follow to define each of these four particle shapes.
Metal
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 661
Tutorial - Windshifter
Paper
G Particles Particle Name Stone
Shape Sphere
Paper
<01> Material Stone
H Particles Duplicate
Stone
I Particles Particle Name Wood
Shape Briquette
Stone
<01> Material Wood
… | Shape Vertical Aspect Ratio 0.30 [ - ]
Side Angle 30.00 [ - ]
Number of Corners 16 [ - ]
Specifically:
• Each particle group will be given a mass flow rate that, along with the material density, will help
us reach our goal of achieving the same volume flow rate per group.
• We will also be prescribing these particle groups with the same initial temperature.
1. Use the information in the table that follows to define your Inputs.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
662 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
1. Use the information in the table that follows to finish setting up your Rocky project.
With a 3D View window opened, your Data panel and Workspace should look similar to the image
shown below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 663
Tutorial - Windshifter
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
664 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
Note:
When the simulation processing is done inside Workbench—as is done in this Tutorial—all
files are saved in the Workbench file directory, including the ones needed for Rocky.
• Because as of yet, there is still no fluid coupling, we are able to analyze only the particle behavior
at this point.
• Doing so now can later help us see the changes in behavior once fluid effects are applied (in Part
C).
2. Use the information in the table below to define what is shown in this window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 665
Tutorial - Windshifter
Design1
3. Use the options on the Time toolbar to see the particles' trajectory through the pipe.
Notice that without fluid effects, all particle groups fall downwards through the pipe.
4. At the final timestep (5 s), save a copy of this image by right-clicking within the 3D View window,
and then clicking Save Image.
1. Use the information in the table below to re-define what is shown in the 3D View window.
Temperature
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
666 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Project Setup (Workbench)
Notice that even over time, without fluid effects, all particles maintain their same initial temperature.
2. At the final timestep (5 s), save a copy of this image by right-clicking within the 3D View window,
and then clicking Save Image.
Now that we have analyzed the particle flow without the effects of fluids, let's have Rocky delete the
simulation results so that we can re-run them (through Workbench) with the fluid results included.
An easy way to delete the results in Rocky is to use the Clear Results button.
2. A Dialog will appear asking whether you want to delete the results. Click Yes to delete the results.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 667
Tutorial - Windshifter
13.2.14. CONCLUSIONS
This completes Part B of this tutorial, in which Ansys Workbench was used to set up and run an initial
Rocky simulation that will later be one-way coupled with the CFD results we created in Part A.
• Analyze the (pre-fluid) behavior of the particle flow through the pipe.
• Delete the DEM results to reset the Rocky project back to just the setup portion.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part C
and use Workbench to one-way couple the CFD results with this Rocky project.
13.3.1. OBJECTIVE
The main purposes of this tutorial are to use Ansys Workbench to run a one-way coupled DEM-CFD
simulation using Rocky and Ansys Fluent, and then analyze those results.
• We will make use of the CFD results we obtained in Part A and the Rocky project setup we created
in Part B.
• As a reminder, the windshifter scenario considered in this tutorial evaluates how air flowing upwards
through a pipe affects the different materials that discharge into it.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
668 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
13.3.2. PREREQUISITES
To complete this tutorial, you are required to have on a Windows machine the following:
• (1) A valid license for the following Ansys products: Discovery, Rocky and Workbench 2025 R1.
Important:
This ADVANCED tutorial assumes that you are already familiar the following programs
and resources:
– If that is not the case, please refer to the Ansys Workbench user documentation for
basic introduction about Workbench usage before beginning this tutorial.
Note:
• The Rocky user interface (UI) and the Rocky project workflow.
– If this is not the case, it is recommended that you complete at least Tutorials 01- 05
before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 669
Tutorial - Windshifter
13.3.3. GEOMETRY
Note:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
670 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
Important:
To make use of the Workbench project file provided, you must have Ansys 2025
R1 or later and Rocky 2025 R1 or later. If you have an earlier version of either of
these programs, please upgrade to the latest version of Rocky and the latest version
of Ansys that is supported by Rocky, or complete Parts A and B from scratch.
d. From the Workbench program, click the Open Project button, find the dem_tut13_files folder,
and then from the tutorial_13_B_processing-rocky folder, open the tutorial_13_B_pro-
cessing-rocky.wbpj file.
With the project open in Workbench, you are now ready to begin Part C.
1. From the Fluid Flow (Fluent) component, right-click Solution and select Refresh.
2. From the Fluid Flow (Fluent) component, right-click Solution and select Update.
3. From the Fluid Flow (Fluent) component, right-click Results and select Refresh.
4. From the Project Schematic, drag and drop the Solution component from the Fluid Flow (Fluent)
block onto the Setup component of the Rocky block (as shown).
Note:
This action will automatically generate a link between the CFD results and the Rocky
project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 671
Tutorial - Windshifter
• Due to the link created in Workbench, the Rocky project opens with CFD results automatically
included.
1. From the Data panel, under CFD Coupling, select 1-Way Fluent.
2. From the Data Editors panel, select the 1-Way Fluent | Interactions tab, and then from the
Particle list, multi-select all four of the particle groups listed (as shown).
Note:
This drag law was selected because it is suitable for both spherical and non-spherical
particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
672 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
Important:
Given the amount of elements, showing all vectors for your CFD meshes is not considered
good practice as it can freeze the Rocky interface.
A better practice is to create a thin slice of your mesh and show only the vectors within that slice.
We will start by creating a Cube.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 673
Tutorial - Windshifter
1. Use the information in the below table to begin creating this view.
1-Way Fluent
B User Cube Center 0.4, 1.5, 0
Processes [m]
Magnitude 1.4, 3, 0.02
Cube
[m]
<01>
2. From the Data panel, under User Processes, right click the Cube <01> entry, point to Show in
new, and then click 3D View.
3. With the new 3D View window selected, hide all the geometry components and Particles by
clicking the eye icon to the right of the entries on the Data panel so that the icon appears closed.
4. Use the information in the table below to finish setting up the view.
The colored vectors within the slice of pipe indicate that the fluid moves up and around the bend of
the pipe.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
674 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 675
Tutorial - Windshifter
1. Use the information in the table below to ensure your solver parameters are correct.
Note:
The parameters are the same ones we defined earlier in Part B to simulate only particles,
so you shouldn't have to make any changes for this step.
2. Click Start.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
676 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 677
Tutorial - Windshifter
processing.
Reminder: When the simulation processing is done inside Workbench as is done in this Tutorial all
files are saved in the Workbench file directory, including the ones needed for Rocky.
1. With a 3D View window selected, use the information in the table below to define what is shown
in the window.
Tip:
Both particles and geometries will be analyzed in this comparison. Use the eye icons
on the Data panel to show the related entities if they are hidden.
Design1
2. Use the options on the Time toolbar to view the particles' trajectory over time.
3. At the final timestep (5 s), compare these particle-fluid results (on the right) with the image you
took of the particle-only flow in Part B (on the left).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
678 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
In the particle-fluid simulation (on the right), the lighter Wood and Paper particles are carried up
the pipe due to the fluid flow.
4. Take note of the Particle Group number shown on the color scale. We will need the values for
Metal (shown here as 0) and Stone (shown here as 2) later in this tutorial.
1. Use the information in the table below to re-define what is shown in the 3D View window.
Temperature
2. Use the options on the Time toolbar to view how the particles' temperature changes over time.
3. At the final timestep (5 s), compare these particle-fluid results (right) with the image you took of
the particle-only flow in Part B (left).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 679
Tutorial - Windshifter
In the particle-fluid simulation (right), heat is transferred from the fluid to the particles.
Note:
Particles reach different temperatures due to the different combinations of heat capacity,
conductivity and surface area.
We can now evaluate how the drag force affects the particles.
1. With a 3D View window selected, use the information in the table below to define what is shown.
2. Use the Time toolbar to see how drag affects the particles over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
680 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
We can further evaluate the drag force by comparing its effects on different groups of particles.
2. Follow the steps in the table below to filter the Metal particle group into a specific size range.
Cube <02>
D User Processes Time Selection | Domain Range All
Time Range Filter
Particles
Time
Selection
<01>
E User Processes Create a Property User Process
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 681
Tutorial - Windshifter
3. Follow the steps in the table below to filter the Stone particle group into a specific size range
and then compare the resulting drag forces
All Smalls
H User Property Name Metal Smalls
Processes Property Particle Group
Type Value
Property Cut value 0
<01>
Properties | Force: Drag and drop to Expressions/Variables |
Drag Output
I User Processes Create a Property User Process
All Smalls
J User Property Name Stone Smalls
Processes Property Particle Group
Type Value
Property Cut Value 2
<01>
Properties | Force : Drag and drop to Expressions/Variables |
Drag Output
Note:
For steps H and J, ensure that what you enter for Cut value corresponds to the correct
Particle Group number displayed on the color scale within your own project (see
3 (p. 679)).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
682 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
At this point, we have successfully filtered the particles that we want to evaluate drag forces by both
size (only the smallest) and group (only Metal and Stone).
Tip:
• To better visualize the particles we are analyzing, use the eye icons on the Data panel
to hide Particles and every entity under User Processes except the Metal Smalls and
Stone Smalls entities.
• Refer to Tutorial 03 - Vibrating Screen for an introduction about Particles Time Selec-
tion if you are not familiar with it.
• You can also color each property by Particle Group to better differentiate between the
metal and stone.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 683
Tutorial - Windshifter
1. Use the table below to configure the output variables you just created.
Drag_Force
B Edit Properties (dialog box) Name Drag_Force_Metal
Property to Curve average
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
684 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
Drag_Force_0
D Edit Properties (dialog box) Name Drag_Force_Stone
Property to Curve average
Now you have the average values of the drag forces that acted on the Metal and Stone particles (as
shown).
Tip:
Your values may differ from the ones presented in this tutorial.
You can also color your Metal Smalls and Stone Smalls by Drag Force (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 685
Tutorial - Windshifter
Note that the drag forces calculation depends on the particle shape, orientation, size, velocity and
other properties.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
686 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
Also note that we are visualizing a Particles Time Selection, which shows the particles we've chosen
to filter at the position they were just before they left the region specified, for all times in the simu-
lation. The visualization does not change with time because the selection itself includes multiple
times.
We will then use again Particle Time Selection to evaluate which Particle Groups go through each
Cube.
1. Use the information in the table that follows to create these User Processes.
Using these two Cubes, we can now create a Particle Time Selection to evaluate which particles are
passing through each outlet.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 687
Tutorial - Windshifter
1. Use the table below to create the Particles Time Selection User Processes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
688 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
• The 1st and 3rd bins are Metal and Stone particles, respectively. Only the (lower) Inlet (in orange)
had these groups.
• The 2nd and 4th bins are Paper and Wood particles, respectively. Only the (upper) Outlet (in black)
had these groups.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 689
Tutorial - Windshifter
• The lighter and flatter Paper and Wood particles were more affected by the drag force than by the
gravity force, and were therefore carried up the pipe.
• The heavier and thicker Metal and Stone particles were more affected by the gravity force than by
the drag force, and therefore fell down the pipe.
13.3.12. CONCLUSIONS
This completes Part C of this tutorial, in which Ansys Workbench was used to set up, run, and post-
process a one-way coupled simulation between Rocky and Ansys Fluent.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
690 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: One-Way Coupling (Workbench)
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 691
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
692 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 14: Tutorial - Fluidized Bed
(Part A) Set up a CFD case with heat transfer in Ansys Fluent to be later used in a two-way coupling
simulation with Rocky DEM.
(Part B) Use the CAS file you created in Part A to set up the Rocky portion of the two-way simulation,
and then run it coupled with Ansys Fluent.
(Part C) Post-process in Rocky the 2-Way Fluent coupling simulation you completed in Part B.
14.1.1. OBJECTIVES
The main purpose of this Tutorial is to set up a CFD case with heat transfer in Ansys Fluent to be
later used in a two-way coupling simulation with Rocky DEM.
Important:
Even if you are already familiar with CFD, please follow Part A in order to understand the
main limitations and needs for single-phase coupling with Rocky.
• Part B and Part C of this tutorial will cover setting up the Rocky project and running the two-way
coupled simulation, respectively.
The scenario being used in this tutorial includes a bed of initially hot particles being fluidized in a
colder air current.
• Fluidized beds are widely adopted in the chemical industry due to the enhanced mixing and im-
proved heat and mass transfer between the particles and fluid.
You will learn how to: Set up and save a single-phase heat transfer case in Ansys Fluent that can
later be used for two-way coupling with Rocky DEM.
14.1.2. PREREQUISITES
To complete this tutorial, you are required to have a valid license for Ansys Fluent and Rocky 2025
R1.
Important:
This ADVANCED tutorial assumes that you are already familiar with the Ansys Fluent UI
and project workflow.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 693
Tutorial - Fluidized Bed
• If that is not the case, please refer to the Ansys Fluent user documentation for basic
introduction about Fluent usage before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
694 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
The walled rectangular container used in this tutorial is composed of the following geometries:
– (a) inlet
– (b) outlet
Note:
These three geometries will come from the Fluent .cas file that you will set up as part of
this tutorial.
2. From the Fluent Launcher, under Dimension, ensure that 3D is selected; also, under Options,
ensure that Double Precision is selected (as shown).
Important:
3. Click Start.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 695
Tutorial - Fluidized Bed
3. From the File menu, point to Read, and then click Mesh.
a. From the Files of type list, select All Mesh Files (*.msh* *.MSH*).
b. From the dem_tut14_files/mesh folder, select the tutorial_14_mesh.msh file, and then click
OK.
1. Use the information in the table that follows to visualize and set up the mesh.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to your Ansys Documentation to find detailed instructions.
Important:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
696 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
Tip:
Since this tutorial refers only to the single phase approach, refer to the Rocky CFD
Coupling Technical Manual for information about using the multiphase approach.
(From the Rocky Help menu, point to Manuals, and then click CFD Coupling Technical
Manual.)
1. From the Outline View, under Models, leave the Multiphase model Off (no changes).
1. Use the information in the table that follows to continue setting up your case.
Models
Energy
B Setup Viscous Model Model k-epsilon (2-eqn)
(dialog box) Near-Wall Scalable Wall Functions
Models
Treatment
Viscous
Note:
For the Boundary Conditions properties, we will use the default (adiabatic) properties for Wall, but
we will define new conditions for the Inlet and Outlet.
1. Use the information in the table below to continue setting up your case.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 697
Tutorial - Fluidized Bed
Inlet
14.1.10. METHODS
1. Use the information in the table that follows to define the solution methods.
Note:
In addition, for all two-way coupling simulations, First Order Implicit must be set for
Transient Formulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
698 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
Important:
To run a coupled simulation, the Time Advancement | Type must remain Fixed.
1. From the File menu, point to Write and then click Case.
c. Click OK.
14.1.13. HELP
This concludes Part A of this tutorial.
For further information on the topic presented, we suggest searching the CFD Coupling Technical
Manual, which provides descriptions of the DEM-CFD coupling methods.
To access it, from the Rocky Help menu, point to Manuals, and then click CFD Coupling Technical
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 699
Tutorial - Fluidized Bed
For further information about Ansys Fluent, please refer to the Ansys Fluent user documentation.
14.1.14. CONCLUSION
Ansys Fluent was used to set up a single-phase CFD simulation with heat transfer that will later be
used for two-way coupling with Rocky.
• Save the case file for later two-way coupling with Rocky
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to Part B and create the
Rocky project that will later be coupled with this CFD case.
14.2.1. OBJECTIVES
The main purpose of this Tutorial is to use the .cas file we created in Part A to set up the Rocky
portion of the two-way simulation, and then run it coupled with Ansys Fluent.
As a reminder, the scenario covered includes a bed of initially hot particles that are fluidized in a
colder air flow.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
700 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
• Thermal Model
14.2.2. PREREQUISITES
To complete this tutorial, you are required to have a valid license for Ansys Fluent and Rocky 2025
R1.
Important:
This ADVANCED tutorial assumes that you are already familiar with the following programs
and resources:
– If this is not the case, it is recommended that you complete at least Tutorials 01- 05
before beginning this tutorial.
– If this is not the case, please refer to the Ansys Fluent user documentation for a basic
introduction about Fluent usage before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 701
Tutorial - Fluidized Bed
As a reminder, the walled rectangular container used in this tutorial is composed of the following
geometries:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
702 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
– (a) inlet
– (b) outlet
Note:
These three geometries will come from the Fluent .cas file that you will import into Rocky.
• If you completed Part A of this tutorial, ensure you have available the fluidized_bed.cas.h5
file you created in Fluent. (Part B will make use of that file.)
• If you did not complete the project from Part A, ensure you have downloaded and extracted
the dem_tut14_files.zip file .
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 703
Tutorial - Fluidized Bed
Note:
Next, we will create a Volumetric Inlet and will constrain it to achieve a flat pile.
Where you place your Seed Coordinate and how you constrain your fill affects the behavior of
particles after release. For example, when constraining by Geometries:
• (1) A Seed Coordinate placed too high above the geometry base might cause particles to fall.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
704 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
• (2) To achieve a more settled pile, locate your Seed Coordinate closer to the base of the geometry
(but avoid the very bottom).
• (3) Choosing to Use Geometries to Compute the Box bounds could result in a rounded pile.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 705
Tutorial - Fluidized Bed
Tip:
From a 3D View window, you can visualize the Seed Coordinate (blue dot) and the Box
bounds (blue cube) that will constrain your Volumetric Inlet.
Important:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
706 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
• You can change the location and dimensions of the bounding box from within the 3D
View window by clicking and dragging the handles (colored dots) representing the
center, and the local X, Y, and Z locations respectively.
• You must still move the Seed location by using only the Seed Coordinates values.
1. For this tutorial, keep the both the Box bounds and Seed Coordinates as defined previously.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 707
Tutorial - Fluidized Bed
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
708 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 709
Tutorial - Fluidized Bed
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
14.2.12. SIMULATION
Once the simulation is done processing, do the following:
1. From the Coloring service toolbar, color the Particles by Velocity : Translational : Absolute (as
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
710 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
a. Click the Play simulation button or use the Next timestep button to move through the sim-
ulation output times. You will see the particle pile settle (slightly) due to gravity.
b. Click the Pause simulation button, and then click the Last timestep button to go to the end
of the simulation.
This will be the initial state of the particles when coupling with Fluent.
2. From the Save As dialog, select the last option, Save as a New Project for Restart, and then
click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 711
Tutorial - Fluidized Bed
This will save the project (setup and current particle location information) at the timestep you
have selected, which for this example, should be the last time step.
3. From the Save File dialog, select a location and File name for the new project, and then click
Save.
The newly saved project should now have the same bed of particles with the timestep reset to zero.
This is the Rocky project with which we will now two-way couple with Fluent.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
712 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
For the CFD Coupling step, we will select the 2-Way Fluent option.
This option in Rocky takes into account fluid forces acting on particles and transfers particle information
back to Fluent.
1. From the Data panel, click CFD Coupling and then from the Data Editors panel, select Fluent
under 2-Way from the Coupling Mode list.
2. From the Select Fluent CAS file dialog, navigate to and select the same Fluent .cas file you used
earlier to import geometries*, and then click Open.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 713
Tutorial - Fluidized Bed
• If you completed Part A of this tutorial, navigate to and select the .cas file that you created in Part
A (fluidized_bed.cas.h5).
• If you did not complete Part A, navigate to the dem_tut14_files folder that you previously
downloaded, find the Fluent folder, and then select the fluidized_bed.cas.h5 file.
Important:
A mesh validation step will occur immediately after the .cas file import. This requires a
valid Fluent license on the same machine upon which you are running the Rocky simulation.
1. From the Data panel under CFD Coupling, select the new 2-Way Fluent option.
From the Data Editors panel, on the main 2-Way Fluent tab, there are five sub-tabs:
• Interactions: This is where the particle-fluid correlations are defined, and where you will set the
turbulent dispersion force (if applied).
• Coupling: This is where you set the Fluent calculation mapping method and sub-stepping options.
• Zones and Interfaces: This is where you can define how fluid cell zones and interfaces are treated
in the coupled calculations.
• Fluent: This is where you set solver options for the Fluent portion of the coupled simulation.
• Variables: This is where additional variables or data that Fluent will receive from Rocky are listed
(if defined).
For this tutorial, we will define only the Interactions and Fluent tab options.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
714 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
2. Under Particle, multi-select both Particle groups, and then define the Convective Heat Transfer
Law.
3. From the Data Editors panel, select the Fluent sub-tab, and then do all of the following:
a. From the Version list, select the Fluent version you want to use.
b. Clear the Keep all files checkbox (as shown). This allows you to save on disk space by choosing
how many Fluent .dat files you want to keep.
c. Set the Files to keep option set to 2. This saves only the last two Fluent .dat files.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 715
Tutorial - Fluidized Bed
Tip:
If you want to be able to post-process the CFD files in Fluent after processing, ensure
that the Keep all files checkbox is enabled. (For this tutorial, however, keep the
checkbox cleared.)
Tip:
If you have a GPU, you can use it for Rocky while Fluent uses the CPU processors.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
716 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Setup and Processing in Rocky
In addition, Ansys Fluent will open automatically, and both Rocky and Fluent will begin processing
your coupled simulation.
Tip:
In Rocky, use the Refresh button or Auto Refresh checkbox to see the updated results in
your 3D View window.
14.2.16. HELP
This concludes Part B of this tutorial.
For further information about setting up a Rocky project for coupling with Fluent, we suggest
searching the Rocky User Manual.
For further information about setting up a Fluent case for coupling with Rocky, we suggest the fol-
lowing resources:
14.2.17. CONCLUSIONS
The Fluent .cas file we created in Part A was used to set up the Rocky portion of the coupled simula-
tion, and then we ran that Rocky simulation two-way coupled with the Ansys Fluent simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 717
Tutorial - Fluidized Bed
• Verify that Rocky has the components necessary to couple with Ansys
• Use Rocky to set up and run a two-way coupled simulation with Fluent
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part C
and post-process this project.
14.3.1. OBJECTIVES
The main purpose of this Tutorial is to post-process in Rocky the two-way coupling simulation we
completed in Part B.
As a reminder, the scenario covered includes a bed of initially hot particles that are fluidized in a
colder air current.
– Cube
– Property
– Histograms
– Time Plots
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
718 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
14.3.2. PREREQUISITES
To complete this tutorial, you are required to have a valid license for Ansys Fluent and Rocky 2025
R1.
Important:
This ADVANCED tutorial assumes that you are already familiar with the Rocky program.
• If this is not the case, it is recommended that you complete at least Tutorials 01- 05
before beginning this tutorial.
a. Ensure you have a valid Fluent license on the same machine upon which you are running
Rocky. (This is required in order to validate the mesh within the linked .cas file.)
e. From the Rocky program, click the Open Project button, find the dem_tut14_files folder, and
then from the tutorial_14_B_pre-processing-rocky folder, open the tutorial_14_B_pre-
processing-rocky-restart.rocky file.
f. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
Note:
Ansys Fluent will open automatically, and both Rocky and Fluent will begin pro-
cessing your coupled simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 719
Tutorial - Fluidized Bed
Using the buttons on the Time toolbar, you can view how particles in the bed segregate as they are
moved by the air injected from below.
Segregation: The bigger particles settle to the bottom while the smaller particles rise to the top of
the bed.
For this kind of analysis, we can use a Cube User Process along with Divisions Tagging to color the
particles by the regional layers in which they were originally located.
1. From the Time toolbar, select the very first output time (0.00 s).
2. Use the information in the following table to create the Cube and Divisions Tagging processes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
720 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
Particles inside the Cube have now been subdivided into 5 different axial divisions based on their
position at t=0s.
3. Use the Data panel eye icons to hide Divisions Tagging(Cube <01>), hide Cube <01>, and show
Particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 721
Tutorial - Fluidized Bed
5. From the Data Editors panel, select the Coloring tab, and then under Nodes, select Divisions
Tagging (Cube <01>) as the Property to be colored.
6. Notice how particles are distributed at the beginning of the simulation and advance in time to
observe mixing.
Observe mixing: Based upon the particles' initial position (t=0), you can watch how they move around
the bed as time advances.
For this analysis, we will create another Cube in the middle of the bed and visualize how particles
that originated from other segments are moved into that particular segment over time.
1. From the Time toolbar, select the very first output time (0.00 s).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
722 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
This new Cube should encompass the 4th axial division and should therefore contain only particles
with Division Tagging equal to 4 at the beginning of the simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 723
Tutorial - Fluidized Bed
Cube <02>
B Histogram (window) Configure histogram (button)
C Configure Number of Bins 5
Histogram (dialog Percent Values (Enabled)
box)
Properties | Divisions Tagging (Selected)
(Cube <01>)...
Limits User Defined
Min 1[-]
Max 5[-]
The results (shown below) verify that at initial time (t=0), the 4th bin contains 100% of the particles.
2. Use the Time toolbar to advance the time and verify that particles coming from different initial
positions move into this second cube, reducing the percentage of particles with tagging = 4.
3. Then, observe how particles are distributed at the final output time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
724 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
At the final output time (3 s), particles that originated from other divisions are more evenly distributed
into the 4th axial segment of the bed.
Note:
Your results may differ slightly from the ones presented in this tutorial.
1. From the Time toolbar, select the very first output time (0.00 s).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 725
Tutorial - Fluidized Bed
2. Use the table below to create the Property process and plot the results by particles mass.
Cube <02>
B User Processes Property Property Divisions Tagging (Cube
<01>)
Property
Cut Value 4[-]
<01>
C User Processes Show in New Time Plot by Particle Mass
Cube <02>
D User Processes Show in Current Time Plot by Particle Mass
Property <01>
At the start of fluidization, particles in section 4 were pushed out of their initial region, but moved
back as time progressed and mixing continued.
1. Use the information in the table below to continue with this analysis.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
726 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
This expression represents the ratio between the mass of particles that were initially in the 4th
axial bin (Tagging = 4) and the current mass of particles inside that same bin area.
2. From the upper left corner of the Time Plot window, select the Plot tab.
The new curve (green) enables you to observe how the mass fraction of particles with Tagging 4 inside
the Cube <02> has changed with time.
2. Right-click the grid, point to Axes Layout, and then select By Quantity.
In this plot, we can see how the average temperature of the particles decreases with time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 727
Tutorial - Fluidized Bed
We can also visualize both the particle and fluid temperature in a 3D View window.
walls
D Particles Coloring Nodes (Enabled)
Nodes | Property Temperature
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
728 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
Let's adjust the temperature scale to match the tutorial minimum and maximum limits, which are
equal to the initial temperatures of the inlet (in Fluent) and particles (in Rocky), respectively.
1. Use the information in the table below to adjust the color scale.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 729
Tutorial - Fluidized Bed
3. Follow the instructions for Step A to adjust the color-scale for Fluid Temperature so it matches
the scale for particle Temperature.
Tip:
To better analyze the results, consider setting up both Color Scales with the same Limits
and colors.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
730 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
To do this, we will create two Cubes one at the bottom of the container and another at the top and
will calculate the difference in fluid pressure between the two locations.
2-Way Fluent
B User Process Cube Name bottom
Center 0, 0, 0.008 [m]
Cube
<03> Magnitude 0.1, 0.02, 0.0155
[m]
C User Processes Create a Duplicate
bottom
D User Cube Name top
Processes Center 0, 0, 0.492 [m]
bottom
<01>
You should now have two Cubes at each end of the container (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 731
Tutorial - Fluidized Bed
top
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
732 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
bottom
C Time Plot Table (tab) Add Formula
<03>
(window)
D Add Expression (dialog box) Curve Caption Pressure Drop
Curve Expression C-B
3. In the plot, right-click the grid area, point to Axes Layout, and then select By Quantity.
4. At the top of the plot, click both Average data lines to turn off their displays (as shown).
The results show that after ~1 s, the system reaches a stabilized state. This period of time can be
used to estimate an average pressure drop.
It is possible to calculate instantaneous or time-averaged fluid statistics based on the CFD cells
located inside of each block from the eulerian division.
A property that can be analyzed within the divisions is the Solid Volume Fraction, that is the ratio
between the summation of the particle volumes within a CFD cell and the volume of the cell.
1. Open a 3D View and use the information in the following table to analyze the instantaneous
Solid Volume Fraction.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 733
Tutorial - Fluidized Bed
2-Way Fluent
B User Processes Create a Eulerian Statistics User Process
Cube <03>
C User Processes Eulerian Heigth Divisions 3
Statistics Depth Divisions 20
Eulerian Statistics
<01> Coloring | Property Solid Volume
Faces Fraction
Show on Node? (Enabled)
2. Hide the Particles entity and all the Geometries to visualize the Eulerian Statistics.
3. Click Shift+Y to see the instantaneous Solid Volume Fraction in the flow direction (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
734 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
• Take a moment and use the slider of the Time Toolbar to visualize the Solid Volume Fraction
for different output times.
1. From the Coloring tab of the Eulerian Statistics <01> entity, define Property as Local Z-Velocity.
2. Use the slider bar from the Time Toolbar to see how the fluid velocity changes with the time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 735
Tutorial - Fluidized Bed
This way you can get a continuous contour plot of the fluid velocity.
You can make Particles visible to see their influence on fluid behavior.
Note that the flow velocity is usually higher where particles are present due to the flow section area
reduction.
Also note that the fluid gets decelerated by the particles due to energy dissipation.
Often we need to extract time averaged statistics instead of instantaneous information to compare
against experimental data. This can be easily accomplished by using the Eulerian Statistics tool.
1. Use the table below to set up the time averaged fluid velocity.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
736 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
Eulerian
Statistics
<01>
B Edit time statistics properties (dialog Add (button)
box)
C Add time statistics properties (dialog Start time 1 [s]
box) Stop time 3 [s]
Operations | Average (Enabled)
Properties | Local (Enabled)
Z-Velocity
D User Processes Coloring | Faces Property Average of Local
Z-Velocity [1s, 3s]
Eulerian
Statistics
<01>
Note:
We choose a time interval that represents a steady state for the system to calculate the
property average.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 737
Tutorial - Fluidized Bed
Note that, on average, the flow velocity is higher when passing through the particles area.
Also note that after passing through the particles, the average fluid velocity is almost the same for
the rest of the bed.
For more information about the tagging and divisions tagging tools, we recommend:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
738 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing in Rocky
For more information about two-way coupling between Rocky and Ansys Fluent, refer to the CFD
Coupling Technical Manual.
14.3.15. CONCLUSIONS
Rocky was used to post-process the Fluent Two-Way simulation that we ran in Part B.
• Use User Processes and Divisions Tagging to analyze the mixing efficiency over time in discrete
areas of the particle bed.
• Calculate the pressure drop using Cube User Processes and 2-Way Fluent Fluid Properties.
• Visualize the fluid velocity profile in the air flow direction with Eulerian Statistics.
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to the next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 739
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
740 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 15: Tutorial - Transient Structural
15.1. Part A: Rocky Setup and Processing (Workbench)
15.1.1. OBJECTIVES
The main purpose of this tutorial is to use Workbench to set up a 1-Way coupled DEM-FEA simulation
between Rocky and Ansys Transient Structural - Mechanical.
• This Part A will cover Workbench project creation, Rocky project setup, and running the DEM
simulation in Rocky.
• Part B will cover 1-Way coupling with Transient Structural - Mechanical to calculate the FEA portion
of the project.
The scenario considered in this tutorial is evaluating the structural integrity of a transfer chute given
varying feeder belt speeds.
• Connect the Workbench project to both Rocky and Ansys Transient Structural - Mechanical
• Set up the DEM portion of the project in Rocky to share data for later FEM analysis
• Ansys Workbench
• Rocky
15.1.2. PREREQUISITES
To complete this tutorial, you are required to have on a Windows machine, both of the following:
• (1) A valid license for Ansys Mechanical 2025 R1, compatible with Transient Structural.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 741
Tutorial - Transient Structural
Important:
This ADVANCED tutorial assumes that you are already familiar with the following programs
and resources:
– If that is not the case, please refer to the Ansys Workbench user documentation for
basic introduction about Workbench usage before beginning this tutorial.
Note:
– If this is not the case, it is recommended that you complete at least Tutorials 01 - 05
before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
742 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Rocky Setup and Processing (Workbench)
15.1.3. GEOMETRY
• (2) Chute
Note:
The chute geometry will be imported into Workbench as a Discovery file. The conveyors
will be added within the Rocky program.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 743
Tutorial - Transient Structural
4. Save the empty Workbench Project from the File, Save As... menu item.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
5. Use the information in the table below to start setting up your Workbench project:
Geometry
B Geometry Import Chute.dsco from
workshop_15_input_files
Geometry
C Analysis Systems Drag and drop onto Geometry | Geometry
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
744 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Rocky Setup and Processing (Workbench)
Transient Structural
E Rocky Delete the link to Transient Structural | Model
Results
F Save the Workbench Project
G Rocky Edit...
Setup
• Dropping the Rocky block onto the Geometry component will automatically generate a connection
between the Geometry and Rocky.
• While Rocky is processing, you should not modify/save/close the connected Workbench session.
• When Rocky interface opens (Step G), the linked geometry component is automatically imported
from Ansys Discovery. In addition, the Boundary Collision Statistics module is automatically enabled
with Forces for FEM Analysis option pre-selected.
Note:
It also happens for the SPH Boundary Interaction Statistics and the Nodal Forces
option. For this setup, it will not be used.
Now that the Workbench project is set up, let's define the Rocky project settings.
Every triangle node will provide x, y, z pressure components, which will then be applied as a load
inside Mechanical.
2. Use the information in the tables that follow to modify the Chute meshing and set up the Feed
Conveyor.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 745
Tutorial - Transient Structural
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
746 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Rocky Setup and Processing (Workbench)
This will automatically create a new variable for this parameter, as indicated by the Variable
Creation dialog.
2. For the Initial value, input 3 m/s (as shown), and then click Create variable.
Creating this input variable will expose it as a parameter in Workbench, which we will make use of
in Part B.
1. From the Tools menu, ensure that the Expressions/Variables panel is enabled.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 747
Tutorial - Transient Structural
2. On the Expressions/Variables panel, the new BeltSpeed variable and value you defined is shown.
You may change the Value to see how this influences the Feed Conveyor geometry. However, for
the purposes of this tutorial, please keep the value as 3.0 m/s.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
748 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Rocky Setup and Processing (Workbench)
For this tutorial, the default Materials and Materials Interactions settings will be used without
changes.
1. Use the information in the table below to continue setting up your project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 749
Tutorial - Transient Structural
1. Follow the steps in the table below to set Wall Loads and Solver parameters.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
750 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Rocky Setup and Processing (Workbench)
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 751
Tutorial - Transient Structural
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
Note:
When the simulation processing is done inside Workbench as is done in this Tutoria all
files are saved in the Workbench file directory, including the ones needed for Rocky.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
752 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Rocky Setup and Processing (Workbench)
2. From the Data Editors panel, select the Curves sub-tab, right-click Force : Z and then click Show
curve in new Plot.
• The result will be a new time plot showing the summed nodal forces observed by the Chute
wall over the duration of the simulation.
We will expose this parameter to Workbench by making it available on the Output tab of the Expres-
sions/Variables panel.
1. Follow the steps in the table below to expose the Force : Z parameter for later analysis.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 753
Tutorial - Transient Structural
Note that we have set the time range for the force output to start a few seconds into the simulation.
This is to account for the time it takes for the particle flow to reach the chute.
2. Close Rocky.
Note:
Due to its connection with Workbench, nothing further is required in Rocky after processing
is complete. There is no need to export any files. All necessary data transfers will happen
in Workbench.
15.1.16. CONCLUSION
This completes Part A of this tutorial, in which through Ansys Workbench Rocky was used to set up
and process a Transfer Chute simulation that will later be 1-Way coupled with Ansys Transient Struc-
tural - Mechanical.
• Create a new Ansys Workbench project that connects an imported geometry to both Rocky and
Ansys Transient Structural - Mechanical.
• Set up and run the Rocky portion of the simulation through Workbench.
What's Next? If you completed this part successfully, then you are ready to move on to Part B and
set up and run the FEA simulation based upon these DEM results.
15.2.1. OBJECTIVE
The main purposes of this tutorial are to use Ansys Workbench to run a 1-Way coupled DEM-FEA
simulation using Rocky and Ansys Transient Structural - Mechanical, and then analyze those results.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
754 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
• As a reminder, the scenario considered in this tutorial is evaluating the structural integrity of a
transfer chute given varying feeder belt speeds.
• Use Workbench to transfer DEM results from Rocky to Transient Structural - Mechanical
15.2.2. PREREQUISITES
To complete this tutorial, you are required to have in a Windows machine, both of the following:
• (1) A valid license for Ansys Mechanical 2025 R1, compatible with Transient Structural.
Important:
This ADVANCED tutorial also assumes that you are familiar with all of the following pro-
grams and resources:
– If that is not the case, please refer to the Ansys Workbench user documentation for
basic introduction about Workbench usage before beginning this tutorial.
Note:
– If this is not the case, please refer to the Ansys Mechanical user documentation for
a basic introduction about Mechanical usage before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 755
Tutorial - Transient Structural
Important:
To make use of the Workbench project file provided, you must have Ansys 2025
R1 or any Rocky-supported version and Rocky 2025 R1 or later. If you have an
earlier version of either of these programs, please upgrade to the latest version of
Rocky and the latest version of Ansys that is supported by Rocky, or complete Parts
A from scratch.
d. From the Workbench program, click the Open Project button, navigate to the tutori-
al_15_A_processing-rocky folder and open the tutorial_15_A_processing-rocky.wbpj file.
With the project open in Workbench, you are now ready to begin Part B.
1. Follow the steps in the table below to transfer the DEM results into Workbench and open Mech-
anical with this data available.
Note:
Step A is only necessary if you are using the already set-up tutorial_15_A_processing-
rocky.wbpj project file that you downloaded together with the tutorial files.
Geometry
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
756 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
Chute/Surface1
B Model Generate Mesh
Mesh
C Model Insert Fixed Support
Transient
D Model Scope Geometry With the Face tool,
multi-select the 12 faces (as
Transient shown on next slide) and
then Apply
Fixed
Support
E Model Step Controls Step and End Time 10 [s]
Auto Time Stepping Off
Transient
Time Step 0.1 [s]
Analysis
Settings
F Model Insert Pressure
G ... Scope Geometry With the Mode of Box
Select, select the whole
Imported chute (as shown) (35 faces)
Load and then Apply
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 757
Tutorial - Transient Structural
2. From the Data View panel, fill in the Imported Pressure table by defining the following compon-
ents for each output recorded (X Component (Pa), Y Component (Pa), and Z Component (Pa))
as described below.
3. In the directory to which you have saved your Workbench files, navigate to the ../dp0/Rock-
yEx/Rocky folder.
4. From within this folder, find the loadref.csv file and open it with a text editor (for example,
Notepad).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
758 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
6. Return to Ansys Mechanical, and then on the first column and line of the Imported Pressure
table, paste all of the information you copied. (Results shown below.)
Using this method enables you to skip defining the components for each exported file manually.
Note:
For this method to work, your operational system language should be defined as English
or another that consider "." as the separator for decimals. Otherwise, the Analysis Time
column will automatically make a conversion and assume wrong values (for example,
0.1 will be assumed as 1).
7. Use the information in the table below to define which solutions to include in the calculations.
Solution
B Model Solve
Transient
Solution
15.2.5. POST-PROCESSING
The FEA simulation starts processing.
When the simulation concludes, the effects caused by the particles colliding with the chute surfaces
can be easily seen:
1. Under Solution, select Total Deformation and then view the results (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 759
Tutorial - Transient Structural
Tip:
Use the Graph and the Tabular Data panel to see how the results vary through the
simulation time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
760 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
1. Follow the steps in the table that follows to define the solutions we want to analyze as parameters.
Solution
Total
Deformation
B ...
Solution
Equivalent
Stress
2. From the Parameter Set tab, select the Outline Of All Parameters window.
• Here, all the parameters created during the analysis are listed, no matter in which application
they were created or if they are input or output parameters.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 761
Tutorial - Transient Structural
In the Outline of All Parameters window, both the input and output parameters we defined earlier
in this tutorial are listed. Specifically:
• Under Input Parameters, you can adjust the BeltSpeed of the Feed Conveyor we set up in Part
A in Rocky (shown in green).
• And see how it affects the results under Output Parameters (shown in yellow), including:
– The resulting Force_Z output from Rocky due to the particles on the chute liner.
– The Total Deformation Maximum and Equivalent Stress Maximum outputs we parameterized
earlier in Mechanical.
These parameters can be directly changed to compare different scenarios, in order to provide you
information on how to improve the chute design for the bulk material flow.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
762 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Mechanical Coupling (Workbench)
• Particle-related quantities such as material density, tonnage, the particle geometry, the particle size
distribution, and so on.
• Chute structural quantities such as the number of supports, the material properties, supports, the
overall design of the chute, and so on.
Now that we have analyzed the structural load on the original chute design, let's see how the results
change when we change the input values.
Let's analyze what happens to the chute when we change the Feed Conveyor's BeltSpeed.
We will do this in the Table of Design Points by adding two new Design Points (DPs) and changing
the input parameters.
1. Right-click DP 0 (the current Design Point) and then click Duplicate Design Point.
3. From the new DP 1 and DP 2 lines, define the P1 - BeltSpeed (as shown).
4. Run the new analyses by clicking the Update All Design Points button.
The new DPs will be run in both Rocky and Mechanical, and the resulting output parameters will be
shown in this table for analysis.
For each DP, Workbench will save the files (setup and results) if the Retain checkbox is enabled. If
not, it will delete the results as soon as the simulation is done and the output parameters were ob-
tained.
This is useful when you run several cases and are in danger of running out of space. You can then
re-run only the best scenario cases (or the worst in case you want to identify failure scenarios).
Tip:
For a more automated method of varying parameters to achieve defined design goals, you
can also use Design Exploration. (Refer to Tutorial 12 for a step-by-step example.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 763
Tutorial - Transient Structural
After the new DPs have been updated, we can look at the resulting output parameters and can see
that the results match what we might have expected:
• Reducing the feed conveyor belt speed (DP 1, in yellow) resulted in lower overall forces and stresses
on the chute.
• Increasing the feed conveyor belt speed (DP 2, in green) resulted in higher overall forces and
stresses on the chute.
Tip:
To open the applications for the new design points, you have to enable the Retain
checkmark on the Table of Design Points.
15.2.7. CONCLUSION
This completes Part B of this tutorial, in which through Ansys Workbench / Ansys Transient Structural
- Mechanical was used to set up and run a FEA simulation using the particle forces calculated previously
by Rocky.
• Analyze key input and output project parameters and set up new cases in Workbench
What's Next? If you completed this part successfully, then you are ready to move on to the next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
764 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 16: Tutorial - Mixing Tank
(Part A) Set up, process, and save an initial fluid field of a Multiphase case in Ansys Fluent that can later
be used for 2-Way Fluent coupling with Rocky DEM.
(Part B) Use the .cas and .dat files you created in Part A to set up the Rocky portion of the 2-Way Mul-
tiphase simulation, and then run it coupled with Ansys Fluent.
16.1.1. OBJECTIVES
The main purpose of this Tutorial is to set up and process a Multiphase CFD case with Ansys Fluent
to be later used in a 2-Way coupling simulation with Rocky.
Important:
Even if you are already familiar with CFD, please follow Part A in order to understand the
main limitations and needs for coupling a Multiphase case with Rocky.
The scenario considered is that of a Mixing Tank into which solid material (particles) fall through air
into water that is being mixed by a rotating impeller.
You will learn how to: Set up, process, and save an initial fluid field of a Multiphase case in Ansys
Fluent that can later be used for 2-Way Fluent coupling with Rocky.
16.1.2. PREREQUISITES
To complete this tutorial, you are required to have a valid license for Ansys Fluent 2025 R1.
Important:
This ADVANCED tutorial assumes that you are already familiar with the Ansys Fluent UI
and project workflow.
• If that is not the case, please refer to the Ansys Fluent user documentation for basic
introduction about Fluent usage before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 765
Tutorial - Mixing Tank
Note:
These geometries will come from the Fluent .cas file that you will import as part of this
tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
766 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
2. From the Fluent Launcher, under Dimension, ensure that 3D is selected; also, under Options,
ensure that Double Precision is selected (as shown).
Important:
3. Click Start.
This is so the Body of Influence (BOI) region where the air and water meet can have a higher resolution.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 767
Tutorial - Mixing Tank
For this tutorial, the mesh interface is already created in the provided Fluent file. Follow the steps
below to open it.
3. From the File menu, point to Read, and then click Case
4. From the Select File dialog, select Mixing_Tank.cas.h5 from the dem_tut16_files/mesh folder,
and then click OK.
1. Use the information in the table that follows to visualize and set up the mesh.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to your Ansys Documentation to find detailed instructions.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
768 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
Important:
Even though we will be simulating only two fluid phases in this tutorial, the number of
Eulerian phases will be set to three (number of phases + 1) to account for a required
particle phase.
1. Use the information in the tables that follow to set up the fluid materials.
Note:
Note:
This new particles fluid material will be used as the required dispersed phase.
For this material, the properties set in Fluent will be later overridden by Rocky.
To create each new fluid material, from the Create/Edit Materials dialog, click
Change/Create and select No if asked to overwrite other material.
2. Next, use the information in the tables that follow to set up the Eulerian Muliphase model, define
the three phase materials, and set the interactions between the phases.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 769
Tutorial - Mixing Tank
Important:
These first four settings are required for any Rocky coupled Multiphase case.
Note:
Fluid-particle interphase transfers are calculated on the Rocky side and not in Fluent,
so we do not need to worry about setting values for this third phase (particles).
Fluid-particle momentum exchange terms are calculated on the Rocky side and not in
Fluent, so we need only to define the interactions between the fluid phases.
The only interaction you must define between fluids is Drag. For this tutorial, the Drag
Coefficient was left as default (Schiller-Naumann) and the Interfacial Area parameters
were defined in Step F.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
770 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
Since this tutorial includes a free surface problem, we have also chosen to consider
surface tension.
Note:
Since for this problem fluid phases are completely segregated, the Turbulent Mul-
tiphase Model should be set to Per Phase.
1. Use the information in the table that follows to set up the cell zone conditions.
Note:
If moving meshes are prescribed for any Zone in Fluent, the Zone Name defined here
(movingregion) will become a new Motion Frame in Rocky once the Fluent .cas file
is imported. (We will cover this later in Part B of this tutorial.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 771
Tutorial - Mixing Tank
Note:
This should match the rotation we defined for the movingregion zone earlier.
1. With Boundary Conditions selected, from the Task Page, double-click the opening component
and do the following:
a. Keep the default settings for water and particles Phases. (No backflow volume fraction).
b. For air Phase, on the Multiphase tab, change the Backflow Volume Fraction to 1.
Note:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
772 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
16.1.11. METHODS
1. Use the information in the table that follows to define the solution methods.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 773
Tutorial - Mixing Tank
Note:
For all Multiphase coupling simulations, the Pressure-Velocity Coupling Scheme must
be set to Phase Coupled SIMPLE.
In addition, for all 2-Way coupling simulations, First Order Implicit must be set for
Transient Formulation.
Relaxation is used only to help make this example simulation run easier for tutorial
purposes.
16.1.12. CONTROLS
For the purposes of this tutorial only, we'll modify the controls to increase stability.
1. Use the information in the table that follows to define the Under-Relaxation Factors.
16.1.13. INITIALIZATION
It is important to provide Rocky with the correct initial volume fraction fields.
• air phase is initialized with a volume fraction of 1.0 in the entire domain and then it is patched to
a volume fraction of zero in the water region.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
774 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
• Also, air turbulence quantities are patched to zero inside water region and vice-versa. This is done
by two cell register regions.
Important:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 775
Tutorial - Mixing Tank
Important:
Ensure the Time Step Size value you set matches the minimum initial Output Frequency
value you want for your Rocky and Fluent files.
Tip:
You can change the outputs to be less frequent than this minimum in your Rocky setup
later.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
776 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Fluent Case Setup
2. Let the simulation run for a few time steps until you can confirm that it is converging (as shown).
These CFD results will be imported as an Initialization file when we define the CFD Coupling in
Rocky in Part B.
2. Close Fluent.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 777
Tutorial - Mixing Tank
16.1.19. CONCLUSION
This concludes Part A of this tutorial, in which Ansys Fluent was used to set up a Multiphase CFD
simulation that will later be used for 2-Way coupling with Rocky.
• Use Ansys Fluent to set up and process an initial fluid field of a CFD case involving two fluids
(water and air) and a particulate phase (particles).
• Understand what Fluent settings are required when coupling Multiphase cases with Rocky.
What's Next?
• You are ready to move on to Part B and create the Rocky project and 2-way couple it with this
CFD case.
16.2.1. OBJECTIVES
The main purpose of this Tutorial is to use the .cas and .dat files we created in Part A to set up the
Rocky portion of the 2-Way Multiphase simulation, and then run it coupled with Ansys Fluent.
As a reminder, the scenario considered is that of a Mixing Tank into which solid material (particles)
fall through air into water that is being mixed by a rotating impeller.
• Motion Frames
16.2.2. PREREQUISITES
To complete this tutorial, you are required to have both of the following on the same machine upon
which you will be running the coupled simulation:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
778 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Coupling Setup
Important:
This ADVANCED tutorial assumes that you are already familiar the the following programs
and resources:
– If this is not the case, it is recommended that you complete at least Tutorials 01- 05
before beginning this tutorial.
– If this is not the case, please refer to the Ansys Fluent user documentation for a basic
introduction about Fluent usage before beginning this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 779
Tutorial - Mixing Tank
Note:
These geometries will come from the Fluent .cas file that you exported out of Fluent in
Part A.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
780 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Coupling Setup
• If you completed Part A of this tutorial, ensure you have available the Mixing_Tank_B.cas.h5
and Mixing_Tank_B.dat.h5 files you exported. (Part B will make use of those files.)
• If you did not complete the project from Part A, ensure you have downloaded and extracted
the dem_tut16_files zip folder that was provided along with this PDF.
• Enable Coarse Grain Modeling (CGM) to help with simulating micron-sized particles.
Tip:
• Use the CFD Coupling Particle Statistics module to collect particle-fluid interaction statistics for
later post-processing.
Tip:
• Import the same geometries motion definitions that we used in the Multiphase Fluent case.
1. Use the information in the table that follows to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Tutorial Index)
to find the detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 781
Tutorial - Mixing Tank
After importing the .cas file, there are three geometry components we do not need for the Rocky
simulation that we can remove.
1. Use the information in the table that follows to continue setting up your Rocky project.
interface_mr
B Geometries Remove Geometry
interface_tank
C Geometries Remove Geometry
opening
D Geometries Create Circular Surface
E Geometries Circular Surface Center Coordinates 0, 0.0125, 0
[m]
Circular
Max Radius 0.07 [m]
Surface <01>
Min Radius 0.008 [m]
To ensure that the motions are identical and remain in sync, Rocky will automatically create a new
Motion Frame based on the motion information Fluent saved in the .cas file.
This Motion Frame will appear once we set up the CFD Coupling portion of the project, which isn't
until later in this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
782 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Coupling Setup
For now, we will skip the Motion Frames step and will come back to it later.
Therefore, we will modify the Default Particles Material, and then create a duplicate of it for the
second Particle group.
1. Use the information in the table that follows to continue setting up your Rocky project.
Note:
We will leave all the Material Interactions as they are set by default.
Next, let's create the two Spherical-shaped particle groups making use of the same CGM Scale Factor,
but with different Materials.
We can also define the Input from which to release these two Particle groups, and reduce the injection
time to only the very beginning of the simulation.
1. Use the information in the table that follows to continue setting up your Rocky project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 783
Tutorial - Mixing Tank
• This option in Rocky takes into account fluid forces acting on particles and transfers particle inform-
ation back to Fluent.
• Choosing this option will enable us to select the same .cas file that we created in Part A of this
tutorial.
Important:
A validation step immediately following this selection requires that a valid and active
version Ansys Fluent be available on the same machine that we are doing the Rocky
setup.
For this tutorial, we want Rocky to consider drag and turbulent dispersion interactions.
We will also make use of the .dat file we exported in Part A to start the simulation with an initial
fluid field.
1. Use the information in the table that follows to set your 2-Way Fluent coupling options.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
784 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Coupling Setup
Note:
For Solver Processes, enter a value based upon how many processors you have avail-
able.
The Additional Argument is optional but enables the Fluent portion of the coupled
simulation to run in batch mode (i.e., without the GUI), which can result in faster pro-
cessing.
2. Click Open.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 785
Tutorial - Mixing Tank
Now that the .cas file is imported, we can see a new entry in the Data panel under Motion Frames
called "movingregion" Motion Frame.
This item is automatically named for the Zone Name we set for the mesh motion in Fluent (Part A).
When this item is viewed in the Data Editors panel, a Rotation motion is already defined (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
786 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Coupling Setup
Note that the options are all disabled. This is to ensure that the motion in Rocky matches exactly the
motion in Fluent.
For this tutorial, we want only the impeller and shaft to rotate, so we will assign the new motion
only to these two components.
1. Use the information in the table that follows to assign your geometry motions.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 787
Tutorial - Mixing Tank
impeller
B Geometries Wall Motion Frame "movingregion" Motion Frame
shaft
Tip:
Once assigned, you can preview these motions in a Motion Preview window.
For this tutorial, it is important to note the Fluent Outputs Multiplier, which enables you to change
the frequency of outputs.
Tip:
1. Use the information in the table that follows to finish your Rocky setup.
Tip:
When you are making CPU selections, remember that some CPUs have been allocated
to the CFD solver. Select only the ones you want Rocky to use here.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
788 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Coupling Setup
The Simulation Summary screen appears (as shown), then processing begins.
A new dialog also appears due to the 2-Way Fluent coupling calculations (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 789
Tutorial - Mixing Tank
Tip:
After getting all information from Fluent, the black dialog closes. In Rocky you can use
the Auto Refresh checkbox to view the results in a 3D View window during processing.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
790 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Coupling Setup
• In Rocky, you can post-process the CFD and DEM results of the simulation by following the same
steps as listed in the following Tutorials:
• In Fluent, you can post-process the CFD results of the simulation using the tools included in that
program, or you can use other programs such as Ansys CFD-Post or Ansys EnSight.
Tip:
Refer to your Ansys Documentation to learn more about how to use these tools.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 791
Tutorial - Mixing Tank
16.2.16. CONCLUSIONS
This concludes Part B of this tutorial.
The .cas and .dat files we created in Part A were used to set up the Rocky portion of the 2-Way
Multiphase simulation, and then run it coupled with Ansys Fluent.
• Import Mesh Motions from a CFD .cas file into Rocky and assign them to geometries
• Use Rocky to set up and run a 2-Way coupled Multiphase simulation with Fluent
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
792 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 17: Tutorial - Mixing Tee
(Part A) Learn how to set up and process a simulation using Coarse Grain Modeling (CGM) and import
an *.f2r file into Rocky for 1-Way Fluent coupling.
(Part B) Learn how to identify when particle flow reaches a steady state, compare the mass flow between
outputs, and build Custom Properties to estimate the work of shear forces.
17.1.1. OBJECTIVES
The main purpose of this tutorial is to learn how to use Coarse-Graining to increase the particle size
while maintaining the system behavior, but using a reduced number of (larger) particles.
We will also learn how to export Ansys Fluent results as an .f2r file (optional) and further couple this
already-processed CFD simulation with our DEM simulation setup in Rocky.
• Use Coarse-Graining to scale-up the particle size (and reduce the processing time)
• Rocky:
– Coarse-Graining
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 793
Tutorial - Mixing Tee
17.1.2. PREREQUISITES
This ADVANCED tutorial assumes that you are already with the Rocky user interface (UI) and Rocky
project workflow.
• If this is not the case, it is recommended that you complete at least Tutorials 01- 05 before begin-
ning this tutorial.
Important:
Even though this tutorial makes use of CFD results from Ansys Fluent, you are not required
to have a Fluent license. Specifically:
• If you do not have Ansys Fluent, you can skip the CFD setup steps and just use the
provided results when you are ready to import them into Rocky.
• (Optional) If you do have Ansys Fluent and want to process the CFD results yourself,
ensure that you have a valid license for Ansys 2025 R1.
17.1.3. GEOMETRY
In the tutorial directory, a .cas file containing this geometry can be found.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
794 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
If you are completing this tutorial without Ansys Fluent, please skip ahead to the Rocky
setup steps, which begin on ROCKY PROJECT SETUP (p. 797).
4. From the Fluent Launcher, under Dimension, ensure that 3D is selected; also, under Solver
Options, ensure that Double Precision is selected.
Important:
5. From the Solution workspace, below Capability Level, select Case from the dropdown list.
6. From the Browsing Case File dialog, navigate to the geometry folder that you previously
downloaded, select the mixing_tee_fluent.cas file, and then click Open.
8. Click Start.
1. At the top of the Fluent program window, see if you have listed the Rocky Export menu (as
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 795
Tutorial - Mixing Tee
2. If you do not see this menu in Fluent, then do the following: From the Rocky program's Options
menu, point to Ansys and then click Install Fluent/Rocky export (as shown).
Tip:
It is also possible to couple Fluent and Rocky through the Ansys Workbench program.
(See also Tutorial - Windshifter (p. 629)).
2. From the Run Calculation Task Page, click Calculate. If you are asked to initialize the case, click
Yes.
3. After the calculation completes, from the Rocky Export menu, point to Export one-way data,
and then click Export current data to Rocky (as shown).
The .f2r file will be automatically saved in the same location as the .cas file.
4. Close Fluent. (It is not necessary to save the case for this tutorial.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
796 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
If you are completing this tutorial without Ansys Fluent, you can begin the tutorial from
this step.
• Use the Boundary Collision Statistics module to collect Intensities. This data can be useful for
analyzing impact wear and power draw.
• Import geometries via the same Fluent .cas file we used earlier (in the optional steps).
• Scales-up the particle size, which reduces the number of particles that need to be processed,
thereby lowering the computational load.
• Adjusts the particle interactions of the newly scaled-up particles so that the larger particles behave
more like the smaller particles they represent.
Rather than creating an impractical case involving, perhaps, hundreds of millions of tiny particles,
Coarse-Graining makes it possible to analyze an approximated case with a more manageable particle
count all without sacrificing accuracy.
Note:
The Coarse-Graining model used in Rocky is based on the work of Bierwisch et al. (2009).
Refer to the Rocky DEM Technical Manual for further details.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 797
Tutorial - Mixing Tee
This factor is multiplied by the original particle size to obtain an easier-to-process scaled-up particle,
called a parcel.
The job of a single, scaled-up parcel is to represent many original-sized particles while retaining
the same interaction behaviors as the smaller particles it represents.
To achieve this latter goal, the CGM Scale Factor is also used to adjust the contact, adhesion, thermal,
drag, and other interaction properties of the scaled-up parcel so that it behaves more like the original-
sized particles.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
798 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
1. From the Data panel, multi-select the two inlet and two outlet geometry components.
2. Right-click the selection of four items, and then click Remove Geometries.
Important:
We will also be creating a spherical-shaped particle group with a range of three different sizes.
Note that we will be using default values for both the Materials and Materials Interactions settings.
1. Use the information in the table below to continue setting up your Rocky project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 799
Tutorial - Mixing Tee
• For now, we will leave the CGM Scale Factor as 1 (particles equal to the original size).
• Later in this tutorial, we will compare the particles count for CGM Scale Factors of 1 and 30.
2. Click the Add button (green plus) twice to add two more particle size rows.
3. For each row, define the Size (and Units) and Cumulative % values (as shown). Click View.
• Reminder: The Particles Details window always reflects the size of the largest particle in the
set. (In this case 7.5e-05 m.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
800 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 801
Tutorial - Mixing Tee
1. Use the information in the table below to continue setting up your Rocky project.
2. From the Data Editors panel, on the Info tab, view the estimated number of particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
802 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
This estimate is made using the Inlet parameters (e.g. Start and Stop Times, Target Velocity
and Surface Dimensions) and the Particles parameters (e.g. Size and Material).
For this tutorial, we will assume that we do not have the computational resources to process
the hundreds of millions of estimated particles.
To make this simulation more reasonable to process, we will now set a higher CGM Scale Factor to
reduce the particle count.
2. From the Data Editors panel, on the Size sub-tab, increase the CGM Scale Factor.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 803
Tutorial - Mixing Tee
By viewing again the particle estimates in Inlets and Outlets, a significant reduction of particles can
be seen.
2. From the Data Editors panel, on the Info tab, view the updated particle estimate.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
804 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Now ranging in only the tens of thousands of particles, this case should be much easier to process.
In addition, the corrections made by the Coarse-Graining will ensure that the interactions closely
approximate those of the original case.
Important:
As a reminder, the CGM factor f is multiplied by the particle diameter, which means that
the parcel's volume and mass are f3 times bigger when compared with those from the
original particle. The outcome is a reduction in the particle count by f3 times.
For this tutorial, an exaggerated CGM factor of 30 is used to speed up simulation time.
However, note that an over-scaled CGM factor may cause unrealistic physical results and
numerical instability (e.g. 2-Way Coupling cases).
2. From the Data Editors panel, from the Coupling Mode list, select (under 1-Way) the Fluent
(Fluid > Particle) option.
3. From the Select Fluent 2 Rocky export file dialog, do one of the following:
• If you completed the earlier steps in Ansys Fluent, navigate to the geometry folder, find the
fluent_to_rocky.f2r file (which was generated by Ansys Fluent when you exported the results),
and then click Open.
• If you did not complete the earlier steps in Ansys Fluent, navigate to the geometry/cfd-one-
way folder, select the mixing_tee_cfd.f2r file, and then click Open.
4. From the Data Editors panel, on the 1-Way Fluent | Interactions tab, enable the Turbulent
Dispersion checkbox.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 805
Tutorial - Mixing Tee
Important:
Given the amount of elements, showing all vectors for your CFD meshes is not considered
good practice as it can freeze the Rocky interface.
A better practice is to create a thin slice of your mesh and show only the vectors within that slice.
1. Use the information in the table that follows to set up and visualize this slice.
1-Way Fluent
B User Cube Name Flow Vectors
Processes Center 0.45, 0, 0 [m]
Cube Magnitude 1.7, 0.02, 0.9
<01> [m]
C User Processes Show in new 3D View
Flow Vectors
D User Coloring Vectors (Enabled)
Processes Vectors | Property Velocity
Flow Vectors | Vector scale 0.025 [ - ]
Vectors Vectors | Normalized (Enabled)
vectors
The colored vectors show that the fluid enters the domain through two inlets, (left portion of the
figure) and flow through two outlets (right portion of the figure).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
806 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
To see the vectors, you might need to make the wall geometry transparent or hidden.
1. Use the information in the table that follows to finish your Rocky setup.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 807
Tutorial - Mixing Tee
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
808 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
17.1.22. CONCLUSION
This completes Part A of this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 809
Tutorial - Mixing Tee
• Import CFD results into Rocky by enabling 1-Way Fluent CFD Coupling.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and post-process this project.
17.2.1. OBJECTIVES
The purpose of this tutorial is to use the results from the Mixing Tee simulation we set up and pro-
cessed in Part A to analyze which wall regions are most susceptible to wear and discover how the
particles are distributed between the outlets.
• Time Plots
• Histograms
– Cubes
– Property
– Particles Trajectory
• Custom Properties
17.2.2. PREREQUISITES
This ADVANCED tutorial assumes that you are already with the Rocky user interface (UI) and Rocky
project workflow.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
810 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• If this is not the case, it is recommended that you complete at least Tutorials 01- 05 before begin-
ning this tutorial.
Important:
Even though this tutorial makes use of CFD results from Ansys Fluent, you are not required
to own a Fluent license in order to complete this tutorial.
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the tutorial_17_A_pre-processing
folder, open the tutorial_17_A_pre-processing.rocky file.
e. Process the simulation. (From the Data panel, select Solver and then from the Data Editors
panel, click the Start button.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 811
Tutorial - Mixing Tee
The resulting time plot shows that after approximately 0.5 seconds, the amount of particles inside
the domain remains stable.
The range between 0.5 s and 1.0 s is a period of continuous operation of the equipment, and could
be used for a statistical analysis.
We will therefore define three Cube User Processes; one for the inlet and another two for the outlets.
1. Use the information in the tables that follow to define these Cubes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
812 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. Use the information in the tables that follow to define these processes.
Inlet Cube
B User Processes Time Selection Name Inlet Measurement
Domain Range After Time
Particles
Time Initial 0.5 [s]
Selection
<01>
C User Processes Create a Particles Time Selection User Process
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 813
Tutorial - Mixing Tee
Next, we will build a Histogram comparing the total mass and particle sizes between each Cube.
Outlet Measurement
(Downward)
D User Processes
Outlet Measurement
(Main)
E Histogram (window) Configure histogram (button)
F Configure Histogram (dialog box) Weight Particle Mass
Number of Bins 3
Percent Values (Enabled)
The Histogram shows the mass fraction of three ranges of particle sizes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
814 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
Your histogram's bin colors might differ from the ones shown.
The dark red bins show that approximately 66% of the Inlet mass fraction is of small particles. The
middle-sized and big particles have almost 17% of mass fraction each.
For the Main Outlet (orange bins), we have almost 80% of small particles mass fraction.
The blue bins (Downwards Outlet) show that the bigger the particle, the higher the mass fraction.
In other words, bigger particles tend to flow downwards.
These results make sense as bigger particles (with greater mass) would require more energy to accel-
erate and escape the downwards outlet as the gravity force acts.
Note:
Because we are using CGM, the particle sizes listed on the horizontal axis are 30 times
bigger than the sizes we set in the Particles step.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 815
Tutorial - Mixing Tee
The wear law used in that feature takes into account the shear work on the geometry surface to
predict how it will wear down over time.
Tip:
For hands-on experience with surface wear modification, refer to Tutorial - SAG Mill (p. 247)
and Tutorial - High Pressure Grinding Roll (HPGR) (p. 391).
However, for the case we are studying in this tutorial, the surface modification of the geometry would
not be noticeable due to the short simulation time.
Instead, we can compute the total work done by the shear forces on each triangle surface and then
verify which regions of the geometry have the highest shear work.
You might recall that in Part A, we enabled the collection of Intensities data for Boundary Collision
Statistics. We can use that data to perform the shear work analysis.
(17.1)
Where:
• [s] is the time between 2 outputs, which is dictated by the Output Frequency.
First, we are going to calculate the Cumulative Intensity : Shear, which is the factor of
the equation.
1. Use the information in the table below to create this custom property.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
816 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
wall
B Add new (dialog box) Name Cumulative Intensity:
Shear
Output unit W/m2
Inputs | Intensity: (Enabled)
Shear
C Custom Property (dialog box) Expression sum(A[:t+1]
The new Cumulative Intensity : Shear (Custom) property will appear on Properties tab under
Transient.
1. Use the information in the table below to create a second custom property.
wall
B Add new (dialog box) Name Cumulative Shear Work
Output unit J
Inputs | Area: Cell (Enabled)
Inputs | Cumulative Intensity: (Enabled)
Shear (Custom)
C Custom Property (dialog Expression A*B*OUTPUT_FREQUENCY
box)
The new Cumulative Shear Work (Custom) property will appear on the Properties tab under
Transient.
1. To visualize this new Cumulative Shear Work (Custom) property, drag-and-drop it onto a 3D
View window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 817
Tutorial - Mixing Tee
To highlight the surface triangles that are most affected by wear, we will create a Property process
to filter them out.
1. Use the information in the table below to create a this Property process.
2. From the Data panel, hide the two items under Geometries, every Cube and Particles Time Se-
lection User Processes and show Particles by clicking their respective eye icons.
The results shown below are for the last output time: [100] 1 s
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
818 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Now we will manually define the limits of the color scale and see how the surface wear changes over
time.
1. From the Data panel, under Color Scales, select Cumulative Shear Work (Custom).
2. From the Data Editors panel, set the Limits options as User Defined, and then click the Compute
limits in time range and set as "User defined" button.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 819
Tutorial - Mixing Tee
3. From the Calculate limits for the time range dialog, click OK.
4. Use the slider on the Time toolbar to see how the Cumulative Shear Work develops over time.
To get a better context of how the particles are interacting with the geometry, we can create a
Particles Trajectory process:
1. From the Time toolbar, set the output time to [80] 0.8 s.
2. Use the information in the table below to create a this Particles Trajectory process.
3. From the Data panel, make sure the Particles Trajectory <01> item is visible by enabling its eye
icon.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
820 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
As shown in the images below, most of the shear work happens on the bottom portion of the main
pipe.
Of the bottom portion of the main pipe, the regions of highest shear work are:
As the shear work is more severe in these regions, they are the most susceptible to wear.
17.2.9. CONCLUSION
This completes Part B of this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 821
Tutorial - Mixing Tee
• Use Cube and Particles Time Selection User Processes to measure the amount of particle mass
that flowed through the outlets.
• Analyze the particle size segregation between the outlets by using a Histogram.
• Visualize the cumulative shear work on the Mixing Tee geometry by using the Boundary Collision
Statistics data that was collected in Part A combined with the Particles Trajectory.
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
822 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 18: Tutorial - Ribbon Blender
(Part A) Set up and process a simulation that makes use of the Liquid Bridge Model external module,
which enables you to compute adhesive forces caused by the liquid film that involves the particles
when they are wet.
(Part B) Analyze the mixing performance using the Lacey Mixing Index (LMI).
18.1.1. OBJECTIVES
The main purpose of this tutorial is to learn to set up and process a Liquid Bridge simulation for
later mixing analysis.
• Part B will cover analyzing the mixing performance using the Lacey Mixing Index (LMI) and Part
C will cover analyzing the liquid distribution.
The scenario considered in this tutorial is evaluating the mixing performance of a Ribbon Blender
combining two different materials: one powder material (dry) and one additive material (wet).
Note:
Ribbon Blenders are commonly used in the food, chemical, and pharma industries.
• Install, enable, and then configure the Liquid Bridge adhesion model
18.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 823
Tutorial - Ribbon Blender
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
To make use of the referenced external module, you must have Rocky 2025 R1 or later and your
version of Rocky must be the same as the SDK version in which the module was compiled.
External modules are not installed with the Rocky product by default; rather, they are downloaded
and installed separately.
1. Download the ready-to-use module Liquid Bridge Model for your operating system.
2. Open the folder that downloads and then extract its content.
3. Copy the 25.1.0 folder you previously extracted to one of the following locations:
4. Restart (or open if already closed) Rocky to refresh the module libraries.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
824 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
18.1.4. GEOMETRIES
• (1) Tank
• (2) Ribbon
These two items will be imported as .stl files, which can be found in the tutorial directory.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 825
Tutorial - Ribbon Blender
• Liquid Bridge Model applies to particles an adhesion model that simulates what happens when
a wet particle gets close enough to another particle or boundary for their liquid films to touch or
"bridge".
• Because the default values already represent water, we will be leaving most of the Liquid Bridge
settings as default for this tutorial.
Tip:
More information about this module can be found in the Ansys Help by clicking the button
as shown.
2. From the Data Editors panel, enable the Liquid Bridge Model checkbox (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
826 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
If you do not see the Liquid Bridge Model listed here, ensure you have followed the steps
on EXTERNAL MODULE (p. 824).
1. From the Data panel, under Modules, select the new Liquid Bridge Model entry.
• Liquid Viscosity: Defines the viscosity of the liquid film around particles.
• Liquid Density: Defines the density of the liquid film around particles.
• Surface Tension: Defines the surface tension of the liquid film around particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 827
Tutorial - Ribbon Blender
In addition to those listed in the module itself, additional Liquid Bridge parameters will be available
in other locations of the Rocky setup, including:
• Materials Interactions
Note:
1. Use the information in the table that follows to continue setting up the project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Ribbon
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
828 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Earlier in the Modules step, we enabled the Liquid Bridge Model module.
Doing so turned on additional parameters in other parts of the Rocky UI, including for Materials Inter-
actions.
• Bridge Volume Fraction (fb): Defines the fraction of the liquid bridge volume that the particle pair
will each contribute to when they are close enough for their liquid films to form a bridge.
• Contact Angle (θ): Defines the angle between the surface of the liquid bridge and the particle
(and/or boundary) surfaces between which it formed.
• Minimum Separation Ratio: Defines the minimum separation ratio between the pair of colliding
particles below which the capillary and viscous liquid bridge forces will remain with a constant
value. The minimum separation distance (h) is computed as the minimum separation ratio times
the biggest particle radius.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 829
Tutorial - Ribbon Blender
Note:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
830 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
In this way, we will have two distinct layers of particles to better analyze the mixing:
1. Use the information in the table that follows to continue setting up your simulation:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 831
Tutorial - Ribbon Blender
Important:
The Particle Inlet Mass Flow Rate was set in a way that the Wet Additive mass will be 15%
of the total mass (Wet Additive + Dry Powder).
Earlier in the Modules step, we enabled the Liquid Bridge Model module, which turned on additional
parameters in other parts of the Rocky UI, including for Inlets and Outlets.
This additional parameter appears on a new Modules sub-tab for your Inputs:
• Liquid Mass: Defines the liquid mass that will be applied to each particle within the selected
Particle set.
Note:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
832 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Now, we'll create a Volumetric Inlet that injects the Dry Powder particles, and will finish setting up
the rest of our project.
Note:
We want the Dry Powder particles to be completely dry at the time of injection, so we
will leave the Liquid Mass setting as 0 (zero).
1. Use the information in the table that follows to finish setting up your project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 833
Tutorial - Ribbon Blender
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
834 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 835
Tutorial - Ribbon Blender
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
18.1.13. CONCLUSION
This completes Part A of this tutorial, in which Rocky was used to set up and process a Ribbon Blender
simulation.
• Download, install, enable, and set up the Liquid Bridge Model module.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and/or Part C and post-process this project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
836 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (LMI Analysis)
18.2.1. OBJECTIVES
The main purpose of this tutorial is to use the results of the simulation we set up and processed in
Part A to analyze the mixing efficiency using the Lacey Mixing Index (LMI).
As a reminder, the scenario considered in this tutorial is a Ribbon Blender mixing two different ma-
terials: one (dry) powder material and one (wet) additive material.
• Use Cylinder and Eulerian Statistics User Processes to define discrete cells
– Cylinder
– Eulerian Statistics
– Property
18.2.2. PREREQUISITES
Important:
Important: This ADVANCED tutorial contains fewer details, screenshots, and procedures
than other Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 837
Tutorial - Ribbon Blender
To make use of the external module referenced, you must have Rocky 2025 R1 or later and your
version of Rocky must be the same as the SDK version in which the module was compiled.
Tip:
If you are unsure which version of Rocky you have, check the Rocky About screen. (From
the Help menu, click About, and then view the Version information).
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1. If you
have an earlier version of Rocky, please upgrade Rocky to version Rocky 2025 R1, or
complete Part A from scratch.
• From the Rocky program, click the Open Project button, find the dem_tut18_files folder, then
from the tutorial_18_A_pre-processing folder, open the tutorial_18_A_pre-processing.rocky
file.
• Process the simulation. (From the Data panel, select Solver and then from the Data Editors panel,
click the Start button.)
With the processing complete, we can now start analyzing our results.
18.2.4. POST-PROCESSING
At any given time, Properties can be used to color the Particles in a 3D View window.
1. From the Particles entity, on the Properties tab, right-click Particle Group, point to 3D View
and then click Show in new 3D View.
Tip:
You might need to make the Tank geometry transparent (or hidden) to see the particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
838 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (LMI Analysis)
A good degree of mixing means that the mass fractions of the samples are approximately the same.
Each discrete volume (cell) will represent a different sample of our mixture.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 839
Tutorial - Ribbon Blender
To compare the degree of uniformity between samples, we can calculate their Additive Mass Fraction
Variance.
The higher the variance, the more heterogeneous is the system, which means a poor degree of mixing.
The Lacey Mixing Index (LMI) is often used to evaluate the uniformity of mixing. It can be interpreted
as a normalization of the mass fraction variance, and will provide values ranging from 0 to 1.
• An index of 0 (zero) means that the mass fraction variance is the maximum theoretical value and
also means complete segregation (no mixing achieved).
• An index of 1.0 means that the mass fraction variance is the minimum theoretical value and also
means a completely random mixing (maximum mixing achieved).
(18.1)
(18.2)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
840 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (LMI Analysis)
(18.3)
Where:
Tagging allows you to define a Global value to particles that meet a specific criterion in a particular
Output Time.
To select a group of particles, we will create a new Property User Process that filters particles based
on their properties.
1. Filter the Particles by the Wet Additive Particle Group by using the information in the table below:
2. To see only the filtered particles, use the eye icons on the Data panel to hide the main Particles
entity and make the Wet Additive User Process visible.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 841
Tutorial - Ribbon Blender
This separation will be needed later when we calculate the mass of the Wet Additive particles only.
1. Tag the Wet Additive particles using the information in the table below:
In this way, if the particle is a Wet Additive particle, the value of this new custom property is the
Particle Mass. Otherwise, the value will be zero.
1. Create a new Custom Property using the information in the table below:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
842 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (LMI Analysis)
A new property called Mass If Additive (Custom) appears on the Properties tab for Particles.
18.2.10. SAMPLING
Now that we've defined the Mass If Additive property, we need to divide the Ribbon Blender tank
into samples.
For this step, we will create a Cylinder User Process and then apply Eulerian Statistics divisions to
the cylinder.
The Additive Mass Fraction will then be calculated for each individual cell by adding a new expression
defined as the Additive Mass divided by the Particle Mass.
1. Use the information in the table that follows to set up the processes.
Cylinder <01>
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 843
Tutorial - Ribbon Blender
First we need to calculate both the sum of all particles mass and the Wet Additive particle mass in
each cell.
1. Use the information in the table that follows to add two new Eulerian properties:
From the Properties tab of the Eulerian Statistics <01> entity, the two new custom properties appear.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
844 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (LMI Analysis)
The last step to visualize the mass fraction is to divide the Sum of Mass If Additive (Custom) by the
Sum of Particle Mass using a new Custom Property.
1. Use the information in the table that follows to create this new custom property.
Eulerian
Statistics
<01>
B Add new (dialog box) Name Additive Mass
Fraction
Output unit -
Inputs | Sum of Mass If (Enabled)
Additive
Inputs | Sum of Particle Mass (Enabled)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 845
Tutorial - Ribbon Blender
Note:
For Step C, ensure the expression you enter represents Sum of Mass If Additive
(Custom) divided by Sum of Particle Mass.
The newly created property will be available on the Properties tab for the Eulerian Statistics <01>
entity.
1. Drag and drop the new Additive Mass Fraction (Custom) property onto a 3D View window.
2. By using the slider on the Time toolbar, you can see how the Mass Fraction is distributed in the
cells over time.
18.2.12. FILTERING
In order to evaluate the Lacey Mixing Index (LMI) unbiased, we'll select and analyze only those cells
with the highest amounts of particles, to ensure better representative samples.
For this step, we will filter the cells based on their mass.
1. Use the information in the table that follows to create a property process to filter those cells:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
846 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (LMI Analysis)
Important:
• Modifying the number of Eulerian Statistics divisions changes the total particle Mass
in each sample. Therefore, the mass range used to filter the samples through the
Property Process would be different.
• The range of Sum of Particle Mass defined through the Property Process above should
be adjusted based on the Property limits.
Tip:
You can view the limits by clicking the Load Limits button on the Property
tab when defining a Property User Process.
• The number of Eulerian Statistics cells (volume of samples) affect the calculated value
of Lacey Mixing Index. For example, a higher number of divisions would increase the
heterogeneity between samples and, therefore, their variance.
• A sensitivity analysis should be performed to find the optimum number of cells. For ex-
ample, coarser particles would require a greater volume of each sample (so, the particles
wouldn't be bigger than a cell), reducing the number of cells.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 847
Tutorial - Ribbon Blender
(18.6)
Where is the number of cells, is the Additive Mass Fraction in the cell i and is the Additive
Mass Fraction Average (taken across Eulerian Statistics cells).
2. From the Sample LMI entity, on the Properties tab, right-click Number of Particles, point to
Time Plot, point to Show in selected Time Plot, and then click Average. (Resulting plot shown.)
If we recall from the setup in Part A, the System Additive Mass Fraction ( ) is 15%.
So next, we need to define and (see equations below) using the Add Formula feature in
the Time Plot window we already created.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
848 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing (LMI Analysis)
3. Use the information in the table that follows to create formulas in the Time Plot:
Note:
Make sure that the B column represents the Variance: Additive Mass Fraction (Custom)
calculation, the C column represents the Average: Number of Particles (Mixer - Sample
LMI), the E1 column represents the Fully Unmixed calculation and the E2 column
represents the Fully Mixed calculation.
If you switch to the Plot tab, you can now see how the Lacey Mixing Index (orange dashed line)
changes over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 849
Tutorial - Ribbon Blender
Tip:
We can see that the LMI reaches 0.99 (which we can consider "fully mixed") at 6.8s.
Note:
Your results might differ from the ones shown in this tutorial.
Tip:
Press and hold the Shift key and then left-click the curves with your mouse to see
specific values.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
850 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Liquid Distribution Analysis)
18.2.14. CONCLUSION
This completes Part B of this tutorial, in which Rocky was used to calculate the Lacey Mixing Index
(LMI) of the Ribbon Blender simulation we set up and processed in Part A.
• Use Tagging Particle Calculations to mark particles with a certain defined criteria.
• Use a Cylinder User Process to define an Eulerian Statistics User Process in order to calculate
properties statistics in discrete cells.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part C
and continue post-processing this tutorial.
18.3.1. OBJECTIVES
The main purpose of this tutorial is to use the results of the liquid bridge simulation we set up and
processed in Part A to analyze the distribution of liquid during mixing.
As a reminder, the scenario considered in this tutorial is a Ribbon Blender mixing two different ma-
terials: one (dry) powder material and one (wet) additive material.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 851
Tutorial - Ribbon Blender
– Property
• Time Plots
• Histograms
18.3.2. PREREQUISITES
Important:
Important: This ADVANCED tutorial contains fewer details, screenshots, and procedures
than other Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
To make use of the external module referenced, you must have Rocky 2025 R1 or later and your
version of Rocky must be the same as the SDK version in which the module was compiled.
Tip:
If you are unsure which version of Rocky you have, check the Rocky About screen. (From
the Help menu, click About, and then view the Version information).
If you did not complete Part A (and/or Part B), do all of the following:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
852 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Liquid Distribution Analysis)
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1. If you
have an earlier version of Rocky, please upgrade Rocky to version Rocky 2025 R1, or
complete Part A from scratch.
• From the Rocky program, click the Open Project button, find the dem_tut18_files folder, then
from the tutorial_18_A_pre-processing folder, open the tutorial_18_A_pre-processing.rocky
file.
• Process the simulation. (From the Data panel, select Solver and then from the Data Editors panel,
click the Start button.)
With the processing complete, we can now start analyzing our results.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 853
Tutorial - Ribbon Blender
• Liquid Mass: Provides the mass of the liquid film around each individual particle.
Important:
The liquid mass is not included in the particle mass. For example, if the dry particle has
0.1 kg and you add 0.1kg of liquid, the particle mass will remain 0.1 kg.
We can use this new property to see how the dry particles were affected by the wet particles during
mixing.
1. From the Particles entity, on the Properties tab, right-click Liquid Mass, point to 3D View and
then click Show in new 3D View.
2. Make the Tank and Ribbon geometries transparent (or hidden) to see the particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
854 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Liquid Distribution Analysis)
2. From the Data Editors panel, click the ... button next to Color-scale.
3. From the Color-scale dialog, click the ... button again, and then select the red-to-blue color scale
(as shown).
4. Below the red-to-blue Color-scale, double-click the red-colored dot and then from the Select
Color dialog, select the white color (as shown), and then click OK.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 855
Tutorial - Ribbon Blender
7. From the Data Editors panel, under Limits, define Limit options, and then define the Limits
values (as shown).
Use the slider on the Time toolbar to see how the liquid from the Wet Additive (blue) is transferred
to the Dry Powder (white) over time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
856 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Liquid Distribution Analysis)
We can also plot the average Liquid Mass of both the dry and wet particles on a Time Plot.
But first, we need to separate the groups by creating two Property User Processes.
1. Filter the Particles by Particle Group by using the information in the following table.
Note:
If you completed Part B of this tutorial, you can skip steps A and B since you already
have the Wet Additive Property User Process.
2. From the Data panel, under User Processes, multi-select both the Dry Powder and Wet Additive
items.
3. From the Data Editors panel, on the Properties tab, right-click Liquid Mass, point to Time Plot,
point to Show in new Time Plot, then click Average.
The resulting Time Plot shows that by the end of the simulation, the liquid that was initially only in
the wet particles is after mixing, evenly distributed throughout both the wet and dry particles.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 857
Tutorial - Ribbon Blender
2. From the Data panel, under User Processes, multi-select both the Dry Powder and Wet Additive
items.
3. From the Data Editors panel, on the Properties tab, right-click Liquid Mass, point to Histogram,
and then click Show in new Histogram.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
858 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Liquid Distribution Analysis)
4. Use the information in the table that follows to configure the histogram:
The resulting Histogram (at 1 s) shows that at the very beginning of the simulation, 100% of the liquid
is concentrated on the wet additive.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 859
Tutorial - Ribbon Blender
You can explore how the liquid spreads over time by moving the Time slider forward.
For example, a few seconds into the simulation, fewer particles remain completely dry than at the
beginning of the simulation. (Results shown at 3 s.)
By the end of the simulation, the liquid content is gathering around the average. (Results shown at
10 s.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
860 of ANSYS, Inc. and its subsidiaries and affiliates.
Part C: Post-Processing (Liquid Distribution Analysis)
18.3.6. CONCLUSION
This completes Part C of this tutorial, in which Rocky was used to analyze the liquid distribution
within the Ribbon Blender simulation we set up and processed in Part A.
• Use Property User Processes and a Time Plot to analyze liquid distribution
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 861
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
862 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 19: Tutorial - Backhoe Loader
(Part A) Set up 2-Way Coupling abilities between Rocky and Ansys Motion, and then use Ansys Motion
to export pre-defined geometry movements into a Functional Mock-Up Unit (FMU) file.
(Part B) Use the FMU information exported earlier out of Ansys Motion to set up and process the 2-Way
Coupled simulation in Rocky.
19.1.1. OBJECTIVE
The main purpose of this tutorial is to set up 2-Way Coupling abilities between Rocky and Ansys
Motion.
We will then use Ansys Motion to export pre-defined geometry movements into a Functional Mock-
Up Unit (FMU) file that will later be coupled with Rocky.
The scenario considered in this tutorial is evaluating the performance of a backhoe loader's bucket
as it scoops material out of a pit in the ground.
Later in Part B you will learn how to import the FMU file into Rocky, and run the 2-Way coupled
simulation.
19.1.2. PREREQUISITES
To complete this tutorial, you are required to have on a Windows machine both of the following
programs:
Important:
Ansys Motion must be installed in the same installation folder as your other Ansys 2025
R1 products.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 863
Tutorial - Backhoe Loader
Tip:
If you are unsure which version of Rocky you have, you can view the Version information
on the About Rocky screen. (From the Rocky Help menu, click About.)
Important:
This ADVANCED tutorial assumes that you are already familiar the following programs
and resources:
– If this is not the case, it is recommended that you complete at least Tutorials 01 - 05
before beginning this tutorial.
– If that is not the case, please refer to the Ansys Motion user documentation for basic
introduction about Motion usage before beginning this tutorial.
19.1.3. GEOMETRIES
• (2) Bucket
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
864 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Ansys Motion Coupling Setup
Note:
The first two sets of geometries are included in the Ansys Motion setup file. The third
geometry is provided as an .stl file that will be imported into Rocky later.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 865
Tutorial - Backhoe Loader
Ansys Motion Coupling enables you to use motions defined in Ansys Motion within the DEM simu-
lation you set up and run in Rocky.
Motions are exported into an "all-in-one" Functional Mock-Up Unit (FMU) file.
This FMU is then imported into Rocky, defining both geometries and motions.
Exporting and importing the FMU requires the installation of two modules' one for Ansys Motion and
one for Rocky.
Both are bundled into one .exe file that is available on the Ansys Customer Portal.
1. Download the Ansys Rocky Installation Guide document and go to the Ansys Rocky Integrations
section to better understand the installation of the coupling with the Motion. You can find the
document on the link from the Ansys Customer Portal: https://download.ansys.com/Installa-
tion%20and%20Licensing%20Help%20and%20Tutorials. .
2. Download the Additional Package for Rocky and extract the content from ansys-rocky-motion-
coupling-bin-25.1.0-win64.exe file.
Tip:
We will not cover these additional resources in this tutorial but you can use them to
learn more about Ansys Motion Coupling with Rocky.
3. Open the .exe, and then follow the steps in the wizard, ensuring the following:
a. When you get to the User Information screen, do one of the following:
• If you are installing this module for someone else, enter their Windows Username in the
field provided.
Tip:
This step should only be necessary if you are logged in as an administrator and
the user for which you are installing the module does not have the proper install-
ation permissions.
• Otherwise, if you are installing this module for yourself, you can leave the Username field
blank.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
866 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Ansys Motion Coupling Setup
b. When you get to the Select Components screen, select both components listed (as shown).
c. On the Select Additional Tasks, enable the Ansys Motion 2025 R1 Module checkbox. Also
enable the checkbox for Mechanical (optional).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 867
Tutorial - Backhoe Loader
4. From the File menu, click the Setting button, go to Labs tab and enable the Legacy ACIS Kernel
based file support checkbox.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
868 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Ansys Motion Coupling Setup
6. From the Open dialog, from the All Available Files list, select All Files (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 869
Tutorial - Backhoe Loader
7. From the Open dialog, locate the ansys_motion_setup folder inside the dem_tut19_files folder
you downloaded, select the subsystem file Backhoe_loader.dfsub, and then click Open.
1. From the Properties panel, view the values for Gravity (as shown).
Tip:
To view this panel, from the main Home tab on the Window toolbar, click the Proper-
ties button.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
870 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Ansys Motion Coupling Setup
We also must ensure that the simulation time in Ansys Motion is equal to or greater than the one
we will use in Rocky.
Tip:
Because a stopped Ansys Motion Coupling simulation might not be able to be resumed,
extended, nor restarted in Rocky, it is recommended that you make the simulation time
in Ansys Motion longer than what you think you need.
We plan to have a 12s simulation in Rocky. Verify that the simulation time in Ansys Motion is greater
than this by doing the following:
1. From the main toolbar, review the simulation time (T) value (as shown).
1. From the Co-Simulator tab, click the Generate Information button on the Rocky Coupling
toolbar (as shown).
This version of Ansys Motion Coupling supports particle interactions on only rigid bodies without
beam elements.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 871
Tutorial - Backhoe Loader
• Flexible bodies without beam elements are supported on the Ansys Motion side but will not interact
with particles in Rocky.
Note:
Choosing to include flexible bodies in your coupled simulation will increase processing
time.
Part of the exporting files step is choosing how body components are treated during coupling.
Specifically:
• Bodies marked as Output will have their motions shared with Rocky.
• Bodies marked as Input will collect forces and moments due to interactions with particles. This
data will then be used by the Ansys Motion solver during processing.
For this tutorial, we want all bodies to have motions in Rocky, but only the Bucket body to collect
particle forces.
1. From the Rocky Coupling dialog, do all the following (as shown):
a. From the Output column, enable the main checkbox to select all the bodies.
c. Click Export.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
872 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
2. From the Save As dialog, enter the File name Backhoe_FMU, and then click Save.
The export can take several minutes. You will get a confirmation message when it completes.
3. Click OK to close the confirmation message, and then click Close to close the Rocky Coupling
dialog.
19.1.10. HELP
This completes Part A of this tutorial.
For further information on setting up your Ansys Motion project for coupling with Rocky, we suggest
reviewing the Rocky Ansys Motion Coupling Setup Guide, which provides more in-depth descriptions
of the settings and parameters.
Tip:
To gain access to this PDF, follow the instructions on INSTALL MODULES (p. 866).
For more information about Ansys Motion, please refer to the Ansys user documentation.
19.1.11. CONCLUSION
We used Ansys Motion to set up and export geometry movements that will later be coupled with
Rocky.
• Download and install the .exe file that contains the two Ansys Motion Coupling modules
• Open an existing subsystem file and then verify that is ready for Rocky coupling
• Generate and then export the motion FMU file out of Ansys Motion
What's Next? If you completed this part successfully, then you are ready to move on to Part B and
set up and process the Rocky portion of this coupled simulation.
19.2.1. OBJECTIVE
The purpose of this tutorial is to use the information we exported out of Ansys Motion in Part A to
set up and process the 2-Way Coupled simulation in Rocky.
• We will make use of the Functional Mock-Up Unit (FMU) file we created in Part A.
• As a reminder, the scenario considered in this tutorial is the analysis of how well the bucket part
of a backhoe loader holds up to its material load after scooping particles from a pit in the ground.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 873
Tutorial - Backhoe Loader
19.2.2. PREREQUISITES
To complete this tutorial, you are required to have on a Windows machine both of the following
programs:
Important:
Ansys Motion must be installed in the same installation folder as your other Ansys 2025
R1 products.
Tip:
If you are unsure which version of Rocky you have, you can view the Version information
on the About Rocky screen. (From the Rocky Help menu, click About.)
In addition, you must have already downloaded and installed the Ansys Motion Coupling module.
Tip:
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• If you do not already have a good level of familiarity with the most common setup and
post-processing tasks in Rocky, it is recommended that you complete at least Tutorials
01 - 05 before beginning this one.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
874 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
19.2.3. GEOMETRIES
• (2) Bucket
Note:
The first two sets of geometries are included in the Ansys Motion FMU file. The third geo-
metry is provided as an .stl file. All will be imported into Rocky in this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 875
Tutorial - Backhoe Loader
6. Use the information in the table that follows to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
1. Use the information in the table that follows to start setting up your modules.
Stresses: Rocky will collect the normal and tangential stress values measured by each individual
geometry triangle. This can be useful for analyzing the distribution of load due to particle collisions
on a geometry.
• A single FMU file contains all the geometries, motion definitions, and motion solver information
Rocky needs for coupling.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
876 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
• We will use this same FMU file to import geometries in a separate step later.
Important:
To avoid errors during geometry import later, an FMU file should NOT be manually renamed
after it is generated.
1. From the Data panel, under Modules, select Multibody Dynamics FMU Coupling.
a. Leave the Communication step size control as Automatic. (For each Ansys Motion timestep,
Rocky computes 100 timesteps.)
• If you completed Part A, find and select the FMU file that you exported as part of that tutorial.
• If you did not complete Part A, find the dem_tut19_files folder you downloaded, find the
geometry folder, and then select the Backhoe_FMU.fmu file.
4. Click Open.
Once the Select file to import dialog closes without error, this indicates that the FMU file was suc-
cessfully imported.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 877
Tutorial - Backhoe Loader
Important:
To ensure correct motions, use the same FMU file in both the Multibody Dynamics FMU
Coupling module and for importing geometries.
Because we want to analyze particle forces on the Bucket component later, we must also refine its
mesh.
And lastly, we'll import the ground and pit geometry as an .stl file.
1. Use the information in the table that follows to continue setting up your Rocky project.
Bucket
C Geometries Import Wall Ground.stl with "mm" for
Import Unit
• Create a new material representing the Ground based on the Default Boundary Material.
Note:
1. Use the information in the table that follows to continue setting up your Rocky project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
878 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
Default Boundary
C Materials Material Name Ground
Default Boundary
<01>
D Geometries Wall Material Ground
Ground
E Materials Interactions … | Default Particles Static Friction 1[-]
Dynamic Friction 1[-]
Ground
… | Default Particles Static Friction 1[-]
Dynamic Friction 1[-]
Default Particles
For the Inlets and Outlets step, we will create a Particle Custom Inlet and import a .csv file that
defines an already-filled pit of particles.
Note:
There is no need to set the particle size here because it will be defined in the Custom Inlet
file.
1. Use the information in the table that follows to finish setting up your Rocky project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 879
Tutorial - Backhoe Loader
The Simulation Summary screen appears (as shown), then processing begins.
Important:
Do not press Stop or lose access to your Ansys license while the simulation is processing.
You might not be able to Resume the coupled simulation once it is stopped.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
880 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 881
Tutorial - Backhoe Loader
2. From the Data Editors panel, select the Curves tab, right-click Force : Y : Instantaneous, and
then click Show Curve in new Plot.
Results show the reaction force of the particles over the bucket surface during the ground digging
phase (1-3 s) and the weight of the scooped material until the unloading phase (3-10 s).
1. From the Time toolbar, choose a time when the bucket is full and the material is relatively stable.
(For example, at [160] 8 s.)
This results in a Cube (blue outline, as shown) encompassing the full bucket.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
882 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
1. Use the information in the table below to create and modify the output variable.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 883
Tutorial - Backhoe Loader
The updated value shows that the Particle Mass in the Bucket reaches about 750 kg before it is
dumped.
Note:
2. From the Data panel, under Geometries, multi-select all components except for the Bucket
component, and then click the eye icon to hide all but the bucket from the view (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
884 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 885
Tutorial - Backhoe Loader
5. From the Data Editors panel, select the Properties tab, and then click and drag Stress : Tangential
to the 3D View window.
6. Use the Time slider to change the output when the bucket is actively scooping (for example, 3
s, as shown).
7. Adjust the limit of the color scale to optimize the mapping (for example, from 0 to 10000 Pa, as
shown).
This analysis shows the shear stress caused by the interactions between particles and the bucket
geometry, and therefore identifies zones that are prone to wear.
Extension: You can extend this analysis even farther by creating a Time Statistics Property on the
Bucket and then plotting a contour of wear.
For further information on Ansys Motion Coupling with Rocky, we suggest searching the Ansys Motion
Coupling Setup Guide. To access it, do the following:
1. From the Data panel, under Modules, select Ansys Motion Coupling.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
886 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Rocky Setup and Processing
2. From the Data Editors panel, on the main Ansys Motion Coupling tab, click the Open this
Module's Help File icon (as shown). The PDF manual opens.
19.2.17. CONCLUSION
Rocky was used to set up, process, and post-process a simulation of a backhoe loader with movements
defined in Ansys Motion.
• Use the FMU file we created in Part A to import both motions information and geometries
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 887
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
888 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 20: Tutorial - Fertilizer Spreader
(Part A) Set up and run a simulation that uses the 1-Way Constant CFD Coupling method.
(Part B) Use multiple, nested user processes to create a Cumulative Mass Field in order to understand
how the fertilizer particles are distributed by the spreader.
20.1.1. OBJECTIVES
The main purpose of this tutorial is to learn how to set up a simulation that uses the 1-Way Constant
CFD Coupling method.
• The scenario considered is evaluating the performance of a crop spreader, such as those used for
broadcasting seed or fertilizer onto fields.
• Motion Frames
• CFD Coupling
• Domain Settings
20.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 889
Tutorial - Fertilizer Spreader
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
20.1.3. GEOMETRY
• (1) Spreader
• (2) Walls
Note:
Due to the relatively high particle count expected for this tutorial, no geometry representing
the ground will be included.
This allows us to speed up processing by reducing the amount of particles that remain
active in the simulation while still allowing us to see the full spreading effects.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
890 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
6. Use the information in the tables that follow to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials to find the detailed in-
structions you need.
Spreader
G Materials Material Young's Modulus 1e+08 [N/m2]
Default
Boundary
H Materials Material Use Bulk Density (Cleared)
Density 1000 [kg/m3]
Default
Particles Young's Modulus 1e+06 [N/m2]
I Particles Create Particle
J Particles Particle Name 3mm
Size 0.003 [m] @ 100%
Particle
<01>
K Particles Create Particle
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 891
Tutorial - Fertilizer Spreader
In this case, the particles will experience air resistance when launched.
The images below show how important is to consider air resistance in this scenario.
A simulation without air resistance results in particles spreading much farther than when air resist-
ance is considered in the project.
To represent this behavior, we will make use the 1-Way Constant CFD coupling method, which has
the following key benefits:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
892 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• Does not require a separate CFD program. (The functionality is included in Rocky.)
• Enables you to define constant values for density, velocity, viscosity and (optional) thermal properties.
2. From the Data Editors panel, select Constant (Fluid > Particle) under 1-Way from the Coupling
Mode list (as shown).
3. From the Data panel, select the newly created 1-Way Constant item.
4. From the Interactions tab, select the 3mm item from the Particle list (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 893
Tutorial - Fertilizer Spreader
The CFD Laws that can be set for the selected particle group will appear.
For this tutorial, the CFD Laws for both particle groups will be left as they were set by default.
(No changes.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
894 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Since we want to simulate still air and the default values already represent this condition, no
changes will be made.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 895
Tutorial - Fertilizer Spreader
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
896 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 897
Tutorial - Fertilizer Spreader
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
20.1.9. CONCLUSION
This completes Part A of this tutorial, during which Rocky was used to set up and process a Fertilizer
Spreader simulation.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and post-process this project.
20.2.1. OBJECTIVES
The main purpose of this tutorial is to learn how to use multiple, nested user processes to understand
how the fertilizer particles are distributed by the spreader we simulated earlier in Part A.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
898 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
– Cube
– Property
20.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01- 05 before beginning this one.
2. If you did not complete the project from Part A, do all of the following:
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade Rocky to the latest
version, or complete Part A from scratch.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 899
Tutorial - Fertilizer Spreader
d. From the Rocky program, click the Open Project button, find the dem_tut20_files folder,
then from the tutorial_20_A_pre-processing folder, open the tutorial_20_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Solver entity, click the Start button.)
• In this tutorial, we want to understand how the Fertilizer Spreader distributes the particle mass
throughout the domain.
• To do that, we will create a Cumulative Mass Field to see how different regions of the domain
receive different amounts of particle mass.
To evaluate the performance of the spreader, it is useful to measure the fertilizer distribution across
the entire crop area.
The Cumulative Mass Field that results from the spreader operating at steady-state as simulated in
this tutorial can be used to extrapolate the mass distribution across the entire crop field.
To accomplish the cumulative mass field, we will need to layer different User Processes on top of
each other.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
900 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• In other words, the amount of particles being injected is approximately the same amount of particles
leaving the domain.
We can obtain that information by plotting the Particles Count and then selecting a period of time
in which the curve is stable.
1. From the Particles entity, on the Curves tab, right-click Particles Count, and then click Show
curve in new Plot.
2. Press the Shift key while left-clicking the top of the Curve to see the values (as shown).
We now know that for our analysis, we want to select a time period after this point.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 901
Tutorial - Fertilizer Spreader
However, to speed up the processing time in Part A, we did not include a geometry representing
the ground; therefore, the particles in this tutorial leave the domain soon after they fall far enough
in the Y direction.
In a case like this, a good approach is to analyze the mass distribution in a layer right before the
particles leave the domain.
To accomplish this, we will define a Particles Time Selection, which in this case, will record the last
position of every particle that passed inside the domain within a particular time range.
Note:
A Particles Time Selection can also be applied to a particular region, such as a Cube or
Cylinder.
Furthermore, the particles that left the domain due to the absence of a ground geometry will be re-
corded very close to the bottom of the domain. This is similar to where the particles would be if they
were actually on the ground.
1. Use the information in the table below to create the first layer of this analysis.
• By default, particles are displayed in Automatic/Rich mode, which displays the fully-rendered
particles at their original size.
• At this domain view, the particles are much too small to see, so we will change to Simple mode,
which will render the particles as fixed-sized points instead.
• We will also reduce the size of the points in the view for better visibility.
3. From the Data Editors panel, select the Coloring tab, and then do both of the following (as
shown):
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
902 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
The 3D View now shows all the particles that passed through the domain from 1s to 2s.
Each particle was recorded in its last position either just prior to its leaving the domain or wherever
it was at the last timestep, including any particles that were still traveling through the air at that time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 903
Tutorial - Fertilizer Spreader
Therefore, we are going to create a Cube user process over Particles Time Selection <01> to select
only the layer of particles closest to the ground.
1. Use the information in the table below to create the second layer of this analysis.
2. From the Data panel, hide Particles Time Selection <01> from the view.
The 3D View now shows the particles of the Particles Time Selection <01> that are next to the
ground, inside the Cube <01>.
1. Use the information in the table below to create the third layer in this analysis.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
904 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Cube <01>
B User Processes Eulerian Width Divisions 20 [ - ]
Statistics Heigth Divisions 1[-]
Eulerian Statistics
<01> Depth Divisions 20 [ - ]
Next, to compute the particle mass in each Eulerian Statistics cell, we must add a new property,
derived from Particles.
1. Use the information in the table below to continue with this analysis.
2. From the Data Editors panel, on the Properties tab, drag-and-drop the newly created Sum of
Particle Mass onto the 3D View.
Tip:
You may need to use the eye icons on the Data panel to hide the other User Processes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 905
Tutorial - Fertilizer Spreader
To achieve that, we are going to apply a Filter User Process over the Eulerian Statistics.
1. Use the information in the table below to create the fourth layer in this analysis.
1. From the Filter <01> entity, select the Properties tab, select Sum of Particle Mass, and then
drag-and-drop it onto the 3D View. (Results shown.)
Tip:
Hide Eulerian Statistics <01> by using its Data panel eye icon.
We can then smooth out the faces visualization of the property by enabling Show on Node option.
1. From the Data Editors panel, select the Coloring tab, enable the Show on Node? checkbox, and
then clear the Edges checkbox.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
906 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• Superpose this same field along several points of the trajectory to generate the mass distribution
across the entire crop field.
• Use the PrePost Scripting functionality to extract the values of each cell and then develop a Python
script that computes the trajectory and superposed computations.
20.2.12. CONCLUSIONS
This completes Part B of this tutorial, which makes use of Rocky to analyze how a Fertilizer Spreader
distributes particles throughout the domain.
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 907
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
908 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 21: Tutorial - Bottling Line
(Part A) Set up and process a simulation that makes use of Custom Inputs, which enables you to define
specific positions, release times, and orientations for particles.
(Part B) Analyze the bottle transportation to identify stuck and tipped over bottles, and pin-point possible
sources of bottle damage due to impact.
21.1.1. OBJECTIVES
The main purpose of this tutorial is to learn to set up and process a simulation that makes use of
Particle Custom Inlets, which enables you to define specific positions, release times, and orientations
for particles.
The scenario considered in this tutorial is a Bottling Line operation that transports filled champagne
bottles while also consolidating them into a single line.
• Use a Particle Custom Inlet to inject particles in specific positions, times, and orientations.
• Define custom Center of Mass and Moments of Inertia for a particle shape.
21.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 909
Tutorial - Bottling Line
21.1.3. GEOMETRIES
These 14 items will be imported as .stl files, which can be found in the tutorial directory.
6. Use the information in the table that follows to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
910 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Inter-particle
Collisions
Statistics
E Geometries Import Wall Rail.stl (one file)
and from
Belt_01.stl to
Belt_13.stl
(thirteen files)
with "mm" for
Import Unit
For the Motion Frames step, we will create one motion frame for each conveyor belt.
1. Use the information in the table that follows to set up your first motion frame.
2. Repeat the previous steps for all twelve remaining conveyors using one of the following two
methods:
• Manual Method: Use the values in the table below to create and assign these additional Motion
Frames to their respective belts manually.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 911
Tutorial - Bottling Line
• Automatic Method: To save setup time, use a script that completes this step for you. To make
use of the script, do the following:
a. From the Tools menu, ensure that the Python Shell checkbox is enabled.
b. Navigate to the dem_tut21_files folder that you previously downloaded, find the script
folder, and then open the tutorial_21_script.txt file.
c. In the text reader, press Ctrl+A to select all the content, and then copy and paste it into
the Python Shell panel (as shown). The commands run automatically.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
912 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
All the thirteen Motion Frames should now be created and assigned to their respective belts.
In addition, each belt should have their Material correctly set to Default Belt.
1. Use the information in the table that follows to define Materials Interactions, and import a Custom
Particle shape.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 913
Tutorial - Bottling Line
In this case, we want Rocky to treat the particle as Concave in order to preserve its shape.
Otherwise, it would convert the geometry to Convex and we would lose some of the Bottle's details.
Tip:
For further information about Convex and Concave detection, refer to Tutorial - Tablet
Coater (p. 485).
In Rocky, the Center of Mass Offset is expressed as a percentage of the particle size in each dir-
ection.
For this tutorial, we consider that the Center of Mass Offset for a filled Bottle is 5% (of the
height) lower than the empty Bottle.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
914 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
In Rocky, the custom Moments of Inertia are expressed in second moments of volume (length5)
relative to the Principal axes, assuming a sieve size of 1.
Tip:
Note:
We'll leave the X, Y and Z directions as default since our Bottle is already approximately
aligned with its principal axes.
5. From the Size tab, ensure Sieve Size is selected for Size Type and then enter the Size (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 915
Tutorial - Bottling Line
It is important that we ensure the volume produced by this sieve size matches the real-life volume
of the bottle (353ml). We will do this by using the values on the Info tab.
7. Now that the size is set, it is important to View the Particles Details window and note the min-
imum Y-coordinate (as shown).
This value will be used later to prescribe the desired Particle Custom Inlet position.
Note:
In this particle view, the Geometric Center (orange dot) is in (0,0,0) position, relative to the
local coordinate system of the particle; and the Center of Mass (blue dot) is located a little
below it due to the Center of Mass Offset we defined earlier.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
916 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
In Rocky, this is possible by using the Particle Custom Inlet feature, which uses an imported .csv file
to define each particle's injection properties.
Within the .csv file, the particle properties are defined as header columns, and each particle is set on
a separate row.
The particle properties (and their respective units) you can define in your .csv file are explained on
the next slide.
Property columns you can define in a Particle Custom Inlet .csv file:
• x, y, and z (required) are the global coordinates (in meters (m)) in which the given particle's
Geometric Center will be placed.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 917
Tutorial - Bottling Line
• size (optional) is the Sieve Size (in meters (m)) of the injected particle.
• release (optional) is the time (in seconds (s)) when the particle is injected. If there is any obstruction
at the given time, the injection will be delayed and a warning will be displayed in the Simulation
Log panel.
• angle, nx, ny, and nz (optional) define the rotation of each particle around a unit vector (nx, ny,
nz). The angle is defined in radians (rad) and the vector is defined in meters (m).
• temperature (required only if Thermal Modeling is enabled) is the temperature (in Kelvin (K)) of
the particle.
• ux, uy, and uz (optional) are the initial velocities of the particle in each direction, as measured in
meters per second (m/s).
• wx, wy, and wz (optional) are the initial angular velocities of the particle in each direction, as
measured in radians per second (rad/s).
For this tutorial we have provided you with a .csv file (as shown) that will inject rows of bottles in
the Bottling Line inlet.
Note that only the x, y, z, and release properties are necessary for our purposes in this tutorial.
Important:
When creating your own .csv file, ensure that it uses commas as a separator.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
918 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. Use the information in the table that follows to set up your inlet.
Under File Info, we can verify summarized info, such as the Number of Particles and the Min and
Max values of the various Properties that were defined inside the .csv we loaded.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 919
Tutorial - Bottling Line
Note:
The min (0.063) and max (0.063) values of the y property indicate that all the particles will
be injected 0.063m above the conveyors. If you recall, this is approximately the distance
between the geometric center and the bottom of the bottle, that we noted earlier on slide
15.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
920 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
As a consequence, a portion of the particles would be outside of the domain if we use the geometries
limits as boundaries.
1. Use the information in the table that follows to finish setting up your project.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 921
Tutorial - Bottling Line
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
922 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 923
Tutorial - Bottling Line
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
21.1.14. CONCLUSION
This completes Part A of this tutorial.
• Import a Custom Polyhedron particle shape and define a custom Center of Mass and Moments
of Inertia.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and post-process this project.
21.2.1. OBJECTIVES
The purpose of this tutorial is to use the results from the simulation we set up and processed in Part
A to analyze the bottle transportation on the various conveyors.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
924 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• Time Plots
• 3D View Windows
21.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
2. If you did not complete the project from Part A, do all of the following:
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade to the latest version,
or complete Part A from scratch.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 925
Tutorial - Bottling Line
d. From the Rocky program, click the Open Project button, find the dem_tut21_files folder,
then from the tutorial_21_A_pre-processing folder, open the tutorial_21_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Solver entity, click the Start button.)
• Once the simulation is finished processing, you are ready to start Part B.
1. From the Particles entity, on the Curves tab, right-click Particles Count, and then click Show
curve in new Plot.
The time plot shows that between approximately 13s (when the first bottle exits the domain) and
23s (when the last bottle is injected), the amount of particles inside the domain remains stable.
This analysis proves that there is no obstruction preventing the bottles from exiting the domain.
In a period of continuous operation, all the particles should spend approximately the same amount
of time within the domain.
Therefore, the Maximum Residence Time of a given timestep should be stable. Let's verify:
1. From the Particles entity, on the Properties tab, right-click Residence Time, point to Time Plot,
point to Show in selected Time Plot, and then click Max.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
926 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
The maximum Residence Time curve shows that during the continuous operation period, each particle
spent around 14s inside the domain.
Note:
(a) The bottle Geometric Center (GC) coordinate is (0, 0, 0) (see the image below).
(b) The distance between the bottom of the bottle and the GC is 0.0628m.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 927
Tutorial - Bottling Line
Considering that the Y-coordinate for the particles into the simulation domain is measured from the
bottom (as shown below), we can assume that:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
928 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
1. From the Particles entity, on the Properties tab, right-click Coordinate : Y, point to Time Plot,
point to Show in new Time Plot, and then click Min.
Note:
You may get different results from the ones presented in this tutorial due to the sens-
ibility of this simulation.
Tip:
If your plot is showing any peak or valley with values with a relevant difference if
compared with the initial ones, you can check which bottle(s) fell in the rail at the time
that the peak or valley ocurred in a 3D View.
The resulting plot shows that the minimum particle Coordinate : Y is approximately the expected
value for all outputs, which indicates that all the bottles remained upright.
To measure the amount of impact, we will use the Relative Average Velocity data that is collected
during collisions.
The higher the Relative Average Velocity of a collision, the higher the impact energy (and the more
likely for damage).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 929
Tutorial - Bottling Line
As a reminder, we already enabled the collection of this data in Part A of this tutorial when we turned
on the Inter-particle Collision Statistics module and enabled the Normal Impact Velocity component.
1. From the Particles entity, on the Properties tab, right-click Velocity : Impact : Normal : Mean,
point to Time Plot, point to Show in new Time Plot, and then click Max.
2. To see the exact time in which that impact happens, select the Table tab (as shown).
The table shows that the maximum velocity impact occurs at 25.19 s.
Note:
Your results may differ from these ones. Select the Time properly.
1. Identify which bottles have this impact velocity and where it happens by using the information
in the table below to create a 3D View window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
930 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
The view shows that the highest impact velocity occurs near the final "S-curve" of the rails, when the
bottles are conveyed by the fastest belt.
Besides that collision, if we move the slider to investigate times around this point, we see that most
of the highest impact velocities occur near this same location.
21.2.8. CONCLUSION
This completes Part B of this tutorial.
• Use the Particle Count curve to identify different periods of operation and detect a possible major
obstruction.
• Use the Residence Time property to identify if any bottles got stuck during transport.
• Use the Particle Coordinate : Y property to identify bottles that did not remain fully upright.
• Use the Inter-particle Collision Statistics we collected in Part A to analyze where and when the
highest Impact Velocities occurred.
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 931
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
932 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 22: Tutorial - Lawn Mower
(Part A) Set up and process a simulation that makes use of Custom Fibers, defined by a .csv file. Use a
Particle Custom Inlet together with Custom Fibers and Frozen Segments, to set the grass Fiber positions.
(Part B) Use Particle Mass to view how a Fiber breaks, calculate the Mower Blades’ Power and Torque
and identify which regions of the blades are most susceptible to wear.
22.1.1. OBJECTIVES
The main purpose of this tutorial is to learn to set up and process a simulation that makes use of
Custom Fibers defined with Frozen Segments.
The scenario considered in this tutorial is a Lawn Mower cutting grass, where the individual grass
plants are represented by Custom Fibers with Frozen Segments where the fibers attach to the
ground.
• Use a Particle Custom Inlet, together with Custom Fibers and Frozen Segments, to set the grass
Fiber positions
• Frozen Fibers
• Joint Breakage
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 933
Tutorial - Lawn Mower
22.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
22.1.3. GEOMETRIES
• (1) Mower
• (2) Blades
• (3) Ground
These 3 items will be imported as .stl files, which can be found in the tutorial directory.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
934 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
6. Use the information in the tables that follow to start setting up your Rocky project.
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory
Tutorials and Advanced Tutorials) to find the detailed instructions you need.
ground
J Motion Frames Create Motion Frame
K Motion Frames Frame Name Rotation
Relative Position 0.185, 0, 0 [m]
Frame
<01> Add motion
Type Rotation
Initial Angular Velocity 0, -30, 0 [rad/s]
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 935
Tutorial - Lawn Mower
• Custom Fiber shapes are made up of separate but connected Segments, which the positions are
defined by the coordinates of each starting and ending Nodes.
• Other properties can be defined per Segment, including its Diameter and whether or not the
Segment will be considered Frozen.
In this tutorial, we will create a Custom Fiber with four segments of different diameters, which the
bottom segment is Frozen (as shown).
The structure of the .csv file we will use to define this shape is shown below:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
936 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• x1, y1 and z1 are the coordinates of the node that starts the segment.
• x2, y2 and z2 are the coordinates of the node that ends the segment.
• frozen (optional) indicates whether the segment will be treated as frozen (1) or unfrozen (0).
Note:
Segments of a multi-element Fiber defined as frozen will "stick" to a certain location and
have only the unfrozen segments of the Fiber respond to interactions from other objects
in the simulation.
Let's now create a Custom Fiber and import the .csv file that defines it.
2. From the main Particle tab, enter the Name, and then define the Shape as Custom Fiber.
3. From the Select file to import dialog, navigate to the geometry folder and open the grass.csv
file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 937
Tutorial - Lawn Mower
The particle shape representing a Grass Fiber is shown in a Particle Details window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
938 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Luckily, Rocky enables us to export Particle shapes to .stl files. Let's try it:
1. From the Data panel, under Particles, right-click Grass Particle, point to Export and then click
Rendered Shape.
3. From the Select target STL file dialog, choose a location and enter a File name for your file, and
then click Save.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 939
Tutorial - Lawn Mower
2. Enable the Random Angle checkbox and set the Half Angle (x,y,z).
In this way, we have defined the Y-angle limit within which Rocky will randomly orient each individual
particle within the Particle set.
For this tutorial, we want the grass Fiber to be both flexible in its movements and allow for the mower
blades to cut (break) it on contact.
We will enable both these features by composing the Fiber of Multiple Elements.
• By default, a Fiber is defined as a Single Element. This results in a rigid shape that cannot be
broken.
• In order to support both flexibility and breakage, Fibers must be composed of Multiple Elements,
which divides each Segment into one or more Elements.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
940 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
– The number of Elements is (roughly) controlled by the Target Number of Elements number,
and can be verified on the Info tab.
• Flexibility and breakage both happen at the Joints that connect the Elements to each other.
For this tutorial, we want the number of Elements equal to the number of Segments making up the
Fiber (4), so we will set the Target to a value less than or equal to this number.
1. From the Data Editors panel, select the Composition sub-tab, and then from the Composition
list, select Multiple Elements.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 941
Tutorial - Lawn Mower
2. We can then verify the number of Elements Rocky will calculate on the Info tab. From the Info
sub-tab, view the Elements value (as shown).
For Multi-Element particles, Rocky provides five model options for joint breakage:
Tip:
Further information on these models can be found in the Rocky DEM Technical
Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
942 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
3. From the Data Editors panel, select the Breakage sub-tab, and then define the Model and Shear
Stress Limit (as shown).
• By previously defining the bottom Segment of our grass Fiber as frozen, we will ensure that the
particles we position will stay stuck to the ground and upright, as if rooted.
• If we had not taken this step, the grass Fibers would fall over soon after placement due to gravity
and/or contacts with the mower.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 943
Tutorial - Lawn Mower
Because we are using multi-element Frozen Fibers, we can choose to attach them to a Motion
Frame. Doing this enables the "frozen" part of the particles to move along with the assigned motions.
For this tutorial, we will assign the Translation Motion Frame, which will move the grass along with
the ground towards the mower blades.
Important:
When you attach a Motion Frame to a Particle Custom Inlet, the release property in the
.csv file must be set to zero for all particles or omitted all together.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
944 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Under File Info, we can verify summarized info of the Properties that were defined inside the .csv
we imported (as shown).
Note:
The ux property set in the .csv file, which defines the initial velocity in the X-direction, was
defined with the same velocity as our translation motion frame.
Doing this ensures all the Fiber's Segments start the simulation with the same velocity;
otherwise, only the Frozen Segments would have the motion frame's velocity at 0s.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 945
Tutorial - Lawn Mower
The Simulation Summary screen appears (as shown), then processing begins.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
946 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
You can use the Auto Refresh checkbox to view in a 3D View window the results during
processing.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 947
Tutorial - Lawn Mower
22.1.12. CONCLUSION
This completes Part A of this tutorial, in which Rocky was used to set up and process a Lawn Mower
simulation.
• Import a Custom Fiber particle shape that was defined with Frozen Segments.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and post-process this project.
22.2.1. OBJECTIVES
The purpose of this tutorial is to use the results from the simulation we set up and processed in Part
A to analyze the performance of the Lawn Mower.
• Time Plots
• Output Variables
22.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
948 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
2. If you did not complete the project from Part A, do all of the following:
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade to the latest version,
or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut22_files folder,
then from the tutorial_22_A_pre-processing folder, open the tutorial_22_A_pre-pro-
cessing.rocky file.
e. Process the simulation. (From the Solver entity, click the Start button.)
Reminder: If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials (via the Introductory Tutorials and
Advanced Tutorials) to find the detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 949
Tutorial - Lawn Mower
By moving the slider on the Time toolbar, you can observe how the mower blades cut the grass
particles into fragments.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
950 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
For the Fibers that broke, only the frozen Segment of the Fiber remains upright.
Where:
blades
B Add new (dialog box) Name Torque
Output Unit N.m
Inputs | Power (Enabled)
Inputs | Velocity : Rotational (Enabled)
:Y
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 951
Tutorial - Lawn Mower
Note:
For this tutorial, we will assume that selecting the right size engine for our Lawn Mower requires us
to know the following values:
• Minimum Torque
• Average Torque
• Maximum Power
• Average Power
We could create four separate Time plots and locate this information on each plot. However, this
becomes more difficult when comparing values across multiple simulations.
An easier method is to use Output Variables, which distills a set of Property or Curve data into a
single value in one easy-to-find location.
Let's use Output Variables to create the four single values we need for this analysis.
2. From the Data Editors panel, drag-and-drop the newly created Torque (Custom) Curve onto the
Output tab. Repeat for the Power Curve.
3. From the Output tab, select the newly added Power entry, and then click the Edit button.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
952 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
4. From the Edit Properties dialog, enter the Name, and then click OK.
5. Repeat for the Torque_Custom_ entry, entering the Name and defining the Operation on Curve.
Note:
As the blade spins counter-clockwise, the minimum Torque value will be the maximum
absolute value.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 953
Tutorial - Lawn Mower
6. From the Data Editors panel, drag-and-drop the Torque (Custom) Curve and the Power Curve
onto the Output tab again.
7. Select the newly added Power entry, and then click the Edit button.
8. From the Edit Properties dialog, enter the Name, define the Operation on Curve (as shown),
and then click OK.
9. Repeat for the Torque_Custom_ entry, entering the Name and defining the Operation on Curve.
11. From the Data Editors panel, drag-and-drop the newly created Torque (Custom) curve and the
Power onto the Time Plot.
Now we have exactly the right Torque and Power values we need to choose an appropriate engine
for our Lawn Mower.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
954 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
The wear law used in that feature takes into account the shear work on the geometry surface to
compute how it will wear down over time.
However, for the case we are studying in this tutorial, the surface modification of the mower blades
would not be noticeable due to the short simulation time.
Instead, we can compute the total work done by the shear forces on each triangle surface and then
verify which regions of the blades have the highest shear work.
You might recall that in Part A, we enabled the collection of Intensities data for Boundary Collision
Statistics. We can use that data to perform the shear work analysis.
(22.2)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 955
Tutorial - Lawn Mower
Where:
• (m2) is the Area : Cell, which is the area of the triangle is the time (s)
• (s) is the time between 2 outputs, which is dictated by the Time Interval
1. Use the data in the following tables to add a new custom property that calculates the shear work
in the blades:
blades
B Add New (dialog box) Name Instantaneous Shear
Work
Output Unit J
Inputs | Area : Cell (Enabled)
Inputs | Intensity : Shear (Enabled)
C Custom Property (dialog box) Expression A*B*OUTPUT_FREQUENCY
D Geometries Properties Add and edit time statistics properties (button)
blades
E Edit time statistics properties Add time statistics properties (button)
(dialog box)
F Add time statistics properties Start time 1 [s]
(dialog box) Stop time 3 [s]
Operations | Sum (Enabled)
Properties | Instantaneous (Enabled)
Shear Work (Custom)
2. From the Properties tab, right-click the newly created Sum of Instantaneous Shear Work (Cus-
tom) property, point to 3D View, and then select Show in new 3D View.
3. From the Data panel, under Geometries, hide all but the blades component. Hide also the main
Particles entity.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
956 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
22.2.9. CONCLUSION
This completes Part B of this tutorial.
• Use Output Variables to distill the mower blades' Torque and Power Curves into single, easy-to-
locate values.
• Compute total shear work done by the grass particles to the blades by creating Custom Properties
and Time Statistics Properties.
What's Next? If you completed this tutorial successfully, then you are ready to move on to next tu-
torial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 957
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
958 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 23: Tutorial - Solver SDK
(Part A) Learn how to install and configure the working environment for the Rocky Solver SDK (Software
Development Kit).
(Part B) Learn how to use the Rocky Solver SDK and working environment we set up in Part A to build
a simple custom module.
23.1.1. OBJECTIVE
The purpose of this tutorial is to learn how to install and configure the working environment for the
Rocky Solver SDK.
• The Rocky Solver SDK includes the runtime libraries, simulation information, and compilation
mechanisms you need to create your own custom modules
• Custom modules are separate pieces of code, built using the Solver SDK, that attach to the solver
code in Rocky and expand its capabilities
• For example, you can create custom modules that apply unique models, laws, and other special
functionality to your Rocky simulations
• Obtain the tools and settings necessary for working with the Solver SDK files
Later in Part B you will learn how to use the Solver SDK to make your own example module.
23.1.2. PREREQUISITES
Before you begin this ADVANCED tutorial, ensure that you have satisfied the following prerequisites:
• You are familiar with the Rocky 2025 R1 user interface (UI), have a good understanding of the
common setup and post-processing tasks, and grasp firmly the concept of Modules.
– If you do not already have this level of familiarity, it is recommended that you complete at least
Tutorials 01- 05 before beginning this one.
• You have working knowledge of both the Python and C++ programming languages.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 959
Tutorial - Solver SDK
• The system upon which you intend to use the Rocky Solver SDK has at least one of the following
supported operating systems installed:
– 64-bit Windows 10 or 11
– 64-bit Linux (Rocky 8.10 or 9.4, Red Hat 8.10 or 9.4, SLES 15 and Ubuntu 20.04 or 22.04)
1. Rocky Solver SDK Files: A package of libraries that translates the module code including what
values are entered into the module UI by the Rocky end user to the solver. This simplifies the
custom code development and compilation.
Important:
The Rocky Solver SDK you use must have the same release version as the Rocky program
you intend the modules to be run upon. This means that if you intend to create modules
for Rocky 2025 R1, for example, you must install the 2025 R1 Rocky Solver SDK.
2. Solver SDK Files Environment Variable: Points to the folder location of the unzipped Solver SDK
files.
3. CUDA Toolkit: Provides the development environment necessary for GPU processing compatibility.
Note:
This toolkit is required whether or not you plan on using GPUs for processing simulations
that will make use of the custom modules.
4. CUDA Files Environment Variable: Points to the folder location of the installed CUDA Toolkit
files. For Windows, this variable is created automatically; for Linux, we will create it manually.
5. Build Tools: The tools required for compiling the C++ scripts. For Windows, Visual Studio build
tools will be used; for Linux, we will use Miniconda 3 (or Miniforge 3) to install some packages.
In addition to the required steps, the following steps are also recommended:
7. (OPTIONAL) Setting an environment variable to point to the folder location of your compiled
module.
Instructions for all setup items will be detailed in this tutorial, separated by the type of operating
system you are using:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
960 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Working Environment Setup
• For Linux instructions, skip ahead to Working Environment Setup for Linux 64-bit (p. 964).
Tip:
The SDK and Modules package contains the 2025 R1 Solver SDK and modules, and
is available in Ansys Customer Portal.
Reminder: The Solver SDK version you install allows you to make modules only for the same
version of the Rocky product. This means that modules made from the 2025 R1 Solver SDK, for
example, will work only in Rocky 2025 R1.
2. Extract the files, and copy (or cut) and paste the sdk folder into a folder of your choice. (For
example, within your %HOMEPATH%/Documents/Rocky/Modules folder.)
1. From the Windows Search bar, type Edit the system environment variables, and then open
the Control Panel result that appears.
2. From the System Properties dialog, on the Advanced tab, click the Environment Variables...
button.
3. From the Environment Variables dialog, from the System variables box, click the New...
button.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 961
Tutorial - Solver SDK
4. From the New System Variable dialog, define the Variable name as RockySDK_DIR and the
Variable value with the folder path of the SDK subdirectory (as shown), and then click OK.
Note:
The folder path should be the folder were the SDK files were extracted in Step 1.
The environment variable will now be listed in the System variables section.
Important:
The 2025 R1 (and later) versions of the Rocky Solver SDK are compatible only with ver-
sion 11.7 of the CUDA toolkit.
1. Open the CUDA Toolkit 11.7 Archive page from the NVIDIA official website and download the
installer for your operational system.
2. Open the downloaded *.exe, and then extract the installation files as instructed.
4. On the Custom installation options step, under the CUDA component, ensure that the Runtime,
Development and Visual Studio Integration checkboxes are selected.
Tip:
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
962 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Working Environment Setup
2. Follow the instructions on SDK VARIABLE CREATION (WINDOWS) (p. 961) to ensure that a
CUDA_PATH_V11_7 environment variable was automatically created and correctly defines the
path to the installed CUDA Toolkit.
1. Go to Microsoft | Visual Studio official website and download Build Tools for Visual Studio
2022 LTSC 17.6.17.
a. From the Microsoft official website, access the Visual Studio 2022 page.
b. On the page that opens, roll down until you find Visual Studio downloads list, and access
the Tools for Visual Studio drop-down list and click the long term servicing baselines
(LTSCs) link.
c. From the page that opens, access the Release History for version 17.6.
d. From the Fixed version bootstrappers list, find the 17.6.17 Version (click Ctrl + F and
search for 17.6.17) and click the link to download the .exe installer for the Build Tools.
• Select Desktop development with C++ (under Desktop & Mobile on the Workloads tab)
• Ensure that build tools, Windows SDK and C++ CMake tools for Windows (under Optional
on the Installation details panel) .
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 963
Tutorial - Solver SDK
1. Create a new folder where you will work on your custom modules. (For example,
%HOMEPATH%/Documents/Rocky/Compiled_Modules)
Note:
However, to display the module within the Rocky UI, the compiled files must reside in
the %HOMEPATH%/Documents/Rocky/Modules folder.
To have Rocky to recognize your module after it is compiled, you can do either of the
following:
• Copy and paste the compiled files out of your working folder and into the
%HOMEPATH%/Documents/Rocky/Modules folder each time you make an update.
1. Follow the instructions on SDK VARIABLE CREATION (WINDOWS) (p. 961) to create a new
ROCKY_PLUGINS_PATH environment variable that points to the folder location where the
compiled module files will be created. (For this tutorial, it is the %HOMEPATH%/Docu-
ments/Rocky/Compiled_Modules folder.)
Note:
Later in Part B, we will take steps to ensure that the compiled files are created in this
location.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
964 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Working Environment Setup
Reminder: The Solver SDK version you install allows you to make modules only for the same
version of the Rocky product. This means that modules made from the 2025 R1 Solver SDK, for
example, will work only in Rocky 2025 R1.
2. Extract the files into a folder of your choice (for example, within your ~/.Rocky/Modules folder).
2. From the vi editor that opens, press the a key to edit and define the environment variable (as
shown).
3. Press the esc key and then type :wq to save and exit (as shown).
5. Enter env to print the environment variables. The variable you just defined will be listed (as
shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 965
Tutorial - Solver SDK
Important:
The 2025 R1 (and later) versions of the Rocky Solver SDK are compatible only with ver-
sion 11.7 of the CUDA toolkit.
1. Open the CUDA Toolkit 11.7 Archive page from the NVIDIA official website and download the
installer for your operational system.
2. Navigate to the folder where you downloaded the installer, open a terminal and execute it as
in the example below, and continue the installation.
bash -Miniforge3-Linux-x86_64.sh
source ~/miniforge3/bin/activate
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
966 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Working Environment Setup
The conda prompt now contains a minimum set of tools required to build Rocky modules.
1. Create a new folder where you will work on your custom modules. (For example,
~/.Rocky/Compiled_Modules)
Note:
However, to display the module within the Rocky UI, the compiled files must reside in
the ~/.Rocky/Modules folder.
To have Rocky to recognize your module after it is compiled, you can do either of the
following:
• Copy and paste the compiled files out of your working folder and into the
~/.Rocky/Modules folder each time you make an update.
1. Follow the instructions on SDK VARIABLE CREATION (LINUX) (p. 965) to create a new
ROCKY_PLUGINS_PATH environment variable in the bashrc file that points to the folder location
where the compiled module files will be created. (For this tutorial, it is the /user/.Rocky/Com-
piled_Modules folder.)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 967
Tutorial - Solver SDK
Note:
Later in Part B, we will take steps to ensure that the compiled file are created in this
location.
For further information about setting up your working environment for the Rocky Solver SDK, we
suggest searching the Rocky Solver SDK Manual.
To access it, from Rocky Help menu, point to Manuals, and then click Solver SDK Manual.
23.1.7. CONCLUSION
During this tutorial, it was possible to:
• Download and install the Rocky Solver SDK, CUDA Toolkit, and build tools for both Windows and
Linux machines.
• Define required and optional environment variables to make compiling the custom modules easier.
What's Next?
• Now that you have successfully set up your working environment, you are ready to move on to
Part B and learn how to use the Solver SDK to create an example module.
23.2.1. OBJECTIVE
The main purpose of this tutorial is to learn how to use the Rocky Solver SDK and working environment
we set up in Part A to build a simple custom module.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
968 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
The module we will create enables end users to define a region of spherical shape inside the simulation
domain and then mark all particles located inside this region with a custom property.
– Learning how and when to make use of the Rocky Solver SDK
23.2.2. PREREQUISITES
Before you begin this ADVANCED tutorial, ensure that you have satisfied the following prerequisites:
• You are familiar with the Rocky 2025 R1 user interface (UI), have a good understanding of the
common setup and post-processing tasks, and grasp firmly the concept of Modules.
– If you do not already have this level of familiarity, it is recommended that you complete at least
Tutorials 01- 05 before beginning this one.
• You have correctly configured your working environment to build custom modules through the
Rocky Solver SDK. If this is not the case, please refer to either of the following resources:
• You have working knowledge of both the Python and C++ programming languages.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 969
Tutorial - Solver SDK
• [Setup]: Allow users to define a region of spherical shape inside the simulation domain. They will
accomplish this by defining the X Y Z coordinate values of the sphere's center point, as well as the
sphere's radius.
• [Processing]: For each individual timestep, instruct Rocky to mark any particles that come within
that spherical region.
• [Post-Processing]: Enable users to isolate those marked particles at any given timestep using a
new particle variable called Inside Sphere Flag, which will have a value of 1.0 when the particle
is inside the region, and 0.0 otherwise.
We will use this example as a framework for understanding how to make best use of the Rocky
Solver SDK.
The first step is to understand the files required for defining a custom module.
• Info file (.plugin): Exposes the name and other relevant information about the custom module
to the Rocky UI.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
970 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
• Python file (.py): Responsible for linking the custom module to the Rocky user interface (UI) and
also for making Rocky aware of the Dynamic Link Library (DLL).
• CUDA file (.cu): The core of the module. All the calculations and loop instructions are located
here. It is coded in C++.
• CMake file (.txt): Contains all instructions necessary for compiling the custom module. Basically,
the compilation process consists of pointing the CUDA file (.cu) to the compiler. A DLL (for Win-
dows) or a .so (for Linux) will be generated as a result of this process.
• PDF file (.pdf): This is an optional Help file for the modules. If you choose to include it, this file
will be accessible via the module's interface in the Rocky UI.
Reminder: In Part A, we created a working folder for this purpose called Compiled_Modules.
Tip:
The SDK and Modules package contains the 2025 R1 SDK and modules, and is
available in Ansys Customer Portal.
1. From the package files you downloaded, go to the Source Codes folder, and then to the Simple
Modules one.
3. Then within your working directory, paste the spherical_region folder. Your folder structure
should now look similar to the screenshot below.
spherical_region/
CMakeLists.txt
spherical_region.cu
spherical_region.pdf
spherical_region.plugin
spherical_region.py
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 971
Tutorial - Solver SDK
• Name: Specifies the name of the module as you want it to appear in the Rocky UI.
Note:
The items under [Documentation] will be displayed in the UI on the Info tab for the module:
• Author and Website: Specifies the company information you want associated with the module.
• Version and Description: Provides further identifying information for the module.
Note:
If you want to make a multiline Description you must indent the lines after the first
one (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
972 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 973
Tutorial - Solver SDK
Your module's Python file (spherical_region.py) specifies which are the module parameters that
must be displayed in the Rocky UI.
From this file, Rocky extracts the following two primary instructions:
• Whether or not the module should override any of Rocky's built-in models.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
974 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
All the information within this file is organized through various methods and classes that offer dif-
ferent functionality depending upon the module's purpose.
Tip:
All available methods and classes are described in the Rocky Solver SDK Manual.
• [Lines 2-6] Import the Solver SDK utilities necessary for specifying the module data.
• [Line 9] Defines the name of the module that Rocky must show in the UI.
• [Lines 12-22] Define the auxiliary class SphericalRegionModel, which includes the definition of
the module parameters. The Rocky Solver SDK provides a special class called Quantity for this
purpose, which includes the capability of associating units to each variable.
• [Line 26] Defines the SphericalRegionSpecs class, which itself defines the specifications of the
module. This function is used to tell the Rocky UI which components are affected and/or replaced
by the module, such as contact models or material interaction properties.
• [Line 34] The components affected (model), which in this case includes only the specification
of the parameters previously included in the SphericalRegionModel class.
• [Lines 38-39] The module's path (CreateAddin method), which handles the loading of the
compiled library file for the module when the simulation starts.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 975
Tutorial - Solver SDK
• [Line 43] Includes the SphericalRegionModule class, which defines the module as a new Rocky
plugin and hooks the module specifications to Rocky.
• [Lines 44-45] Implement only one method in this class, get_addin_specs, which makes available
all the specifications made previously in the file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
976 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
Your module's CUDA file (spherical_region.cu) includes all the C++ code that implements the
module's intended functionality during the simulation.
The functions defined in this file must be connected or hooked into the solver at strategic points
during simulation processing (see also ROCKY SOLVER SDK OVERVIEW (p. 969)) by using one or more
of the following types of hooks:
• Start/Termination Hooks: These are called only once during the simulation: either when the
simulation initializes or when it terminates.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 977
Tutorial - Solver SDK
• Iteration Hooks: These are called once per iteration during the simulation loop (a loop is where
motions and models are solved, and the state of particles is updated as a result, for a new time
level. The iteration of many loops makes a full simulation).
Important:
All iteration hooks of this type requires to include a function call to finalize the
hook: {function name}_END()
Tip:
The full list of hooks is provided in Chapter 3 of the Solver SDK Manual.
• [Line 7] ROCKY_CUDA_API: Enables the execution of the module in single or multi-GPU config-
urations.
• [Lines 11-16] struct ModuleData: Creates a structure to save the user parameters defining the
spherical region.
• [Line 19] ROCKY_PLUGIN(): Initializes the plugin, defining the name and version. This is a man-
datory definition.
• [Lines 23-37] ROCKY_PLUGIN_CONFIGURE(): Hook used to acquire the inputs for the module
that will appear in the Rocky UI, the definition of which includes:
• [Line 26] An instance of the custom struct ModuleData is allocated and the corresponding
pointer is named module_data.
• [Lines 29-33] Recover the values of module variables entered through the Rocky UI, as defined
in the SphericalRegionModel class in the python file (STEP 3: REVIEW PYTHON FILE (p. 974)).
Those values are assigned to the corresponding variables in ModuleData.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
978 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
• [Line 36] This pointer is converted to a void pointer in order to assign it to the function argument
data, which Rocky will store and make available in the subsequent stages of the simulation.
• [Lines 39-47] ROCKY_PLUGIN_SETUP(): Hook used to allocate resources for the simulation,
which in this case defines only a particle scalar variable that will be used to mark particles inside
the spherical region. Specifically:
• [Line 43] In order to have access to the data stored previously, the void pointer must be converted
back into a ModuleData pointer.
• [Line 46] The object that handles operations with particle scalars is defined.
• [Line 47] The custom particle scalar is specified. The two arguments in the add function are the
label that must be associated to the particle scalar in the Rocky UI, and the unit.
– In this example module, all parameters are lengths, which means they are nondimensionalized
using the length factor provided by the corresponding method of the model argument.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 979
Tutorial - Solver SDK
• [Lines 64-72] ROCKY_PLUGIN_INITIALIZE_CUDA(): Hook used to copy module data to the GPU.
This kind of operation is mandatory when a module is intended for execution in single or multi-
GPU configurations.
• [Lines 88-91] The distance between the centroid of the current particle and the center of the
spherical region is calculated.
• [Lines 94-97] Sets the variable Inside Sphere Flag to 0.0 or 1.0 depending upon whether the
distance is higher or lower than the radius of the sphere region.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
980 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
• [Lines 110-114] ROCKY_PLUGIN_TEAR_DOWN_CUDA(): In this hook the module must free the
memory allocated for custom data in the GPU devices during the execution of ROCKY_PLU-
GIN_INITIALIZE_CUDA().
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 981
Tutorial - Solver SDK
Your module's (optional) PDF file (.pdf) enables you to provide usage instructions and/or technical
references for the module's end users.
Note:
The placeholder .pdf file (spherical_region.pdf) is provided for tutorial illustration pur-
poses only.
If added, the PDF will be automatically linked to the module in the Rocky UI and can be opened
by clicking a question mark icon (as shown).
After you create the PDF, it is required that you save the file with the same name as the module's
folder, and place it in the same folder as the .plugin and .py files.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
982 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
The purpose of your module's CMake file (CMakeLists.txt) is to manage the module's build process.
It includes all the instructions regarding the location of the Rocky Solver SDK and CUDA files.
Important:
It is assumed that all files (.py, .plugin, .cu, .pdf ) have been named the same as the
module.
• [Line 10] The default installation folder is defined by the ROCKY_PLUGINS_PATH environment
variable that we created earlier in Part A.
– Because this environment variable points directly to the working directory, and we've set the
module's files to be compiled there, the Rocky UI will automatically know about this new
module whenever it is compiled.
– If you want the module to be installed in another folder, for any other reason, uncomment
this line and set a location manually.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 983
Tutorial - Solver SDK
1. Ensure you have Visual Studio Code installed, open it and open your module folder (in this example,
the spherial_region).
2. Click Ctrl + Shift + P and select C/C++: Edit Configurations (JSON). It will create a .vscode folder
and a c_cpp_properties.json file inside your working directory.
3. From this new .json file, include the path to Rocky SDK ("${env:RockySDK_DIR}/include",)
inside IncludePath option, as shown.
4. If there is a configurationProvider option, delete the line and save the file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
984 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 985
Tutorial - Solver SDK
1. Execute the build commands: For Windows, this will be done using a special Visual Studio
command prompt or in Visual Studio Code; in Linux, this will be done using the terminal.
2. Verify the compiled files: During compilation, Rocky will within the working directory, automat-
ically make a folder named with the Rocky version and then within that new folder, place the
resulting module.
2. From the x64 Native Tools Command Prompt for VS window, navigate to your working directory
(as shown).
3. Within the command prompt, execute separately the following three commands:
cmake -DCMAKE_GENERATOR_PLATFORM=x64 spherical_region
cmake --build . --config Release
cmake -P cmake_install.cmake
Tip:
You can configure the Visual Studio Code to build modules (no need to type the
three commands every time).
To set the environment to compile your modules through Visual Studio Code, follow the procedure
below:
1. Ensure you have Visual Studio Code installed and open it.
2. From the Extensions panel, search for the CMake Tools extension and install it.
3. Access the Extension Settings and enable the Status bar visibility (make visible).
4. Open your working directory (from File | Open Folder... open the module folder, for example
spherical_region).
The CMake Tools status bar will show up in the bottom of the screen with the options you need
to set up, as described below.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
986 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
8. Click Build.
Note:
For the opened directory, settings will be saved, but when opening a different one,
you must follow the steps 5-7 again before compiling the module.
Note:
Note:
On Windows machines, compilation will generate two new files (*.dll and *.lib). On
Linux machines, only one new file will be generated (*.so).
Windows:
25.1.0/
spherical_region/
spherical_region.dll
spherical_region.lib
spherical_region.pdf
spherical_region.plugin
spherical_region.py
Linux:
25.1.0/
spherical_region/
spherical_region.pdf
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 987
Tutorial - Solver SDK
spherical_region.plugin
spherical_region.py
spherical_region.so
Tip:
If Rocky was open while you were compiling, you must close Rocky and open it again
to refresh the Modules folder.
When you select Modules from the Data panel, a checkbox for your new module should appear
in the Data Editors panel (as shown).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
988 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
After you select that checkbox and then expand the Modules entity on the Data panel, you can
select your new module, and then see the parameters you can set for it in the Data Editors panel
(as shown).
Tip:
If you have not yet completed this tutorial, you can download and extract the
dem_tut01_files.zip folder from .
Enable the new Spherical Region module (as specified on OPEN ROCKY (p. 988)) and then define
the parameters (as shown).
After the simulation completes, you will be able to visualize what particles are inside the defined
region by viewing the Inside Sphere Flag property on a 3D View window.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 989
Tutorial - Solver SDK
All the particles that enter the spherical region specified by the Spherical Region module will be
assigned with Inside Sphere Flag equal to 1.
For further information about the Solver SDK structure and its usage, refer to the Rocky Solver SDK
Manual.
To access it, from Rocky Help menu, point to Manuals, and then click Solver SDK Manual.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
990 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Building a Custom Module
23.2.13. CONCLUSION
During this tutorial, it was possible to:
• Learn how and when to make use of the Rocky Solver SDK
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to next tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 991
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
992 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 24: Tutorial - Dam Break
(Part A) Project Setup and Processing
(Part B) Post-Processing
Note:
24.1.1. OBJECTIVES
The main purpose of this tutorial is to introduce SPH entity parameters and to process a fluid-only
simulation in Rocky.
• SPH
• Eulerian Solution
24.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than
other Rocky tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 993
Tutorial - Dam Break
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky
user interface (UI), and already have a good understanding of the common setup
and post-processing tasks.
• If you do not already have this level of familiarity, it is recommended that you
complete at least Tutorials 01- 05 before beginning this one.
• (1) container
• (2) gate
• (3) column
Tip:
If you run into settings or procedures in these tables that you are not yet familiar
with, please refer to the Rocky User Manual and/or other Tutorials to find the
detailed instructions you need.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
994 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
By enabling the checkboxes from Step C, the module will collect force interaction data
for the boundaries.
• The Boundary Properties field enables values for each boundary triangle for each
timestep, that you can make operations with.
• The Boundary Curves field enables average values that correspond to the referred
boundary for each timestep.
Make the three imported walls transparent to make the visualization better.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 995
Tutorial - Dam Break
To create and assign the Motion Frame for the gate, follow the table below.
To visualize the gate movement, preview it in a Motion Preview window (from Motion Frames, click
the Preview button).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
996 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
1. From the Data panel, under Materials, select Default Fluid and define the Name in the Data
Editors panel.
Note:
This tutorial case is set with the default SPH Solver WCSPH (Weakly Compressible SPH).
Depending on your application, it is also possible to use the IISPH (Implicit Incompress-
ible SPH) or DFSPH (Divergence-free SPH), that can lead to performance enhancement
in various scenarios.
For this tutorial, default options for the Fluid Dynamics, Wall Boundary Conditions, Positions
Correction and every Advanced fields will be used and we will set the Kernel | Element Size.
1. From the Data panel, select the SPH entity, and from the Data Editors, on the Model Parameters
tab, define the Sound Speed and Element Size.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 997
Tutorial - Dam Break
Tip:
Refer to the User Manual for more information about Sound Speed. For this tutorial,
we change the default value by a reasonable value in order to have consistent results
and reduce the simulation time.
2. With a 3D View opened, set your preference color for the fluid (SPH elements) from the Coloring
tab on Node color section.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
998 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• The Volumetric Inlet, that works for Fluid in the same way that it does for particles.
• The Fluid Inlet, that injects fluid at a constant rate through an associated Geometry at a defined
Time.
For this tutorial, we will create a Volumetric Inlet to fill part of the container with Water.
1. Follow the steps in the table below in order to create and define the inlet.
In a 3D View it is possible to visualize the region to be filled when Water Fill Inlet is selected.
Note:
You can also set the dimensions and center of the region with the mouse by clicking and
dragging the slider handles attached to each face or to the center of the cubic region (for
this tutorial, please keep the values you just defined).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 999
Tutorial - Dam Break
Doing this will allow Rocky to compute the elements that possibly escape above the container region
(splash from the collision with the column or container).
• By default Rocky automatically creates a Domain box based upon the boundary limits of the Walls.
• Any element that leaves those limits is eliminated from the simulation.
• These default settings would not work for the dam break simulation as the water splashes over
the container region.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1000 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Note:
The GPU is preferred in this case, but the simulation can also be run with a CPU.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1001
Tutorial - Dam Break
24.1.14. CONCLUSION
This completes Part A of this tutorial, in which Rocky was used to set up and process a Dam Break
simulation.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1002 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• Enable a Module.
• Define a Domain.
What's Next?
• If you completed this tutorial successfully, then you are ready to move on to Part B and post-process
this project.
24.2.1. OBJECTIVES
The purpose of this tutorial is to analyze a fluid (SPH) simulation after you have processed it. We will
continue from where we left off in Part A.
• Animation panel
• Eulerian Solution
• Time plot
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1003
Tutorial - Dam Break
Important:
To make use of the Rocky project file provided, you must have Rocky 2025
R1 or later. If you have an earlier version of Rocky, please upgrade to the latest
version, or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut24_files
folder, and then from the tutorial_24_A_pre-processing folder, open the tu-
torial_24_pre-processing.rocky file.
e. Process the simulation. (From the Simulation toolbar, click the Start button.)
1. From the Data panel, select SPH and then from the Data Editors panel, select the Properties
tab.
2. Select Velocity and then drag and drop it onto the 3D View window.
We will first color the cells by Velocity, in order to compare the results we had by coloring the SPH
elements.
1. From the Data panel, on the SPH field, select Eulerian Solution and then from the Data Editors
panel, select the Coloring tab.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1004 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
2. Expand Faces and then select Velocity from the drop down list as Property.
3. Use the eye icons to make Eulerian Solution visible and hide everything else but the Velocity
color scale.
Note:
You will view only data from the most external cells from the domain. To see results
from an specific area, you can create a cube, cylinder or a plane User Process from
the Eulerian Solution entity and follow the same procedure.
We will create a Plane in order to visualize this region with the Eulerian Solution (continuous data).
Let's also create a Cube to see the elements in this region with the SPH (discrete) entity.
1. Follow the steps in the table below to create both User Processes.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1005
Tutorial - Dam Break
Finally, let's visualize and compare the fluid views between SPH (discrete) and Eulerian Solution
(continuous) data.
1. From the Windows panel, select the 3D View <01> and use the eye icons to hide everything but
the Plane <01>, column and Velocity color scale.
2. Select the (recently created) 3D View <02> and use the eye icons to hide everything but the
Cube <01>, column and Velocity color scale.
3. On the Data panel, from Color Scales, select Velocity, and from the Data Editors panel, ensure
Limits options is defined as Automatic PER View.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1006 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
4. Use the mouse to adjust the views in a way you can compare them (as shown).
Tip:
If you are using a full screen in the workspace, use the button located on the upper
right in order to make the window adjustable.
5. Use the slider from the time bar to choose the timestep you want to analyze.
To represent it, we will restrict Eulerian Solution data based upon a value for a property defined as
Weight.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1007
Tutorial - Dam Break
• The value of the properties (velocity, density, etc.) for each node of the interpolation grid is based
on an interpolation, using the kernel function*, of the values of the SPH elements inside the kernel
radius.
• The Weight property gives the summation of the weight of all SPH elements that affect each grid
node.
• This property can be used to define the fluid surface as it is related to the concentration of SPH
elements around the nodes.
– When the region is full of elements, the function tends to return a value close to 1.
* Refer to SPH Technical Manual to learn more about SPH Kernel functions.
To better understand how the Weight is calculated, see the images below.
• Point B: Weight = 0
– As the volume around C is half empty, half full of elements, Weight tends to return 0.5. (see the
Color Scale in the reproduced scheme into Rocky below)
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1008 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Tip:
Ensure that Faces checkbox is enabled and the other ones are disabled for Property
<01> | Coloring.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1009
Tutorial - Dam Break
You can visualize the resulting surface for all timesteps in a 3D View.
Tip:
1. Follow the steps in the table below to create a video of your simulation.
2. Click the Play button to preview it, and the Export Animation button to save the movie to an
AVI file.
In this tutorial we will analyze the resulting fluid force in the column in the X (fluid flow) direction
for all timesteps.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1010 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
We will also visualize the maximum fluid force in a column triangle in order to see where it occurs
in the wall.
1. Follow the steps in the table below to create a Time Plot with both force values .
Note:
Your results may differ slightly from the ones presented in this tutorial.
1. Follow the table to color the column by nodal forces in a 3D View in order to visualize the region
of the wall that the force is occurring.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1011
Tutorial - Dam Break
2. With a 3D View opened, from the Time Toolbar, select the time that the maximum force occurs
(in this tutorial, 0.84 s).
You can visualize the point where the maximum fluid force occurs in the 3D View by hiding everything
but the column and the SPH : Force : Nodal : X Color Scale.
Note:
The maximum force occurs when the water first collides with the column, in the base
of the column. You can use the shortcut Shift+X to see the face in a normal view.
24.2.11. CONCLUSION
This completes Part B of this tutorial.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1012 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1013
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1014 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 25: Tutorial - Slurry Mill
(Part A) Set up and process a simulation with coupled SPH and DEM.
(Part B) Learn how to analyze the power supply of the system and the influence of the slurry filling.
25.1.1. OBJECTIVES
The main purpose of this tutorial is to:
• In wet milling, the presence of slurry (fluid mixture) can affect the supplied power.
• Use the same Volumetric inlet to inject both DEM and SPH
• SPH
• Modules
25.1.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1015
Tutorial - Slurry Mill
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one (especially Tutorial - SAG Mill (p. 247),
which has the same context of this one but without fluid injection).
25.1.3. GEOMETRY
• Mill slice
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1016 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Tip:
If you run into settings or procedures in these tables that you are not yet familiar with,
please refer to the Rocky User Manual and/or other Tutorials to find the detailed in-
structions you need.
1. Use the information in the table that follows to start setting up your Rocky project.
Note:
By enabling the checkboxes from Steps D and E, the modules will collect interaction data
(with the particles and fluid) for the boundaries that we will use later to calculate the power
draw of the Mill.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1017
Tutorial - Slurry Mill
1. Follow the steps in the table below to import the mill slice geometry and create the Motion Frame
that will be attached to it later.
We will also set the Triangle Size in order to be refined but not excessively fine to balance resolution
with computational time.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1018 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
25.1.8. MATERIALS
For the Materials step, default values for the boundaries (Default Boundary) will be used, we will
create two new materials for Rock and Steel particles that will be inputed later and we will use the
Default Fluid to represent the Slurry.
Note:
In practice, the slurry properties can vary depending on which components are added to
the water. In this tutorial, for simplicity, we will use default (water) properties.
1. Use the information in the following tables to set up the Materials and Materials Interactions steps.
25.1.9. PARTICLES
We will create two particles sets to represent Rock Particles and Steel Particles.
1. Use the information in the table below to create both particle sets.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1019
Tutorial - Slurry Mill
1. From the Data panel, select SPH, and from Data Editors panel, ensure the Fluid Material is
defined as Slurry Material.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1020 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
The Element Size is roughly 1/3 of the smallest Particle to ensure proper interaction between the
SPH and DEM physics.
1. Follow the steps in the table below in order to create and define the inlet.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1021
Tutorial - Slurry Mill
In a 3D View it is possible to visualize the Region to be filled (white box) and the Seed (blue sphere)
when the Inlet is selected.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1022 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
• The same procedure for the Domain step is followed in the Tutorial 04. Refer to the tutorial and/or
to the Rocky User Manual for more details about Periodic Domains.
For the Solver step, we will prefer to use a GPU in order to reduce the simulation time.
1. Follow the steps in the table below to set your Domain and Solver.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1023
Tutorial - Slurry Mill
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1024 of ANSYS, Inc. and its subsidiaries and affiliates.
Part A: Project Setup and Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1025
Tutorial - Slurry Mill
• Enable Modules.
What's Next? If you completed this tutorial successfully, then you are ready to move on to Part B
and post-process this project.
25.2.1. OBJECTIVES
The purpose of this tutorial is to analyze an SPH-DEM simulation of a Slurry Mill after you have pro-
cessed it. We will continue from where we left off in Part A.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1026 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
• Custom Properties
• Expressions/Variables
• Time Plot
25.2.2. PREREQUISITES
Important:
This ADVANCED tutorial contains fewer details, screenshots, and procedures than other
Rocky tutorials.
• An ADVANCED tutorial is designed for users who are more familiar with the Rocky user
interface (UI), and already have a good understanding of the common setup and post-
processing tasks.
• If you do not already have this level of familiarity, it is recommended that you complete
at least Tutorials 01 - 05 before beginning this one.
Important:
To make use of the Rocky project file provided, you must have Rocky 2025 R1 or
later. If you have an earlier version of Rocky, please upgrade to the latest version,
or complete Part A from scratch.
d. From the Rocky program, click the Open Project button, find the dem_tut25_files folder, and
then from the tutorial_25_A_pre-processing folder, open the tutorial_25_pre-pro-
cessing.rocky file.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1027
Tutorial - Slurry Mill
e. Process the simulation. (From the Simulation toolbar, click the Start button.)
The Slurry Filling ( ) is the ratio between the volume of slurry loaded to the volume of particle
interstices available within the bed at rest, and it can be calculated using the following expression:
(25.1)
Where:
• is the mill volume fraction occupied by all particles (including the interstices)
Note:
For this tutorial, we will assume = 0.4, as in reference paper [1] (p. 1036).
• = 0: No slurry
• = 1: Interstices filled
• > 1: Slurry amount enough to fill the Interstices and left over
The parameters we need to calculate the Slurry Filling ( and ) can be obtained in Rocky
(discussed below).
Note:
The volume for a single SPH element is equal to Element Size cubed.
• : is the sum of the volumes of the Particles (Particle Volume property) divided by the ratio
between material Bulk Density and Density (to consider the interstices), that is 0.6 in Rocky by
default (typical for spherical particles).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1028 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
In the Part A of this tutorial, the Element Size and SPH Mass (thus, the ) were inten-
tionally chosen so that reaches approximately the unity ( ≈ 1).
1. Follow the steps in the table below to obtain the necessary parameters and calculate .
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1029
Tutorial - Slurry Mill
Note:
For Step G, ensure B refers to SPH Element Volume (Custom) and C to Particle Volume.
Note:
The Slurry Filling depends on the static porosity of the bed ( ), that must be evaluated
with the bed of particles at rest.
Also note that for constant, the only parameter that would change the Slurry Filling value
in a simulation without fluid/particle inlets or outlets is the volume of slurry, due to fluid
compressibility, and these variations are not significant.
This way, Slurry Filling should be roughly constant for this simulation.
Tip:
This analysis can be convenient when your simulation has slurry inlets or outlets.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1030 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Note:
The Supplied Power corresponds to the necessary energy for the Mill to maintain the
prescribed rotational velocity. It accounts for the additional work to lift particles and fluid.
Tip:
The Supplied Power has contributions from the fluid (SPH : Power) and Particles (Power),
that have to be summed to represent it.
1. Follow the steps in the tables below to plot both the separated contributions and the Supplied
Power.
Mill
B Add new (dialog box) Name Supplied
Power
Output Unit W
Inputs | Power (Enabled)
Inputs | SPH : (Enabled)
Power
C Custom Curves (dialog box) Expression A+B
D Geometries Curves | Power Show curve in new plot
Curves | SPH : Power Show curve in selected plot
Mill
Curves | Supplied Power Show curve in selected plot
(Custom)
2. On the Plot tab, make the Axes Layout By Quantity so you can easily visualize the difference
between the Slurry and Particles influence in Supplied Power (results shown below).
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1031
Tutorial - Slurry Mill
Note:
The green line represents the portion of power consumed by the slurry.
Tip:
If this curve becomes negative, it means that the slurry is contributing to the mill rotation.
In this tutorial, we will see when it happens and how to analyze it. It will occur for some
conditions with > 1.
Note:
Later in this tutorial, results for different values of will be presented, and the procedures
to get them are the same of the ones presented in the following table.
1. Follow the steps in the table below to create a variable for the Supplied Power.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1032 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
In this context, pooling is the formation of a slurry pool separated from the particles that contributes
for the mill rotation by changing the center of gravity of the system.
Note:
Therefore, it should be noted a Supplied Power reduction with the presence of pooling.
In the next section, we will visualize the slurry behavior for different values of and check for which
value the pooling starts for our setup.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1033
Tutorial - Slurry Mill
• Example of pooling ( = 3)
Note:
These (07) 3D View results were obtained from the same setup of this tutorial for the last
output, varying only the SPH Mass (slurry mass), indicated below each view.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1034 of ANSYS, Inc. and its subsidiaries and affiliates.
Part B: Post-Processing
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1035
Tutorial - Slurry Mill
It is possible to see that the Supplied Power starts to reduce for > 1.5 as pooling takes place.
25.2.13. CONCLUSION
This completes Part B of this tutorial.
25.2.14. BIBLIOGRAPHY
Bibliography
[1] * Mulenga, F. K. and Moys, M.H.. Effects of slurry filling and mill speed on the net power draw of a
tumbling ball mill. Minerals Engineering. 56. 45–56. 2014.
Release 2025 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
1036 of ANSYS, Inc. and its subsidiaries and affiliates.