about growParticle()
I try to change the particle's radius in simulation.and I write code like this:
-------
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies[
O.bodies[
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
NewtonIntegr
PyRunner(
]
O.dt=0.
Ql=[]
globals(
Ql=Ql+[
def pengzhang():
for i in Ql:
globals(
O.run(202)
-------
When simulation is completed, the particle's radius does not change.
but if I change pengzhang() like this:
-------
def pengzhang():
growParti
-------
the particle's radius changes.
Can you give me suggestion?
I need to use---
for i in Ql:
-------
Thanks very much!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply: