Why do the particles go up when all the forces(including gravity) are applied in the downward direction?
I have constructed a rectangular box of particles with walls surrounding it and opened at the top. I applied some downward force on a facetCylinder with wallMask=2(i.e a circular plate) kept on the top of the box. When the facetCylinder reaches the bottom of the box, all the particles in the box move up and come out of the box. Here's my code:
from yade import pack
from yade import ymport
def createSandBox(
boxpred = pack.inAlignedB
packing = pack.randomDens
return O.bodies.
idBox = createSandBox(
mWalls = O.materials.
idBoxWalls = O.bodies.
idCylWalls = O.bodies.
o.engines = [
ForceResetter(),
InsertionSort
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegra
TranslationEn
CombinedKinem
ServoPIDCon
RotationEng
#PyRunner(
PyRunner(
]
O.step()
qt.View()
def switchTranslati
print "\nSwitch from TranslationEngine engine to ServoPIDController"
translat.dead = True
combEngine.dead = False
I want the particles to only redistribute. And the ones at the top to move up by some distance.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Hashir Ahmad for more information if necessary.