TAGGED: missing, post-processing, python, rocky-dem
-
-
March 18, 2025 at 8:50 am
oroma
SubscriberHey, I am new to Ansys Rocky, I have been working on some simulations with just solid particles in 2024R2 locally. However, then I moved to a remote cluster to make use of more computational power, and there only 2025R1.1 was installed, so I ran with that.
My issue comes in postprocessing, I bring the simulation results back to my machine and work locally. I originally tried to process the results from the cluster's 2025R1.1 with my local 2024R2, but noticed one variable I was interested in ("Particle Solid Volume") was missing, I then fixed that by installing 2025R1.0 locally (note: I cannot find 2025R1.1) and loading my results there, now I can see "Particle Solid Volume" in my local machine. However, now I am trying to process these results using PyRocky, and I have the same issue of not finding "Particle Solid Volume" despite using 2025R1. Below is a simple bit of code I am running to get this:
rocky = pyrocky.launch_rocky(rocky_exe="C:\\Program Files\\ANSYS Inc\\v251\\rocky\\bin\\Rocky.exe")project = rocky.api.OpenProject(filename)processes = project.GetUserProcessCollection()study = project.GetStudy()particles = study.GetParticles()Vs = particles.GetGridFunction("Particle Solid Volume")Where the last line hits me with a ValueError being unable to find the property I ask for (even though I can see it when loading the same results in Rocky via GUI.Has anyone experienced a similar issue? Or have ideas of how to get around this?Edit: I am also sure the naming is correct, and that the variable should exist. I know, because I ran the same python script on a simplified version of the case which I fully simulated locally and "Particle Solid Volume" was succesfully retrieved.
-
- You must be logged in to reply to this topic.
- How do I get my hands on Ansys Rocky DEM
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Script Error Ansys
- Errors with multi-connected bodies using AQWA
-
2607
-
938
-
812
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.