blockedDOFs
Hi, there.
I am trying to create three layers and see any particle movements for the second and top layers. For this, I need to let the bottom layer not be subject to any forces (just fixed). I am trying to use 'blockedDOFS = 'xyzXYZ', but I got an error like this:
AttributeError: 'tuple' object has no attribute 'state'
Is there anyone who can resolve this error? I attach my simple code below!
import math
Density=3000
Young=3.3e7
poisson=0.3
c_r = 0.15
s_fc = 0.5
r_fc = 0.3
frictionAngle=
sphereColor = (.8,.8,0.)#dirty yellow
## Import particles
grains = FrictMat(
Mat=O.materials
#create assembly of spheres
from yade import pack
sp=pack.
sp.makeCloud(
sp.toSimulation
for b in sp:
b.state.
## Engines
O.engines=[
ForceResett
InsertionSo
Interaction
),
NewtonInteg
]
## time step
O.dt=1.0e-5
## GUI
from yade import qt
qt.View()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Chareyre
- Solved:
- Last query:
- Last reply: