Simulation of Dynamic compaction
Hi i try to simulate the dynamic compaction by dropping the weight to the footing. and the current code are:
from yade import pack,plot
'''pred=
sp=pack.
## 1.create boundaries and the packs.
O.bodies.
sp = pack.SpherePack()
pred=pack.
sp=pack.
sp.toSimulation()
idSteel=
Steel=O.
calm()
O.engines=
InsertionSo
Interaction
# handle sphere+sphere and facet+sphere collisions
,NewtonInte
PyRunner(
VTKRecorder
PyRunner(
PyRunner(
]
def addPlotData():
'''Dz=
Fz=O.
plot.
## 2.lets the pack settle and drop the footing
def checkUnbalanced():
# at the very start, unbalanced force can be low as there is only few contacts, but it does not mean the packing is stable
if O.iter < 5000:
return
# the rest will be run only if unbalanced is < .1 (stabilized packing)
if unbalancedForce() > .1:
return
footing=
checker.command = 'compaction()'
## 3.dropping the wegiht from a height.
def compaction():
weight=
##checker.command = 'compaction()'
O.dt=0.
O.run()
O.saveTmp()
I have some questions.
1. At step#1 for create packing is it possible to assign the material properties to the particle in side the pack and how can i apply the particle size distribution.
2. At step #2 after the gravity deposit is finished i try to add 'footing(clump)' to the system and after that i try to drop the 'weight(clump) at the specific height. The 3D animation shows after the weight is drops the footing and weight is bounce off and dissapeard. Could you suggest better method to do this simulation or did i miss something in the engine. I try to drop the weight at every 2 second while the footing still remain at the top of the pack.
Im am very new with YADE dem and try to follow the explamples in the website and try to read the manual.
Thank you very much
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Karol Brzezinski
- Solved:
- Last query:
- Last reply: