← Back to team overview

yade-users team mailing list archive

Re: [Question #703351]: Simulation of Dynamic compaction

 

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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Sirasak,

As Jan said you should try to explain better how you imagine your code
should work.

Your code is a little bit messy, but I will focus only on major issues:

- You can pass sphere properties when the sphere pack is added to the simulation by the sp.toSimulation() command. You can follow the first couple of lines of this example [2]
- Since your 'soil' particles are relatively soft (default young=1.0MPa), so the computed timestep is big. After you add stiff, steel elements, you should change the timestep again. Otherwise, your simulation becomes unstable, and bodies 'disappear'.
- You add PyRunner with the 'compaction()' command twice. First time when setting up the simulation. Secondly, when 'checkUnbalanced()' changes to the 'compaction()' . Also, are you sure you want to add weights all the time? Or rather move the same weight up, and then drop again.

Cheers,
Karol

[2] https://yade-dem.org/doc/tutorial-short-course-fluids.html

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