← Back to team overview

yade-users team mailing list archive

[Question #677006]: different type of interactions

 

New question #677006 on Yade:
https://answers.launchpad.net/yade/+question/677006

Hi everyone :

I am trying  simulation of particle breakage in a triaxial test by using CohFrictMat. The contacts in a same agglomerate is CohFrictPhys, the contacts of different agglomerates is FrictPhys. It is very similar to the example below:

https://github.com/yade/trunk/blob/0c6848e8bf5fc21c5b81ced7e7358cf67ebe2f5b/examples/agglomerate/simulation.py

My question is : 
after the following code, does the contacts between different agglomerates become FrictPhys?
for i in O.interactions:
	b1,b2 = [O.bodies[ii] for ii in (i.id1,i.id2)]
	if b1.agglomerate != b2.agglomerate:
		O.interactions.erase(i.id1,i.id2)
O.step()


-- 
You received this question notification because your team yade-users is
an answer contact for Yade.