TAGGED: #fluent-#cfd-#ansys, rocky-dem
-
-
November 28, 2024 at 11:25 am
mkhademi
SubscriberHi everyone,
I am running a one way coupling Fluent-Rocky. The data is recorded in Rocky every 0.02s. I need to calculate flux of particles into a small control volume inside the solution domain. For this, I need to calculate number of particles entering and exiting through the six sides of the cubic control volume. I need to give an ID for the particles and at each time step know the (x,y,z) coordinates of that particle. How can I do this? Thank you in advance.Â
-
November 28, 2024 at 6:40 pm
Lucas Bertollo Baggio
Ansys EmployeeHello,
You can use prepost scripting to get an array with the coordinates of every particle in each timestep. For example:
project = app.GetProject()
study = project.GetStudy()
particles = study.GetParticles()
particles_coordinates_X = particles.GetGridFunction('Coordinate : X')
particles_X_timestep_1 = particles_coordinates_timestep_1.GetArray(time_step=1)
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors
-
3882
-
1414
-
1241
-
1118
-
1015
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.