← Back to team overview

yade-users team mailing list archive

Re: [Question #295814]: MatchTracker for Cohesion

 

Question #295814 on Yade changed:
https://answers.launchpad.net/yade/+question/295814

Seti posted a new comment:
to be more specific. I need to use MatchMacker to assign different
cohesion value to two materials . would you please just have a look at
defined engine as per below. Thanks

O.engines=[
 ForceResetter(),
 InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Wall_Aabb()]),
   InteractionLoop([Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom(),Ig2_Wall_Sphere_L3Geom()],
   [Ip2_FrictMat_FrictMat_FrictPhys(),Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(normalCohesion=MatchMaker(matches=((mat1,mat2,50),(mat2,mat2,100))),shearCohesion=MatchMaker(matches=((mat1,mat2,5000),(mat2,mat2,80000))),label="cohesiveIp")],
   [Law2_ScGeom_FrictPhys_CundallStrack(),Law2_ScGeom6D_CohFrictPhys_CohesionMoment(
   label='cohesiveLaw')]

   ),
 #NewtonIntegrator(damping=0.4,gravity=(0,0,-9.81)),
        NewtonIntegrator(damping=0.4),
 PyRunner(command='checkUnbalanced()',realPeriod=2,label='checker'),
 PyRunner(command='addPlotData()',iterPeriod=100)
 ]

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