🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Help on EDEM API Accessing Meta-Particle Length

User: "Jianan"
Altair Community Member
Updated by Jianan

I have been working on developing an API to export the meta-particle length to a local file before removing each meta-particle from the computing domain. While I’m able to access the radius for each single particle, I have difficulty in obtaining the meta-particle length in API. Can anyone please show me how to access the properties of meta-particle in API?

By the way, the API I’m developing is based on the API example from Knowledge Base (Script & Model Library - EDEM API - Contact Model Example: Removing Particles (Altair Knowledge Article View - Altair Community)). 

Thank you!

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Stephen Cole"
    Altair Employee
    Accepted Answer
    Updated by Stephen Cole

    Hi Jianan,

     

    'Meta Particles' don't exist within the API unfortunately, they are essentially created via the factory but there isn't any data stored about them to be able to access this in the API.

     

    You have access to the contacts and custom contacts.  The custom contact 'bond status' is a value assigned per particle contact to determine if the two particles are bonded (status 0 = no bonds, status 1 = bonds, status 2 = broken bonds).  This is still difficult to get the meta particle data as you only have the info about contact pairs not the whole meta particle structure.  To get this you may have to update your own custom bond model to provide more data, the product team is looking into creating more structure around the meta particles for future releases however this isn't available now.

    We have an API version of the bond model here - Bond Model

    Regards

    Stephen