← Back to team overview

yade-users team mailing list archive

Re: [Question #230299]: Sleeper on ballast layer

 

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

    Status: Open => Solved

daalgi confirmed that the question is solved:
I figured it out! In case anyone needs it sometime, I explain it.

I used a box to model the sleeper, which allows the behavior as a
dynamic body (dynamic=True,fixed=False), and spheres to model the
ballast.

Then I just changed the default InteractionLoop to another one that
allows the interaction between boxes and spheres. Here is the code:

O.engines=[
     ...
     InteractionLoop(
          [Ig2_Sphere_Sphere_ScGeom(),
               Ig2_Box_Sphere_ScGeom()],
          [Ip2_FrictMat_FrictMat_FrictPhys()],
          [Law2_ScGeom_FrictPhys_CundallStrack()]
     )
     ...
]

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