2.6. Frequently Used Tasks

Use this section to quickly find and perform common tasks in Rocky.

What would you like to do?

See Also:

2.6.1. Enter Input Variables or Mathematical Functions as Parameter Values

You can create Input variables in Rocky (see Defining Your Variables) and then use them in place of actual numerical values in situations where you want more flexibility. These variables can be used alone or within functions.


Tip:  Rocky includes several visual feedback mechanisms, like text color, to help you ensure the variable names and mathematical functions you enter are correct. See Use Colored Text to Validate the Syntax of Your Entries for more information.


Important:Verify that your field units are set the way you want before using a variable-or function using a variable-within a field. Even though variables are always saved in the Variables list without units, as soon a variable-or function using a variable-is used within a parameter field, it takes on whatever units are currently set for that field and then those units are recorded for that specific usage in the Expressions list. Changing the units for the field after the variable or function have already been entered only converts the numerical display to reflect the new units; the original variable or function amount and units are still retained. However, you can change the units and value later by editing it in the Expressions list.

Most text fields in Rocky support entering variables or mathematical functions as parameter variables, including three-part text fields. There are a few exceptions to be aware of, however. (See also I cannot enter an input variable or mathematical function into a text field.)

Most of these parametric expressions will be retained while saving a copy of a project for restart purposes, but there are a few exceptions for some Start Time and Stop Time fields. (See also I get a "Links removed" message when I save my project for restart purposes.)

Most text fields will also support the entering of pre-defined mathematical functions (e.g., floor and pow) and constants (e.g., pi and e) that come standard with Python-based programs, including Rocky. And as such, these particular functions and constants cannot be used when defining Input variables.

What would you like to do?

See Also:

REPLACE A PARAMETER VALUE WITH A VARIABLE

  • Using the Data and Data Editors panels, locate and select the field for the parameter you want to replace, exactly enter the name of the variable you want to use, and then press Enter. The current value set for the variable in the Expressions/Variables panel is displayed in the field.


Tip:  To see the units that are set for the variable you used, double click the value in the field. The units are displayed in brackets [ ] after the variable name.



Note:   You cannot use pre-defined functions or constants to define your variable.


See Also:

REPLACE A PARAMETER VALUE WITH A FUNCTION USING A VARIABLE

  • Using the Data and Data Editors panels, locate and select the field for the parameter you want to replace, and then enter the function you want to use.

See Also:

REPLACE A PARAMETER VALUE WITH A PRE-DEFINED MATHEMATICAL CONSTANT

  • Using the Data and Data Editors panels, locate and select the field for the parameter you want to replace, and then enter the pre-defined mathematical function or constant you want to use.

See Also:

2.6.2. Change the Speed of a Default Conveyor

You can change the speed of a default receiving or feed conveyor at any point during the simulation. For example, you might want to measure reclaiming belt power by starting off a simulation with a feed conveyor stopped until a hopper is filled with particles, and then ending the simulation with the conveyor up to full speed.

TO CHANGE THE SPEED OF A DEFAULT CONVEYOR:

  1. Ensure the default conveyor for which you want to change belt speed has already been added. (See also Add and Edit Geometry Components.)

  2. From the Data panel, under Geometries, select the Receiving Conveyor or Feed Conveyor for which you want to change belt speed. The parameters for that geometry are displayed in the Data Editors panel.

  3. From the Data Editors panel, on the Receiving Conveyor or Feed Conveyor tab, ensure the Belt Motion sub-tab is selected, and then do all of the following:

    1. In the Belt Speed box, enter the full speed you want the belt to reach after acceleration is complete.

    2. In the Beginning Start Time box, enter the amount of time that you want the simulation to run before the belt starts accelerating.

    3. In the Acceleration Period box, enter the amount of time you want the belt to increase from full stop to full Belt Speed.

    4. In the Beginning Stop Time box, enter the amount of time that you want the simulation to run before the belt starts decelerating.

    5. In the Deceleration Period box, enter the amount of time that you want the belt to decrease from full Belt Speed to full stop.

See Also:

2.6.3. Change Particle Adhesion

You change particle adhesion when you want a particle to act wetter or "stickier" than normal during a simulation. This might be useful in showing how ore flows through handling equipment during the wet season as compared to the dry, for example.

Tip: It is good practice to calibrate your particle settings to the real-world behavior of the material you are simulating before changing settings like adhesion. You may wish to use the Material Wizard and/or the Calibration Suite to help you with this task.

TO CHANGE PARTICLE ADHESION:

  1. Set up the simulation as you normally would. (See also Setting Up a Simulation.)

  2. During the Set Simulation-Wide Parameters step, ensure you select both the Rolling Resistance Model and the Adhesive Force you want from the Physics | Momentum tab. (See also About Physics Parameters.)

  3. Adjust Materials Interactions values by doing all of following:

    1. From the Data panel, select Materials Interactions.

    2. From the Data Editors panel, choose the materials you want to modify from the Select Materials lists.

    3. Adjust one or all of the settings provided including friction, adhesive distance, and force and/or stiffness fractions. (See also About Modifying Materials Interactions and Adhesion Values.)

  4. Adjust Rolling Resistance values by doing all of the following:

    1. From the Data panel, under Particles, select the rigid, convex Particle set for which you want to change adhesion.

    2. From the Data Editors panel, select the Movement tab, and then adjust the Rolling Resistance value. Notes: - The Type C: Linear Spring Rolling Limit Rolling Resistance model is recommended for sticky particles. (See also About Physics Parameters.) - Rolling Resistance is not usually needed for shaped particles.

  5. Process the simulation and then continue to adjust the Materials Interactions and Rolling Resistance values until you get the results you want.

See Also:

2.6.4. Set Particle Size Ranges

You set a particle size range-otherwise known as a Particle Size Distribution (PSD)-when you want particles of one shape but different sizes to be used in the simulation. If you set more than one size for a Particle set, Rocky uses a calculation to specify the distribution of sizes within any two dimensions you specify. This helps to more accurately reflect real matter.

When setting size ranges, the following three methods, or Size Types, can be used as a basis for defining your particle sizes (Figure 1):

  • Sieve Size (formerly "Sieve"), which for especially default Rocky shapes, bases particle size upon a virtual mesh hole just big enough for the particle to pass through. Note: Due to the way Sieve Size is calculated, it should be used only for even and balanced particle shapes (such as the default Solid particles included with Rocky) and not for fibers or shapes with high aspect ratios. (For more detail on how Sieve Size is calculated in Rocky, see the DEM Technical Manual. (From the Rocky Help menu, point to Manuals, and then click DEM Technical Manual.))

  • Equivalent Sphere Diameter (formerly "Equivalent Diameter"), which for especially irregular objects, bases particle size upon the diameter of a sphere with equivalent volume.


Tip:  To see a walk-through example of setting and using Equivalent Sphere Diameter, refer to the following Tutorial: Tutorial - Windshifter in the Rocky Tutorial Guide. Original Size Scale, which for especially imported shapes, bases particle size upon the original size of the shape.



Tip:  To see a walk-through example of setting and using Original Size Scale, refer to the following Tutorial: Tutorial - Tablet Coater in the Rocky Tutorial Guide.


Figure 2.152: Comparison of the three different Size Types in Rocky

Comparison of the three different Size Types in Rocky

The PSD in Rocky is linear by Particle Mass or, on a semi-log scale, by Particle size and not by number. When you enter the percentage of cumulative mass and then either particle sieve Size, sphere Diameter, or original size Scale Factor (representing the three available Size Types, respectively), these represent points on a semi-log plot. Anything between two points follows the linear rule:

(See also About Adding and Editing Particle Sets.)

For example, if you specify 0.1 and 0.05 (m) particle sizes measured by sieve size, you will get a range of various particle sizes within those two dimensions.

Use the image and procedure below to set size ranges for your Particle sets.

Figure 2.153: Example Size Distribution Settings for Sieve Size

Example Size Distribution Settings for Sieve Size

TO SET A PARTICLE SIZE RANGE OR PSD:

  1. Ensure that the Particle set for which you want to specify size ranges has been added. (See also Add a New Particle Set.)

  2. From the Data panel, select the Particle set you want (for example, Particle <01>) and then from the Data Editors panel, select the Size tab.

  3. Set what you want for Size Type. (See also About Adding and Editing Particle Sets.)

  4. Click the Add button once for each additional size range you require. Note: For rigid particles composed of Single Elements, there is no limit to the amount of rows you can add. For flexible or rigid particles composed of Multiple Elements (also known as *meshed* particles-see the Composition Tab section in the About Adding and Editing Particle Sets topic), only one row can be defined per Particle set.

  5. Under Size, Diameter, or Scale Factor respectively, and starting with the first row, enter the maximum and minimum size values for each range in decreasing order. For example, to get a range of sieve sizes between 0.05-0.1 m and 0.01-0.05 m, enter 0.1, 0.05, and 0.01 in the first, second, and third rows respectively. (See Figure 2 above for example.) Note: The smallest value you enter (last row) will also be shown at that exact size (no range).

  6. Under Cumulative %, starting with the second row, indicate what percentage of the total particle mass you want of that size value range by entering in decreasing order the previous row's percentage minus the percentage you want. For example, if you want 20% of the 0.05-0.1 m range, enter 80 (100-20); to get 60% of the 0.01-0.05 m range, enter 20 (80-20). (See Figure 2 above for example.)

Note: The percentage indicated in the final row also indicates what particle mass amount will be of that exact size (no range). For example, if the smallest size you enter is 0.01 m and you have entered 20 for Cumulative %, 20% of the particle mass will be exactly 0.01 m in size in addition to the ranges you have set.

See Also:

SEE SURFACE WEAR ON THE GEOMETRY ITSELF

There are two primary ways you can use Rocky to gain an understanding of how your geometries will wear over time. One way is by enabling surface wear modification, which changes the physical appearance of the geometry as the simulation progresses (Figure 1).

Figure 2.154: Surface wear modification

Surface wear modification

A second way is to turn on Boundary Collision Statistics (see also About Collision Statistics for Boundaries and then view a color map of the surface intensity (Figure 2), impact velocity, stresses, and more.

Figure 2.155: Color map of surface intensity

Color map of surface intensity

These features are independent of each other and are enabled from different areas of the Rocky UI. However, to view either type of wear data, you need to ensure that you have enabled enough geometry triangles prior to processing your simulation. Too few triangles will result in a jagged or blocky representation rather than a smooth one, but too many triangles can slow down your simulation.

Tip: To see a walk-through example of surface wear modification being using to analyze a SAG mill, review Tutorial - SAG Mill in the Rocky Tutorial Guide.

What would you like to do?

See Also:

ENABLE AND VIEW SURFACE WEAR MODIFICATION ON AN IMPORTED GEOMETRY

One way you can use Rocky to gain an understanding of how your geometries will wear over time is by enabling surface wear modification. Turning this feature on for an imported geometry prior to processing changes the physical appearance of the geometry as the simulation progresses (Figure 1).

Figure 2.156: Surface wear modification

Surface wear modification

To view this type of wear data, you must ensure that you have enabled enough geometry triangles prior to processing your simulation. Too few triangles will result in a jagged or blocky representation rather than a smooth one, but too many triangles can slow down your simulation.

It is important to realize that this data is only collected after the Wear Start value on the Solver | Time tab is reached. This is to allow enough time for the particle flow within your simulation to reach a steady state before surface wear modification calculations begin.

Tips: To see walk-through examples of surface wear modification, refer to the following Tutorials:

TO ENABLE AND VIEW SURFACE WEAR MODIFICATION:

  1. Set up the simulation as you normally would. (See also Set Simulation Parameters). Tip: For easier comparison after the simulation is complete, consider including a copy of the imported geometry that will remain unworn. (See also Duplicate a Data Panel Item.)

  2. Before processing the simulation, do all of the following:

    1. From the Data panel, under Geometries, select the imported geometry for which you want to enable surface wear. The parameters for the geometry become active in the Data Editors panel.

    2. From the Data Editors panel, on the Geometry tab, do all of the following:

      1. From the Geometry sub-tab, ensure Triangle Size is small enough to enable the wear detail you want. (0.1 m is recommended for most chutes and mills).

      2. From the Wear sub-tab, select the Wear Model you want to use, and then enter the Volume/Shear Work Ratio. Note: This is a calibration step that comes from real-world wear data you have collected on similar types of equipment.

    3. From the Solver | Time tab, ensure that your Wear Start time is set to when you want wear data to be collected. (From the Data panel, select Solver and then from the Data Editors panel, locate this value on the Time sub-tab.) (See also About Solver Parameters.) Tip: It is best practice to set your Wear Start time to begin after a steady state has been reached for your particle flow.

  3. Process the simulation as you normally would. (See also Processing a Simulation.)

  4. From a 3D View window (see also About 3D View Windows), observe the changes to the surfaces of the geometry as the simulation progresses. Tip: If you included a copy of the original geometry in the simulation, you can use the unworn geometry as a comparison to one worn by surface wear modification.

Tips:

  • If you want to analyze the modified geometry outside of Rocky, you can choose to export it to an STL file. (See also Export a Geometry Component to an STL File.)

  • It is possible to save a copy of an in-process simulation with surface wear and have the wear calculations continue in the copy. (See also Save a Copy of a Partially Processed Simulation for Restart Purposes.) While you are unable to turn off wear calculations from the copy, if you no longer need wear, you can get around this by setting Volume/Shear Work Ratio to zero.

  • It is also possible to have wear calculations be made on replicated geometries.

See Also:

VIEW A COLOR MAP OF WEAR ON THE DEFAULT BELT OR IMPORTED GEOMETRY ITSELF

When you choose to turn on Boundary Collision Statistics (see also About Collision Statistics for Boundaries and enable wear-related categories such as Intensities, you are able to create and view a color map of the surface intensity (Figure 1), impact velocity, stresses, and more. These color maps can help you analyze the causes of excess wear on your conveyor belts or imported geometries.

Figure 2.157: Color map of surface intensity

Color map of surface intensity

TO VIEW A COLOR MAP OF WEAR ON THE DEFAULT BELT OR IMPORTED GEOMETRY ITSELF

  1. Set up the simulation as you normally would. (See also Set Simulation Parameters.)

  2. Before processing your simulation, ensure all of the following:

    1. You have enabled the Boundary Collision Statistics that you want to be collected. (See also Enable and View Collision Statistics for Boundaries.)

    2. You have verified that the default conveyor or imported geometry has its Triangle Size set small enough to enable the wear detail you want. (0.1 m is recommended for most chutes and mills). (From the Data panel under Geometry, select the component you want to verify. From the Data Editors panel, on the Geometry sub-tab, verify the Triangle Size value.)

  3. Process the simulation as you normally would. (See also Processing a Simulation.)

  4. Ensure you have a 3D View displayed in the Workspace. (See also Create and Modify a 3D View.)

  5. When processing is complete enough to show the wear you want to visualize, from the first drop down list on the Coloring Settings toolbar, choose the data you want to display (e.g., Intensity.) The geometries in your simulation change color and a color legend is displayed in the 3D View.

  6. Do any or all the following to adjust the view and color map details:

See Also:

2.6.5. Use the 1-Way Fluent Method to Process Fluent and Rocky Simulations

There are five main steps to using the 1-Way Fluent CFD Coupling method to process a 1-Way coupled Rocky and Ansys Fluent simulation, as described below.

Tips:

STEP I: VERIFY THAT ALL ROCKY-FLUENT PROGRAM REQUIREMENTS ARE MET

  1. Before beginning Step II below, ensure all of the following program requirements have been met:

    • A Rocky-supported version of Ansys Fluent is installed upon a machine that also contains a Rocky program installation. (See also System Requirements.) Note: Rocky does not need Fluent to be installed on the same machine in order to run a 1-Way Fluent simulation. However, Fluent needs Rocky to be installed on the same machine in order for Rocky to enable the Rocky Export menu item in Fluent.

    • If you are not certain whether you have installed the Ansys Fluent Coupling Support component during Rocky installation, first follow the Install Ansys Coupling Components procedure before beginning Step II.

STEP II: SET UP, PROCESS, AND THEN EXPORT THE CFD SIMULATION

  1. In Ansys Fluent, set up the CFD simulation that you want to couple with Rocky. Important: Ensure that you complete all of the following; these exact settings are required for 1-Way Fluent coupled simulations:

    1. From the Fluent Launcher dialog, do the following:

      1. Under Dimension ensure 3D is selected.

      2. Under Options select Double Precision.

    2. From the Solution Methods tab, under Pressure-Velocity Coupling Scheme, ensure SIMPLE is selected.

    Optional Steps:

    • If you want to use any standard Fluent post processing options, set them up now before processing the simulation.

    • If you want both sides of your coupled simulation to share identical geometries, set up those geometries now in Fluent, but be sure you save your Fluent Case File. Later in Rocky, you can choose to import those geometries directly from the CAS, CAS.H5, or CAS.GZ file that you will save from Fluent in the next step.

    • If you want both sides of your coupled simulation to share the same geometry movements, set up the translation or rotation movements now using Fluent Moving Meshes. These movements will later be imported (with the F2R file) into Rocky (Step IV.2 below), which will automatically convert them into Rocky Motion Frames. Note: If you chose to define your moving meshes in Fluent using expressions, you will need to set up your Motion Frames in Rocky manually. (See also Step IV.2 below and About Creating and Applying Motion Frames to Imported Geometries.)

  2. From the File menu, Write the case to a location of your choosing. Tip: Remember the location of this directory as you will need to access files saved to it in later steps.

  3. (Optional) Configure the options for Rocky Export by doing any or all of the following:

    • Define the directory you want to export by doing the following:

      1. From the Fluent Rocky Export menu, point to Configure one-way export and then click Select Directory to Export.

      2. From the Select folder to write fluent to rocky files, select the folder to where you want your fluid data saved, and then click Select Folder. Note: If you do not define this, Fluent will automatically use the same folder as your case file.

    • Define the additional variables you want to export by doing the following: Note: These additional variables can include static pressure, species variables such as mole fraction, diffusivity, and user defined memories. Other variables such as Velocity, Pressure Gradient, Temperature, and Fluid properties are always exported no matter what you select here.

      1. From the Fluent Rocky Export menu, point to Configure one-way export and then click Select Variables to Export. Note: To do this task, you must first have variables defined within Fluent.

      2. From the Additional Variables Selector dialog that appears, select the variables that you want included in the exported files, and then click OK.

    • Define how frequently you want files to be saved during the export by doing the following:

      1. From the Fluent Rocky Export menu, point to Configure one-way export and then click Set Output Frequency.

      b. From the Fluent to Rocky (F2R) time-step multiplier dialog define what you want for the F2R Time Step Multiplier value, and then click OK. Note: Only whole numbers are valid multipliers.

  4. Export the data you want by doing one of the following:

    • To export steady-state data, do the following:

      1. Process the CFD simulation until the fluid flow reaches a steady state.

      2. From the Fluent Rocky Export menu, point to Export one-way data and then click Export current data to Rocky. Tips:

        • If you do not see this menu in Fluent, then first follow the Install Ansys Coupling Components procedure before continuing.

        • To perform this step before the Fluent case is done processing, stop Fluent from processing the case further before using Rocky Export menu.

          An F2R and other files needed for coupling is saved to the same folder as your Fluent case file (or the alternate folder you defined in step 3).

    • To export transient data, do the following:

      1. Begin the export process by doing one of the following:

        • To start recording from the initial conditions (without any prior Fluent results), initialize the Fluent case.

        • To start recording some time after Fluent results have been collected, process the CFD simulation until the fluid flow reaches the point that you want to start recording data, and then stop Fluent from processing the case further.

      2. From the Fluent Rocky Export menu, point to Record one-way transient data, and then click Start one-way transient export. Tip: If you do not see this menu in Fluent, then first follow the Install Ansys Coupling Components procedure before continuing.

      3. Begin (or resume) processing in Fluent until the point you want to stop recording data. Stop Fluent from processing the case.

      4. From the Fluent Rocky Export menu, point to Record one-way transient data, and then click Stop one-way transient export. An F2R and other files needed for coupling is saved to the same folder as your Fluent case file (or the alternate folder you defined in step 3).

  5. Click OK to close the confirmation message dialog.

  6. Save the Fluent case again.

STEP III: SET UP THE DEM SIMULATION IN ROCKY

  1. In Rocky, set up your simulation project as you normally would. (See also Set Simulation Parameters.) Tips:

    • If you want to use the exact same geometries as in the Fluent simulation, you may choose to import the CAS, CAS.H5, or CAS.GZ file you generated in Step II, which will include all available geometries as separate components.

    • If you enabled Energy Equations in the Fluent case, then ensure you also enable Thermal Modeling settings in Rocky. (See also Enable Thermal Modeling Calculations.)

STEP IV: APPLY 1-WAY FLUENT COUPLING

  1. From the Data panel, click CFD Coupling and then from the Data Editors panel, choose Fluent (Fluid → Particle) from the Coupling Mode list.

  2. From the Select Fluent 2 Rocky export file dialog, locate and select the F2R file you exported in Step II, and then click Open. A new 1-Way Fluent item appears beneath CFD Coupling in the Data panel. Important:For F2R files that include transient data, this step could take several minutes to complete. In addition, if you chose to set up Moving Meshes in Fluent, one new Frame will appear under Motion Frames in the Data panel for each Cell Zone with motions you have defined. Important:If you have defined your Moving Meshes in Fluent using expressions, Rocky will not be able to create the associated Motion Frames for you automatically. Rather, you must manually create your own Motion Frames in Rocky to match the Fluent motions as closely as possible. Tip: To save loading time, the Nodes for the imported fluid are turned off by default in the 3D View. To see them, from the Coloring tab, enable the Nodes checkbox. (See also About Using the Coloring Tab to Change a 3D View.)

  3. Under CFD Coupling, select the new item and then from the Data Editors panel, on the 1-Way Fluent tab, do the following:

    1. Set the Start Time you want.

    2. From the Interactions tab, do the following:

      1. From the Particle list, select (or multi-select) the Particle set name(s) for which you want to define interactions, and then select the various CFD laws you want for the selected set(s).

      2. Select what you want for Turbulent Dispersion.

(See also About Using the 1-Way Fluent Method.)

STEP IV: PROCESS THE COUPLED SIMULATION

  1. In Rocky, process the simulation as you normally would. (See also Start Processing a Simulation from the Beginning.)

See Also:

2.6.6. Use the 2-Way Fluent Method to Process a Fluent and Rocky Simulation

There are five main steps to using the 2-Way Fluent method to process a coupled Rocky and Ansys Fluent simulation, as described below.

Note: Both Single phase and Multiphase approaches are covered in this procedure.

STEP I: VERIFY THAT ALL ROCKY-FLUENT PROGRAM REQUIREMENTS ARE MET

  1. Before beginning Step II below, ensure all of the following program requirements have been met:

    • A Rocky-supported version of Ansys Fluent is installed upon the same machine that contains your Rocky program installation. (See also System Requirements.)

    • If you desire to run Fluent as a parallel process (rather than a serial one), then the machine upon which you intend to run the Rocky portion of your coupled simulation must also run at least the host part of the Fluent process. (For more information about how the processing architecture works in Fluent, refer to your Ansys Fluent documentation.)

    • If you are not certain whether you have installed the Ansys Fluent Coupling Support component during Rocky installation, first follow the Install Ansys Coupling Components procedure before beginning Step II.

STEP II: SET UP THE INITIAL CFD SIMULATION

  1. In Ansys Fluent, set up the CFD simulation that you want to couple with Rocky. Important:Ensure that you complete all of the following; these exact settings are required for 2-Way Fluent coupled simulations:

    1. From the Fluent Launcher dialog, do the following:

      1. Under Dimension ensure 3D is selected.

      2. Under Options select Double Precision.

    2. From the General tab, under Time select Transient.

    3. From the Tree panel, expand Models, and then do one of the following:

      • To set up a CFD project with a single fluid phase, ensure that Multiphase model is set to Off.

      • Otherwise, to set up a CFD project with two or more fluid phases, do all of the following:

        1. Under Models, select Eulerian. Note: The Volume of Fluid model is not supported by Rocky in this version.

        2. Under Eulerian Parameters, keep all options cleared. (All are unsupported with coupling, including the Multi-Fluid VOF Model.)

        3. Under Volume Fraction Parameters, select Implicit for Formulation.

        4. Under Number of Eulerian Phases, select the number of phases that includes an additional one for particles. (The number of Eulerian phases should be set to number of fluid phases + 1.).

        5. Click OK.

    4. Only for projects where the Multiphase model has been set to Eulerian (i.e., multiphase simulations), ensure that you set the additional particle phase to have a different material from the primary phase.

    5. Only for projects involving multiple fluid species, for the mixture-template for your Material Mixture, ensure that you have enabled Species Transport. Important:The species you list last in the Selected Species list is very important as Fluent considers it to be the bulk species; this last species, therefore, will not result in a mass source term from Rocky.

    6. From the Solution Methods tab, under Pressure-Velocity Coupling Scheme, do one of the following:

      • For projects where the Multiphase model has been set to Eulerian (i.e., multiphase simulations), you must ensure that the Phase Coupled SIMPLE method is selected.

      • For projects where the Multiphase model has been set to Off (i.e., single phase simulations), you may choose any pressure-velocity coupling scheme that works for your particular application.

    7. From the Solution Methods tab, under Transient Formulation, ensure that First Order Implicit is selected.

    8. From the Run Calculation tab, under Time Advancement, do the following:

      1. Set Type to Fixed.

      2. Ensure the Time Step Size value you set matches the minimum initial Output Frequency 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.


    Tip:  To help ensure that you perform these setup steps correctly, please refer to the CFD Coupling Technical Manual document (from the Help menu, point to Manuals, and then click CFD Coupling Technical Manual). For single-phase approaches, you may also follow the self-guided:


Tutorial 14 - DEM-CFD Two-Way Coupling with Ansys Fluent.

Optional Steps:

  • If you want to start your Rocky simulation with a given initial fluid flow, save the solution in Fluent as a standard DAT (DAT.H5 or DAT.GZ) file to be used by Rocky later (see Step IV below). Note: If your simulation is multiphase, ensure that the secondary phase (particulate phase) has a volume fraction of zero set before saving your DAT (DAT.H5 or DAT.GZ) file. Later, after the simulation is initialized, the initial particulate volume fraction will be calculated in Rocky according to the particles enabled at the beginning of the simulation.

  • If you want to use any standard Fluent post processing options, set them up now before processing the simulation.

  • If you want both sides of your coupled simulation to share identical geometries, set up those geometries now in Fluent, but be sure you save your Fluent Case File. Later in Rocky, you can choose to import those geometries directly from the CAS, CAS.H5, or CAS.GZ file that you will save from Fluent in the next step.

  • If you want both sides of your coupled simulation to share the same geometry movements, set up the translation or rotation movements now using Fluent Moving Meshes. These movements will later be imported (with the CAS, CAS.H5, or CAS.GZ file) into Rocky (Step IV.2 below), which will automatically convert them into Rocky Motion Frames. Note: If you chose to define your moving meshes in Fluent using expressions, you will need to set up your Motion Frames in Rocky manually. (See also Step IV.2 below and About Creating and Applying Motion Frames to Imported Geometries.)

  1. Write the completed CFD setup to a CAS (CAS.H5 or CAS.GZ) file.

STEP III: SET UP THE INITIAL ROCKY SIMULATION

  1. In Rocky, set up your simulation project as you normally would. (See also Set Simulation Parameters.) Tip: If you want to use the exact same geometries as in the Fluent simulation, you may choose to import the CAS, CAS.H5, or CAS.GZ file you generated in Step II, which will include all available geometries as separate components.

  2. Recommended: Save your Rocky project to the same folder in which you saved the CAS (CAS.H5 or CAS.GZ) file in Step II. (See also Save a New Simulation Project.)

    Whether or not you choose to take this step, Rocky will create its own copy of the CAS (CAS.H5 or CAS.GZ).

  3. Optional: If you want to start your coupled simulation with particle data already in the system, do all of the following:

    1. Process the simulation as you normally would, without CFD coupling. (See also Start Processing a Simulation from the Beginning.)

    2. After processing is complete, from the File menu, click Save project as….

    3. From the Save As dialog, choose the third option, "Save as a New Project for Restart", and then click OK.

    4. In the Save in list, choose the same location in which you saved the CAS (CAS.H5 or CAS.GZ) file in Step II, verify the File Name, and then click Save.

STEP IV: APPLY 2-WAY COUPLING

  1. From the Data panel, click CFD Coupling and then from the Data Editors panel, choose 2-Way Fluent from the Coupling Mode list.

  2. From the Select Fluent CAS file dialog, locate and select the CAS (CAS.H5 or CAS.GZ) file you generated in Step II, and then click Open. 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. After successful import, a new 2-Way Fluent item appears beneath CFD Coupling in the Data panel. In addition, if you chose to set up Moving Meshes in Fluent, one new Frame will appear under Motion Frames in the Data panel for each Cell Zone with motions you have defined. Important:If you have defined your Moving Meshes in Fluent using expressions, Rocky will not be able to create the associated Motion Frames for you automatically. Rather, you must manually create your own Motion Frames in Rocky to match the Fluent motions as closely as possible.

  3. If the CAS (CAS.H5 or CAS.GZ) file imported new Motion Frames, assign each newly imported Frame to the geometry component you want to share corresponding movements with Fluent. (See also Apply a Motion Frame to an Imported Geometry.)

  4. From the Data panel under CFD Coupling, select the new 2-Way Fluent item and then from the Data Editors panel, do all of the following:

    1. From the Interactions tab, define the CFD laws you want per *Particle set* by selecting (or multi-selecting) the set name(s) from the Particle list, and then defining the laws you want for the selected set(s). From this tab, you can also set the Turbulent Dispersion options for the entire coupled simulation. (See also About Using the 2-Way Fluent Method.)

    2. From the Coupling tab, define the Mapping Method and Sub-Stepping options you want.

    3. From the Zones and Interfaces tab, do the following:

      • Select one or more options from the Coupling Fluid Cell Zone list.

      • (Optional) If provided, select the options you want from the Mapping Cell Zone Interfaces list.

    4. From the Fluent tab, do all of the following:


      1. Important:  If your Fluent case is multiphase, from the Rocky Phase list, ensure that the phase representing particle flow is chosen.


      2. Choose what fluid flow data Rocky starts with by doing one of the following:

        • To start your Rocky simulation without providing initial fluid flow data, ensure the Use Data Initialization checkbox remains cleared. Doing so ensures that the initialization settings prescribed in Fluent will be used to generate the initial fluid flow.

        • To start your Rocky simulation with initial fluid flow data, select Use Data Initialization, click the Import File button, and then select and open the DAT (DAT.H5 or DAT.GZ) file you saved in Step II. Important:If you chose to use initial fluid flow data in your simulation and your simulation is multiphase, you must have ensured that the secondary phase (particulate phase) had a volume fraction of zero set before you saved your DAT (DAT.H5 or DAT.GZ) file. This is important because later, after the simulation is initialized, the initial particulate volume fraction will be calculated in Rocky according to the particles enabled at the beginning of the simulation.

      3. From the Version list, select what Ansys version you want to use for fluid coupling. Tip: If you do not see the Ansys version you expected, see also Rocky does not list my Ansys version when I try to set up 2-Way Fluent Coupling.

      4. Choose how the fluid portion of the simulation is processed by doing one of the following:

        • To have it processed on only one processor on your local machine, from the Execution mode list, select Serial.

        • To have it processed on multiple processors on your local machine, from the Execution mode list, select Local Parallel and then from the Solver Processes field, enter the number of processors you want to dedicate to the CFD solver.

        • To have it processed across several machines on your network, from the Execution mode list, select Distributed Parallel and then do one of the following:

          • Under Hosts, click the Add button for each server you want to add and then for each row, define the Host name and Amount information.

          • To import an external list of hosts and amounts that you created outside of Rocky, click the Import File button, and then from the Import dialog, locate and select the TXT file containing the information, and then click Open. The Host section is populated with the information from the TXT file. Tip: The format for the TXT file needs to include the Host name repeated on separate lines for each Amount you want devoted. To see an example, create a few sample rows as specified directly above, click Export File and then save and view the results as a TXT file.

      5. Choose how many Fluent files to keep by doing one of the following:

        • To keep each Fluent DAT (DAT.H5 or DAT.GZ) file (and in some cases, as with moving meshes, CAS files as well) for every Rocky output file that is saved, enable the Keep all files checkbox. Important:Unless you require all files for post-processing in Fluent, keeping all files is not recommended for the 2-Way Fluent method. (See also About Using the 2-Way Fluent Method.)

        • To keep only the last (or last several) Fluent DAT (DAT.H5 or DAT.GZ) files (and in some cases, CAS files) saved, ensure the Keep all files checkbox is cleared, and then enter the number of last-saved files you want to keep in the Files to keep box. Tip: Keeping the last 2 (or more) files is recommended. Important:If you decide to save fewer than all of the files, be aware that you will not be able to post-process the unsaved files in Fluent. Also, be aware that the number DAT (and in some cases, CAS) files you save will be as far back in time as you can restart your simulation since fluid data will not be available for prior times. Tip: You can also choose which quantities and frequency you want to write to disk using Fluent's Autosave functionality.

    5. From the Variables tab, review the Additional Inputs and Additional Outputs (if applicable) that Rocky and Fluent will exchange during the coupled simulation. Tip: If you have enabled species transport, this is where the per-species variables Fluent provides Rocky, and the mass source terms Rocky provides Fluent will be listed.

Tips:

  • To verify or change the CAS (CAS.H5 or CAS.GZ) file selected, click Open (at the bottom of the 2-Way Fluent | Fluent tab) and Rocky will open its own copy of the CAS (CAS.H5 or CAS.GZ) file in Fluent. From here, you can view or make changes to the Rocky copy of the file. Important:Because Rocky uses only its own copy of the imported CAS (CAS.H5 or CAS.GZ) file, it is critical that you only open the imported CAS (CAS.H5 or CAS.GZ) from Rocky's Open button, and that you save any changes to the default location Rocky indicates.

  • If you make changes to the Rocky copy of the CAS (CAS.H5 or CAS.GZ) file in Fluent, click Refresh to have Rocky include the updates. Important:The Refresh button works only if you first opened the CAS (CAS.H5 or CAS.GZ) file from the Rocky Open button located at the bottom of the 2-Way Fluent | Fluent tab.

  • If you made changes to your original Fluent version of the CAS (CAS.H5 or CAS.GZ) file and did not use the Rocky Open button as specified above, you must set the CFD Coupling option to No Coupling to clear the values, and then restart "Step IV: Apply 2-Way Coupling" again from the beginning, selecting the updated CAS (CAS.H5 or CAS.GZ) file in step 2.

STEP V: PROCESS THE COUPLED SIMULATION

In Rocky, process the simulation as you normally would (see also Start Processing a Simulation from the Beginning) with the following exception:

  • Keeping in mind the Time Step Size value you set in Fluent, from the Solver | Time tab, set what you want for Fluent Outputs Multiplier. Tip: You can see how this change affects Rocky's Output Frequency in the disabled Simulation field.

Rocky automatically opens Ansys Fluent and the Fluent simulation is processed at the same time as the Rocky simulation, depending upon the limitations of your Ansys license. If any incompatibility is found between the Fluent setup and Rocky, an error will be shown in Rocky with additional information. Once the simulations are complete, the data from both are available to see and analyze however you choose. (See also Analyzing a Simulation.)

See Also:

2.6.7. Use the 2-Way Fluent Semi-Resolved Method to Process a Fluent and Rocky Simulation

There are five main steps to using the 2-Way Fluent Semi-Resolved method to process a coupled Rocky and Ansys Fluent simulation, as described below.

Note: Both Single phase and Multiphase approaches are covered in this procedure.

STEP I: VERIFY THAT ALL ROCKY-FLUENT PROGRAM REQUIREMENTS ARE MET

  1. Before beginning Step II below, ensure all of the following program requirements have been met:

    • A Rocky-supported version of Ansys Fluent is installed upon the same machine that contains your Rocky program installation. (See also System Requirements.)

    • If you are not certain whether you have installed the Ansys Fluent Coupling Support component during Rocky installation, first follow the Install Ansys Coupling Components procedure before beginning Step II.

STEP II: SET UP THE INITIAL CFD SIMULATION

  1. Important: When setting up your 3D mesh, ensure that only tetrahedron, prism, pyramid, or hexahedron cell types are used. Note: Polyhedral mesh cells, including the CutCell type, are not supported in this version.

  2. In Ansys Fluent, set up the CFD simulation that you want to couple with Rocky. Important: Ensure that you complete all of the following; these exact settings are required for 2-Way Fluent Semi-Resolved

    coupled simulations:

    1. From the Fluent Launcher dialog, do the following:

      1. Under Dimension ensure 3D is selected.

      2. Under Options select Double Precision.

    2. From the General tab, under Time select Transient.

    3. From the Tree panel, expand Models, and then do one of the following:

      • To set up a CFD project with a single fluid phase, ensure that Multiphase model is set to Off.

      • Otherwise, to set up a CFD project with two or more fluidphases, do all of the following:

        1. Under Models, select Eulerian.

        2. Under Number of Eulerian Phases, select the number of phases you need. Note: Unlike with the standard 2-Way Fluent method, you do not need an additional phase for particles with this method.

        3. Click OK.

    4. From the Solution Methods tab, under Pressure-Velocity Coupling Scheme, you may choose any pressure-velocity coupling scheme that works for your particular application.

    5. From the Solution Methods tab, under Transient Formulation, ensure that First Order Implicit is selected.

    6. From the Run Calculation tab, under Time Advancement, do the following:

      1. Set Type to Fixed.

      2. Ensure the Time Step Size value you set is aligned with the Output Settings | Time Interval value you want to set later in Rocky. Tip: To ensure that your post-processing is better aligned between the two products, it is recommended that the Time Step Size in Fluent and the Output Settings | Time Interval value in Rocky are multiples.

    Optional Steps:

    • If you want to start your Rocky simulation with a given initial fluid flow, save the solution in Fluent as a standard DAT (DAT.H5 or DAT.GZ) file to be used by Rocky later (see Step IV below).

    • If you want to use any standard Fluent post processing options, set them up now before processing the simulation.

    • If you want both sides of your coupled simulation to share identical geometries, set up those geometries now in Fluent, but be sure you save your Fluent Case File. Later in Rocky, you can choose to import those geometries directly from the CAS, CAS.H5, or CAS.GZ file that you will save from Fluent in the next step.

    • If you want both sides of your coupled simulation to share the same geometry movements, set up the translation or rotation movements now using Fluent Moving Meshes. These movements will later be imported (with the CAS, CAS.H5, or CAS.GZ file) into Rocky (Step IV.2 below), which will automatically convert them into Rocky Motion Frames. Note: If you chose to define your moving meshes in Fluent using expressions, you will need to set up your Motion Frames in Rocky manually. (See also Step IV.2 below and About Creating and Applying Motion Frames to Imported Geometries.)

  3. Write the completed CFD setup to a CAS (CAS.H5 or CAS.GZ) file.

STEP III: SET UP THE INITIAL ROCKY SIMULATION

  1. In Rocky, set up your simulation project as you normally would. (See also Set Simulation Parameters.)


    Tip:   If you want to use the exact same geometries as in the Fluent simulation, you may choose to import the CAS, CAS.H5, or CAS.GZ file you generated in Step II, which will include all available geometries as separate components.



    Note:   2-Way Fluent Semi-Resolved currently supports only the following particle shapes: Spheres, Shells (either rigid or flexible), or Custom Imported Polyhedrons (rigid only).


  2. Recommended: Save your Rocky project to the same folder in which you saved the CAS (CAS.H5 or CAS.GZ) file in Step II. (See also Save a New Simulation Project.) Whether or not you choose to take this step, Rocky will create its own copy of the CAS (CAS.H5 or CAS.GZ).

  3. Optional: If you want to start your coupled simulation with particle data already in the system, do all of the following:

    1. Process the simulation as you normally would, without CFD coupling. (See also Start Processing a Simulation from the Beginning.)

    2. After processing is complete, from the File menu, click Save project as….

    3. From the Save As dialog, choose the third option, "Save as a New Project for Restart", and then click OK.

    4. In the Save in list, choose the same location in which you saved the CAS (CAS.H5 or CAS.GZ) file in Step II, verify the File Name, and then click Save.

STEP IV: APPLY 2-WAY FLUENT SEMI-RESOLVED COUPLING

  1. From the Data panel, click CFD Coupling and then from the Data Editors panel, choose Fluent Semi-Resolved from the Coupling Mode list.

  2. From the Select Fluent CAS file dialog, locate and select the CAS (CAS.H5 or CAS.GZ) file you generated in Step II, and then click Open. 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. After successful import, a new 2-Way Fluent Semi-Resolved item appears beneath CFD Coupling in the Data panel. In addition, if you chose to set up Moving Meshes in Fluent, one new Frame will appear under Motion Frames in the Data panel for each Cell Zone with motions you have defined. Important:If you have defined your Moving Meshes in Fluent using expressions, Rocky will not be able to create the associated Motion Frames for you automatically. Rather, you must manually create your own Motion Frames in Rocky to match the Fluent motions as closely as possible.

  3. If the CAS (CAS.H5 or CAS.GZ) file imported new Motion Frames, assign each newly imported Frame to the geometry component you want to share corresponding movements with Fluent. (See also Apply a Motion Frame to an Imported Geometry.)

  4. From the Data panel under CFD Coupling, select the new 2-Way Fluent Semi-Resolved item and then from the Data Editors panel, do all of the following:

    1. Choose what fluid flow data Rocky starts with by doing one of the following:

      • To start your Rocky simulation without providing initial fluid flow data, ensure the Use Data Initialization checkbox remains cleared. Doing so ensures that the initialization settings prescribed in Fluent will be used to generate the initial fluid flow.

      • To start your Rocky simulation with initial fluid flow data, select Use Data Initialization, click the Import File button, and then select and open the DAT (DAT.H5 or DAT.GZ) file you saved in Step II.

    2. From the Version list, select what Ansys version you want to use for fluid coupling. Tip: If you do not see the Ansys version you expected, see also Rocky does not list my Ansys version when I try to set up 2-Way Fluent Coupling.

    3. Choose how the fluid portion of the simulation is processed by doing one of the following:

      • To have it processed on only one processor on your local machine, from the Execution mode list, select Serial.

      • To have it processed on multiple processors on your local machine, from the Execution mode list, select Local Parallel and then from the Solver Processes field, enter the number of processors you want to dedicate to the CFD solver.

      • To have it processed across several machines on your network, from the Execution mode list, select Distributed Parallel and then do one of the following:

        • Under Hosts, click the Add button for each server you want to add and then for each row, define the Host name and Amount information.

        • To import an external list of hosts and amounts that you created outside of Rocky, click the Import File button, and then from the Import dialog, locate and select the TXT file containing the information, and then click Open. The Host section is populated with the information from the TXT file. Tip: The format for the TXT file needs to include the Host name repeated on separate lines for each Amount you want devoted. To see an example, create a few sample rows as specified directly above, click Export File and then save and view the results as a TXT file.

    4. Choose how many Fluent files to keep by doing one of the following:

      • To keep each Fluent DAT (DAT.H5 or DAT.GZ) file (and in some cases, as with moving meshes, CAS files as well) saved, enable the Keep all files checkbox. Important:Unless you require all files for post-processing in Fluent, keeping all files is not recommended for the 2-Way Fluent Semi-Resolved method. (See also About Using the 2-Way Fluent Semi-Resolved Method.)

      • To keep only the last (or last several) Fluent DAT (DAT.H5 or DAT.GZ) files (and in some cases, CAS files) saved, ensure the Keep all files checkbox is cleared, and then enter the number of last-saved files you want to keep in the Files to keep box. Tip: Keeping the last 2 (or more) files is recommended. Important:If you decide to save fewer than all of the files, be aware that you will not be able to post-process the unsaved files in Fluent. Also, be aware that the number of DAT (and in some cases, CAS) files you save will be as far back in time as you can restart your simulation since fluid data will not be available for prior times. Tip: You can also choose which quantities and frequency you want to write to disk using Fluent's Autosave functionality.

Tips:

  • To verify or change the CAS (CAS.H5 or CAS.GZ) file selected, click Open and Rocky will open its own copy of the CAS (CAS.H5 or CAS.GZ) file in Fluent. From here, you can view or make changes to the Rocky copy of the file. Important:Because Rocky uses only its own copy of the imported CAS (CAS.H5 or CAS.GZ) file, it is critical that you only open the imported CAS (CAS.H5 or CAS.GZ) from Rocky's Open button, and that you save any changes to the default location Rocky indicates.

  • If you make changes to the Rocky copy of the CAS (CAS.H5 or CAS.GZ) file in Fluent, click Refresh to have Rocky include the updates. Important:The Refresh button works only if you first opened the CAS (CAS.H5 or CAS.GZ) file from the Rocky Open button.

  • If you made changes to your original Fluent version of the CAS (CAS.H5 or CAS.GZ) file and did not use the Rocky Open button as specified above, you must set the CFD Coupling option to No Coupling to clear the values, and then restart "Step IV: Apply 2-Way Fluent Semi-Resolved Coupling" again from the beginning, selecting the updated CAS (CAS.H5 or CAS.GZ) file in step 2.

STEP V: PROCESS THE COUPLED SIMULATION

In Rocky, process the simulation as you normally would (see also Start Processing a Simulation from the Beginning) with the following exception:

  • Keeping in mind the Time Step Size value you set in Fluent, from the Solver | Time tab, set what you want for Output Settings | Time Interval. Tip: To ensure that your post-processing is better aligned between the two products, it is recommended that the Time Step Size in Fluent and the Output Settings | Time Interval value in Rocky are multiples.

Rocky automatically opens Ansys Fluent and the Fluent simulation is processed at the same time as the Rocky simulation, depending upon the limitations of your Ansys license. If any incompatibility is found between the Fluent setup and Rocky, an error will be shown in Rocky with additional information. Once the simulations are complete, the data from both are available to see and analyze however you choose. (See also Analyzing a Simulation.)

See Also:

2.6.8. Enable and View Particle Breakage

Analyzing either Instantaneous or Discrete particle breakage in Rocky involves first turning on breakage parameters for your Particle set prior to processing your simulation (see also About Particle Breakage), and then viewing the results and/or particle-fragment-related Properties or Curves in a 3D View window or graphing them in a plot or histogram window (Figure 1).

Figure 2.158: Example of Instantaneous Breakage being simulated in an HPGR machine

Example of Instantaneous Breakage being simulated in an HPGR machine

It is important to realize that breakage data is only collected after the Breakage Start value on the Solver | Time tab is reached. This is to allow enough time for the particle flow within your simulation to reach a steady state before breakage calculations begin.

For further details on the specific models, tips, and limitations see the About Particle Breakage topic.

TO ENABLE AND VIEW PARTICLE BREAKAGE:

  1. Set up your simulation as you normally would (see also Set Simulation Parameters), ensuring all of the following:

    1. During the Set Simulation-Wide Parameters step, on the Solver | Time tab, you have set the values you want for both Breakage Start and Breakage Delay after Release. (See also About Solver Parameters.) Tip: It is best practice to set your Breakage Start time to begin after a steady state has been reached for your particle flow.

    2. During the Add and Edit Particle Sets step, you have done all of the following for each of the particle you want breakage enabled:

      1. On the Particle tab, you have ensured that one of the following Shape | Composition option combinations are selected:

        • Either Straight or Custom Fiber Shape | Multiple Element Composition

        • Custom Shell Shape | Multiple Element Composition

        • Solid Polyhedron Shape | either Single Element or Multiple Element Composition

        • Solid Briquette Shape | Single Element Composition

        • Solid Faceted Cylinder Shape | Single Element Composition

        • Solid Custom Convex Polyhedron Shape | either Single Element or Multiple Element Composition

        • Solid Custom Concave Polyhedron Shape| Multiple Element Composition

      2. If you have selected a Single Element particle set, you have done all of the following:

        1. On the Particle | Breakage tab, you have selected the Enable Breakage checkbox.

        2. From the Criteria sub-tab, you have selected the Instantaneous Breakage model you want from the Model list, and have defined its associated parameters.

        3. From the Fragments sub-tab, you have entered the values you want under Limits, have chosen the model you want from the Distribution model list, and have defined its associated parameters.

      3. If you have selected a Multiple Element particle set, you have done all of the following:

        1. On the Particle | Breakage tab, you have selected the Discrete Breakage model you want from the Model list.

        2. You have defined the model's associated parameters.

  2. Process your simulation as you normally would. (See also About Starting a Simulation.)

  3. After your simulation reaches as least as far as the Breakage Start time, do one or more of the following:

See Also:

2.6.9. Create and View a Particle Assembly

(See also About Particle Assemblies.)

TO CREATE AND VIEW A PARTICLE ASSEMBLY:

  1. Begin setting up your simulation as you normally would (see also Set Simulation Parameters).

  2. During the Add and Edit Particle Sets step, do the following:

    1. For each part you want represented in your final Assembly shape, create an individual Particle set. (See also Add a New Particle Set.) Tip: Ensure your Particle set meets the specific criteria for Assembly parts. (Refer to the Assembly Particle Shape Limitations section of the Particle and Input Limitations topic for details.)

    2. Create another new Particle set (see also Add a New Particle Set), select it, and then from the Data Editors panel, do the following:

      1. From the main Particle tab, define the Shape as an Assembly.

      2. From the Shape sub-tab, add a new definition row for each individual part you want to include, and define each's part's position, size scale, and rotation parameters. (See also About Adding and Editing Particle Sets.) Tip: Check your settings in the Particles Details window. (About Particles Details Windows.) Note: For Assembly shapes, the Particles Details 3D view shows the actual position of the part when the size type is Original Size Scale and it is set to 1 (which is the default setting).

    3. Define the rest of the shape settings as you normally would for any other Particle set. (Define what parameters you want on the Size, Movement, and Orientation sub-tabs.) Important:At this point, Rocky will calculate the mass, area, and other properties for the (whole) Assembly particle based on the values you have defined for the Particle sets upon which the individual parts are based, and the size of the parts you have defined within the Assembly. These properties will be calculated accurately by Rocky as long as your individual parts do not overlap; otherwise, the accuracy of these Rocky-calculated properties cannot be guaranteed and you should consider defining them yourself by specifying Custom Properties.

    4. (Optional) If your Assembly shape requires its parts to overlap, and you require accurate mass, area, and other properties for your Assembly particle, consider specifying Custom Properties for your assembly by doing the following:

      1. From the CAD program with which you designed your ideal (Assembly) particle shape, note the Area, Volume, Mass, Geometric Center, Center of Mass, and other properties you want Rocky to use for your Assembly particle shape.

      2. In Rocky, from your Assembly particle's Particle | Custom Properties tab, enable the Change Assembly Properties checkbox, and then enter the information you want Rocky to use. Tip: You can use the colored dots in the Particles Details window to preview where your Center of Mass (blue dot) and Geometric Center (yellow dot) are located.

  3. Finish setting up your simulation, process it, and then analyze the results as you normally would.

See Also:

2.6.10. Enable Thermal Modeling Calculations

If you want to observe how particles are affected by temperature changes brought on by the heating or cooling of other items around it, you may set up your simulation to model thermal properties. Turning on Thermal Modeling enables you to simulate conductive heat transfer from particles to other particles, and from particles to boundaries. When used with CFD Coupling methods, it can also simulate convective heat transfer between particles and fluids. (See also Set or Modify Fluid and/or Air Flow Properties.)


Tip:  For examples and walk-through tutorials of thermal modeling in action, review the following resources:


TO ENABLE THERMAL MODELING IN DEM CALCULATIONS:

  1. Set up your simulation as you normally would (see also Set Simulation Parameters), ensuring all of the following:

    1. During the Set Simulation-Wide Parameters step, on the Physics tab, select the Enable Thermal checkbox. (See also About Physics Parameters.) Note: If you decide to enable Intra-particle Collision Statistics, know that the Temperature property will not be available to view on the Particles Details window, but can still be viewed from the main Particles entity or through a 3D View window. (Se also About Intra-Particle Collision Statistics.)

    2. During the Add and Edit Geometry Components step, on the Geometry sub-tab for each of your wall components, set what you want for Thermal Boundary Type and Temperature.

    3. During the Add and Edit Particle Sets step, on the Particle tab for the Particle set(s) you want affected by Thermal, ensure that on the Composition sub-tab for any particles you have you have selected Multiple Elements from the Composition list, that you also set the Conductivity Ratio parameter to the value you want.

    4. During the Modify Material Properties step, on the Materials tab for each of your particle and/or boundary materials, set all of the following parameters:

    5. During the Add and Edit Particle Inputs step, for each Particle Input, set the Temperature of each Particle set row. (See also About Adding and Editing Particle Inputs.)

    6. If coupling your simulation with CFD methods, then during the Set or Modify Fluid and/or Air Flow Properties step, set what you want for the Convective Heat Transfer Law. (See also About Using the 1-Way Fluent Method, About Using the 2-Way Fluent Method, or About Using the 1-Way Constant Method). Note: If coupling your simulation with the 1-Way Constant method specifically, ensure you also set the values you want for constant Temperature, Thermal Conductivity, and Specific Heat. (See also About Using the 1-Way Constant Method.)

  2. Process your simulation as you normally would. (See also About Starting a Simulation.)

TO ENABLE THERMAL MODELING IN SPH CALCULATIONS:

  1. Set up your simulation as you normally would (see also About SPH Parameters), ensuring all of the following:

    1. During the Set Simulation-Wide Parameters step, on the Physics tab, select the Enable Thermal checkbox. (See also About Physics Parameters.) The Cleary model for thermal transfer is automatically selected.

    2. During the Add and Edit Geometry Components step, on the Geometry sub-tab for each of your wall components, set what you want for Thermal Boundary Type and Temperature.

    3. If you simulation also involves DEM particles: During the Add and Edit Particle Sets step, on the Particle tab for the Particle set(s) you want affected by Thermal, ensure that on the Composition sub-tab for any particles you have you have selected Multiple Elements from the Composition list, that you also set the Conductivity Ratio parameter to the value you want.

    4. During the Modify Material Properties step, on the Materials tab set all of the following parameters for the fluid material:

      • Thermal Conductivity

      • Specific Heat

  2. Process your simulation as you normally would. (See also About Starting a Simulation.)


Tip:  When you are ready to analyze your simulation (see also Analyzing a Simulation), you might pay special attention to the following Properties (see also About Properties):


  • Temperature (for walls, conveyors, particles and fluids)

  • Specific Heat (only for fluids)

  • Thermal Conductivity (only for fluids)

See Also:

2.6.11. Add a Logo to a 3D View

A 3D View of your simulation will always contain the Rocky logo but you can choose to add your own company logo to the view, too. This may be useful in cases where you are showing simulation images or animations to clients and want to brand your work.

Figure 2.159: 3D View window with a Sample Logo added as an Image Overlay

3D View window with a Sample Logo added as an Image Overlay

You add a logo image by using the Overlay tab on the Window Editors panel. Logos are added as images and can be positioned anywhere on the 3D View window that you like.

TO ADD A LOGO TO A 3D VIEW:

  1. Using separate image editing software, open the logo file you want to use and ensure the display size is appropriate.

  2. Ensure your image is saved as either a PNG, JPG, BMP, or PNP file.

  3. Open the simulation project to which you want to add the logo and select the 3D View window you want.

  4. Using the Overlay tab on the Window Editors panel, add the logo to the 3D View as an Image Overlay. (See also Add or Edit an Image Overlay for a 3D View Window.)

See Also:

2.6.12. Reuse 3D View Window, Workspace, and User Process Setups in Other Projects

For projects where you have spent time and effort setting up several 3D View windows, Workspaces, and User Processes just the way you like, you can now export all of that setup criteria and reuse it in other projects. This is an alternative to recording or writing a script to do the setup for you, which requires you to know beforehand exactly how you want your views and processes to work. With this feature, you can decide after the fact whether you want to reuse the setup for another project or not.

This can be useful in cases where you have already run several similar simulations but your client suddenly wants to see new views or processes. By using this feature, you can set up the new views and processes in one project, and then apply those same views and processes to the rest of the projects in your set.

Rocky enables you to export this setup criteria to either a rocky_template file or to the clipboard, and even lists each component that was exported in a separate dialog (Figure 1) for confirmation purposes.

  Example dialog that appears after exporting project context

In your new project, you can then choose to import the saved criteria from those same two locations.

Once imported, Rocky simply creates new 3D View windows, Workspaces, and User Processes to match what was exported. If you already have 3D View windows and User Processes in your project at the time of Import, Rocky will retain these items while adding the new ones to the project.

TO EXPORT 3D VIEW WINDOW, WORKSPACE, AND USER PROCESS SETUPS FOR USE IN OTHER PROJECTS:

  1. Ensure that your 3D View windows, Workspaces, and User Processes are set up the way you want.

  2. From the File menu, point to Export project context and then do one of the following:

  • To ensure reuse of the project context for longer than just the immediate timeframe, select To file, and then do all of the following: a. From the Save project context dialog, select the location to which you want to save the rocky_template file, name it in the File name box, and then click Save. b. In the Finished exporting context dialog, review the items listed, and then click OK.

  • To reuse the project context for only the immediate timeframe, select To clipboard, and then in the Finished exporting context dialog, review the items listed, and then click OK.

    The 3D Window, Workspace, and User Process setups are ready to import into another project.

TO IMPORT 3D VIEW WINDOW, WORKSPACE, AND USER PROCESS SETUPS PREVIOUSLY EXPORTED OUT OF ANOTHER PROJECT

  1. Ensure the project that you want to apply the previously exported setups is open in Rocky.

  2. From the File menu, point to Import project context and then do one of the following:

  • To import from a previously exported file, select From file, and then from the Restore project context dialog, locate and select the rocky_template file you want to use, and then click Open.

  • To import from the clipboard, select From clipboard.

    The 3D Window, Workspace, and User Process setups you previously exported are added to the project.

See Also:

2.6.13. Set Up a New GPU Card

When setting up a new GPU card for use with Rocky, there are two steps you can take that might help make processing your simulations on GPU smoother and faster:

  • Turn off the Windows Timeout Detection and Recovery (TDR)

  • Enable double-precision processing

See below for specific instructions.

TURN OFF TIMEOUT DETECTION AND RECOVERY (TDR) FOR A GPU CARD

Application: This procedure is particularly useful when you have a single NVIDIA GPU card. But it can also be useful for any GPUs used by Rocky in general.

Symptom: Your Rocky simulations sporadically stop during the middle of a complex simulation, resulting in an incomplete calculation and an error (Figure 1). This is caused by Windows believing the GPU card is non-responsive because it is taking longer than expected to return an answer on a difficult calculation. Turning off TDR for your GPU allows the card the necessary time to execute the computation.

Figure 2.160: Error seen in Rocky when TDR causes the GPU to stop processing

Error seen in Rocky when TDR causes the GPU to stop processing

To turn off TDR for a GPU card:

  1. Ensure that you have successfully installed your GPU card and associated drivers, and have restarted your computer.

  2. Download and install the latest NVIDIA Nsight Visual Studio Edition from Nvidia.   Figure 2: Installation confirmation screen for Nsight Visual Studio Edition

    Notes:

    • As seen in Figure 2 above, you will need only to install the Nsight Monitor option; the Nsight Visual Studio option is not necessary.

    • You may need to Subscribe as a developer (free of charge) on the Nvidia website, if you haven't done it before, in order to download the Nsight Visual Studio Edition (Figure 3).

      Figure 3: Subscribe to Nvidia developer program

  3. Restart your computer.

  4. From the Windows Start menu, under NVIDIA Corporation, click Nsight Monitor (Figure 4).   Figure 4 Nsight Monitor in Windows Start menu A new Nsight Monitor icon appears in your Notification Area.

  5. From your Notification Area, right-click the Nsight Monitor icon and then select Options (Figure 5).   Figure 5: Nsight Monitor in Notification Area

  6. From the NVIDIA Nsight Options dialog, on the General tab, set WDDM TDR enabled to False (Figure 6).   Figure 6: NVIDIA Nsight Options dialog

  7. Click OK.

  8. Restart your computer.

ENABLE DOUBLE-PRECISION PROCESSING FOR YOUR GPU CARDS

Application: You have one or more GPU cards from the NVIDIA Titan family.

Symptom: You are seeing slower than expected results on your Titan family GPU card. This could be a result of not yet enabling double-precision processing. Doing so will speed up certain Rocky calculations, thereby reducing your overall processing time, at the expense of slowing down your graphics visualization performance. Additionally, it has been found that a Titan card using double precision will take longer when simulating Spheres (~20%), but will be faster when simulating shaped particles (~200%).

To enable double-precision processing for your GPU cards:

  1. Ensure that you have successfully installed your Titan card(s) and associated drivers, and have restarted your computer.

  2. Right-click your Windows desktop, and then click NVIDIA Control Panel (Figure 7).   Figure 7: Windows desktop right-click menu showing NVIDIA Control Panel option

  3. In the NVIDIA Control Panel window, do all of the following:

    1. From the Select a Task list, select Manage 3D settings.

    2. In the Global Settings tab under Feature, select Double precision and then from the drop-down list, ensure all your Titan GPU cards are enabled (checked) (Figure 8).   Figure 8: Manage 3D Settings section in the NVIDIA Control Panel

    3. Click OK.

  4. Restart your computer.

See Also: