Polyhedral Particle Contact Information

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Polyhedral Particle Contact Information

hboler
Is it possible to establish a sensor to determine particle contact information (i.e., which particles are in contact with what particles as determined by collision detection) in any of the timestep queried?

Also, is there an output file extension that we can read the locations of the vertices of the polyhedral particles using a simple text pad application?
Reply | Threaded
Open this post in threaded view
|

Re: Polyhedral Particle Contact Information

Damien André
Administrator
ouch, yes it is possible but it is not easy.

The "most" simple is probably to make your own contact callback and implement what you want in this callback. You can take a look into the Tool/DDCooker program. It uses custom contact callback.

Cheers, Damien
Reply | Threaded
Open this post in threaded view
|

Re: Polyhedral Particle Contact Information

hboler
Well let me ask this then.

Is it possible to read the coordination number?
Reply | Threaded
Open this post in threaded view
|

Re: Polyhedral Particle Contact Information

Damien André
Administrator
Yes, you can use the "BuildContactBond" option of the MANAGE-COLLISION plugin. It allows to treat each contact as persistant bond. Note that this option impacts dramatically the performances.

Kind regards, Damien
Reply | Threaded
Open this post in threaded view
|

Re: Polyhedral Particle Contact Information

hboler
Thanks for your response.

I am trying to implement the BuildContactBond option. However, I still could not figure out how I could read the Coordination Number.  

I guess what I am trying to ask is where can I read the Coordination Number or number of contacts/bonds created?

Best
Reply | Threaded
Open this post in threaded view
|

Re: Polyhedral Particle Contact Information

Damien André
Administrator
Hi, you must use the 'get_bond_number()' method of the 'DEM::Element' class.

See the doc

Cheers, Damien
Reply | Threaded
Open this post in threaded view
|

Re: Polyhedral Particle Contact Information

hboler
In reply to this post by Damien André
I am still trying to figure this thing out. I cannot find any "BuildContactBond" option for the ManageCollision Plugin. I checked the C++ code as well as the document. Could you give an example for implementing this option?

Best,