← Back to team overview

yade-users team mailing list archive

Re: [Question #697089]: facets erase time

 

Question #697089 on Yade changed:
https://answers.launchpad.net/yade/+question/697089

    Status: Open => Needs information

Karol Brzezinski requested more information:
Hi,


I just wanted to comment a little bit about the code. It may be useful, however, not necessarily solving the problem:
- it is rare to run PyRunner for every iteration. 
- there is no reason to call the function 'checkUnbalanced()' since it doesn't check unbalanced force,
- in the current version of the code, you can easily get rid of the PyRunner, since you want to run part of the code only once. Instead of the PyRunner run the simulation for 15 000 iterations, run extra code, and run again.

O.run(15000, wait=True)
  for f in cylinderFacetsIds:
    O.bodies.erase(f)
O.run()


One more thing. Do you have preview turned on during this process? It may be the culprit. 

Best wishes, 
Karol

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.