Why am I not able to see any translatory motion?
I have constructed a geometry in which a cylinder is inserted in an box(surrounded by walls leaving the top open) and I am applying downward force on the cylinder. But I am not able to see any motion or displacement of the particles.
Here's my code:
o = Omega()
def createStoneColu
cylpred = pack.inCylinder
packing = pack.randomDens
return O.bodies.
def createSandBox(
boxpred = pack.inAlignedB
packing = pack.randomDens
return O.bodies.
idBox = createSandBox(
idStone = createStoneColu
center = (1,0.5,0.5)
extents = (1,0.5,0.5)
wMask = 55
co = (0,0,1)
mWalls = O.materials.
idBoxWalls = O.bodies.
print len(O.bodies)
o.engines = [
ForceResetter(),
InsertionSort
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegra
TranslationEn
CombinedKinem
ServoPIDCon
RotationEng
PyRunner(
]
O.step()
def switchTranslati
print "Switch from TranslationEngine engine to ServoPIDController"
translat.dead = True
combEngine.dead = False
Please help!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: