confused about ForceEngine
Hi everybody,
I'm using Ubuntu 10.10 and bzr2811.
1) I just try to model a sphere subjected to gravity forces with this:
"O.bodies.append([
utils.
])
from yade import pack, plot
# create rectangular box from facets
O.bodies.
O.engines=[
ForceResett
InsertionSo
Interaction
),
GravityEngi
NewtonInteg
]
O.dt=.5*
It's working good until the iteration 300000 (almost) when the sphere moved in the x and y directions. The sphere fell down good in only one direction,z, but after it moves. Do you understand why ? 'cause no force was specified before in the x,y directions; it's just supposed to move depending on z direction, isn't it?
2) I try the same, but I just want to apply a z-axis force on the sphere, in order to model a kind of pull-out test later. That's why I'm using ForceEngine, and I tried a lot of different things with it but I never succeeded, what's not good with mine:
"O.bodies.append([
utils.
])
from yade import pack, plot
# create rectangular box from facets
O.bodies.
O.engines=[
ForceResett
InsertionSo
Interaction
),
ForceEngine
GravityEngi
NewtonInteg
]
O.dt=.5*
I only understood that ForceEngine has to be before NewtonIntegrator, and when I compile it, it's written :
"AttributeError Traceback (most recent call last)
/home/arthur/
8
9
---> 10
11
12
AttributeError: No such attribute: subscribedBodies.".
I just want to apply a force in a sphere but I don't know how to do.
Thanks !
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: