← Back to team overview

yade-users team mailing list archive

Re: [Question #175606]: How does "particleSD_2d" work ...???

 

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

    Status: Answered => Open

jessica sjah is still having a problem:
Hi,

Thank you for all of your information... I've also seen post #174453
:)...

I have another question.

How could I apply different gravity to the spheres in one generated box?

I want to make a sample for modelling hole erosion test, so I want to make a sample made of spheres with a hole in the middle of the sample... 
In my mind, I can make it by applying different sign for gravity along direction z (based on their position or id) when I generate the spheres and then stabilize them. Have anyone any idea to realize it in O.engines?

O.engines=[
   ForceResetter(),
   InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
   InteractionLoop(
      # handle sphere+sphere and facet+sphere collisions
      [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()],
      [Ip2_FrictMat_FrictMat_FrictPhys()],
      [Law2_L3Geom_FrictPhys_ElPerfPl()]
   ),
   GravityEngine(gravity=(0,0,-9.81)),
   NewtonIntegrator(damping=0.4),
]

Thank you very much for your answers :)... have a good day.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.