← Back to team overview

yade-users team mailing list archive

Re: Particles passing through facets

 

> O.engines=[
>         ForceResetter(),
>         BoundDispatcher([Bo1_Sphere_Aabb(aabbEnlargeFactor=intradius)]),
>         InsertionSortCollider(),
>         InteractionDispatchers(
>                 [Ig2_Sphere_Sphere_Dem3DofGeom()],
>                 [Ip2_FrictMat_FrictMat_FrictPhys()],
>                 [Law2_Dem3DofGeom_FrictPhys_Basic()], #include Law2?
>         ),
>         GravityEngine(gravity=(0,0,-1e4)),
>         NewtonIntegrator(damping=dampingmag),
>         PeriodicPythonRunner(iterPeriod=3,command='addPlotData()'),
>         PeriodicPythonRunner(iterPeriod=3,command='writedata()'), 
>         VTKRecorder(iterPeriod=100,recorders=['spheres','facets','colors'],fileName='/home/kenmendoza/yade_results/vtu/p1')
> ]

Now, honestly, did you read the introduction in the docs? ;-)

You did not define anything that handles facet+sphere interactions, i.e.
approximate and exact collision detection. Therefore, you need:

BoundDispatcher([Bo1_Sphere_Aabb(...),Bo1_Facet_Aabb()]),
...
InteractionDispatchers(
	[Ig2_Sphere_Sphere_Dem3DofGeom(),Ig2_Facet_Sphere_Dem3DofGeom()],
	...
)
...

I guess you get the idea, right?

HTH, v.





Follow ups

References