timestep
In the name of god
Hi Every one. when i need to rotate a group of facet by rotation engine i set rotation angle to desired one and O.dt=1 and run just one step
to follow this all the time the default engine called 'globaltimestepper' change the dt and hence cases problems.
I delete this engine and now i can easily rotate the group of facets by one step to desired rotation angle. this is the code:
###
from yade import ymport
fctIds= O.bodies.
O.engines=
O.engines+
O.dt=1
O.run(2)
###
(from this MWE i have a question. if i run the simulation just one step nothing happens. why?!)
when i add some sphere to my simulation and then engines, everything goes wrong and there is no rotation as expected. and there is no rotation. this is the code;
##
from numpy.linalg import norm
import numpy as np
#mat=O.
id_Mat=
walls=O.
## Import wall's geometry
from yade import ymport
fctIds= O.bodies.
O.engines=
O.engines+
O.dt=1
O.run(2)
sp=pack.
sp.makeCloud(
particles=
### Timestep
O.dt=.0002
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
DomainLimiter(
]
##
Any 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: