is it possible to manually modify interaction forces using PyRunner?
Hi, all
I modeled a spring-mass system in yade, using the remote interaction function of JCFpmMat. But i want to change the value of the interaction forces during the simulation. So I put PyRunner before NewtonIntegrator in O.engines, in order to change the interaction forces before it was used for calculation. But it seems it doesn't work out as I expected. parts of my script are as follows.
#######
def changeForce():
for i in O.interactions:
O.engines=[
...
PyRunner(
NewtonInteg
]
#######
Thanks,
Zixuan Xu
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jérôme Duriez
- Solved:
- Last query:
- Last reply: