TAGGED: export-data, rocky-dem
-
-
February 2, 2024 at 10:36 am
H Zhou
SubscriberHi,
I’m seeking help exporting simulation data from Rocky. I have simulation results for particles moving inside a box-like boundary. The default display from Rocky is not very clear for the contact frequency between the particle and the boundary distribution. I want a better display or a more scientific way of showing the result. How can I export the accumulated frequency from Rocky results?
I opted for the Frequency in the Boundary Collision Module. Then displayed the sum of Frequency in the 3D view. The frequency at the corner is not properly displayed.Â
Thank you in advance
H.
Â
-
February 6, 2024 at 6:12 pm
Lucas Bertollo Baggio
Ansys EmployeeÂ
Hello Zhou,
Assuming that what is shown on the screenshot is your boundary, it seems like the procedure you are following is right, but something with your geometry seems to be wrong for the contacts computation, or there is something preventing particles to collide with the corners.Â
Consider checking your geometry triangles in Data Editors | Wall | Transform | Triangle Size and check in the 3D View if the particles are really getting in contact with the walls.
Feel free to continue this conversation right here, so we can find the best outcome for your case.
Â
Best regards,Â
Lucas
Â
-
February 8, 2024 at 12:35 pm
H Zhou
SubscriberHi Lucas,
Thank you very much for your reply. I changed the triangle size to a smaller dimension and believe I have the right result this time as shown below. The coloured image itself is not very clear of showing the frequency. I'm wondering if there's a way of exporting the frequency with the geometrical coordinates so I can process this data with other drawing methods.
Regards,
Zhou
Â
-
-
February 8, 2024 at 8:44 pm
Lucas Bertollo Baggio
Ansys EmployeeHi again Zhou, it's nice to see that you could fix your simulation issues! :)
In order to export your contact coordinates, you might need to make use of Rocky PrePost:API, that you can get more information about by clicking on Help | Manuals | API:PrePost Manual in Rocky's menu. Thus, you will be able to get and export every contact coordinate through python.
You can also contact our Support Team for specific directions in this case.Â
Â
Best regards,Â
Lucas
Â
-
February 9, 2024 at 10:47 am
H Zhou
SubscriberHi Lucas,
Thank you for pointing me to the PrePost direction. I will try to figure this out.
Regards,
Zhou
-
February 14, 2024 at 2:33 pm
Lucas Bertollo Baggio
Ansys EmployeeÂ
Â
Hey Zhou,Â
Â
In order to facilitate your access to manual information, I will try to give you more specific direction here.Â
To set up and post-process your project using the API, learn about these sections:Â
Â
Then, to access your contacts&coordinates data, you may use the following section:
Â
And you can access these grid functions (contacts coordinates):
Â
by using .GetGridFunction(‘Property Name’):
Â
FOR EXAMPLE:
contacts = study.GetContactData()
contacts_x = contacts.GetGridFunction('Contact X-Coordinate')Â
So you can export the data you got to a .csv with python tools.Â
Â
Â
Â
Best regards,
Lucas
Â
Â
-
February 14, 2024 at 5:57 pm
H Zhou
SubscriberHi Lucas,
Thank you for the detailed instructions. I will give it a try and post the result later.
Zhou
-
-
-
- The topic ‘Export frequency data from Rocky DEM simulation’ is closed to new replies.
- At least one body has been found to have only 1 element in at least 2 directions
- Script Error Code:800a000d
- Element has excessive thickness change, distortion, is turning inside out
- Elastic limit load, Elastic-plastic limit load
- Image to file in Mechanical is bugged and does not show text
- Help to do quasistatic analysis in static structural module
-
1937
-
839
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.