The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Can the EDEM obtain all the particles in contact with a particle (those with overlapping contact radii) at one certain time step?
Hi Alvin,
It's possible to do that using EDEMpy. To get the ids of the particles in contact you can use the getIds function. It would look something like this:
timestep = deck.timestep[tstep] pp_contacts = timestep.contact.surfSurf pp_contacts_ids = pp_contacts.getIds()
This returns a list (num_contacts x 2) with the ids of the particles in contact. Then you can use that list to find the particles that are in contact with the particle you're interested in.
Best regards,Renan
Thank you for responding! As far as I know, EDEMpy is used for EDEM data post-processing, and these data are not necessary for post-processing in my case. Instead, when calling the APIs to calculate the particle volume force or contact force during the simulation, I need to acquire the IDs of all particles in contact with the particle. Is it possible to achieve this?
When a contact model is called it doesn't have any information about other contacts. What you could do is create a particle custom property and store the ids of the particles that are in contact with it in that custom property. The downside with this approach is that you'd only know the ids of the previous timestep, so your calculations would be "delayed" by one timestep.
Best regards,
Renan
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…