I am new to kangaroo and just wondering if I am doing anything wrong. A “simple” definition takes a long time to process ?
Also is there any way to have a time constraint for calculation and not just on/off?
Sometimes it is impossible to disable the process and I have to force quiet Rhino.
Your definition runs fine when I test it - around 20ms between output updates from Kangaroo.
What speed are you getting?
Perhaps the problem is with the data recorder component - if you don’t click the X between runs to destroy recorded data you could be building up millions of points for each polyline.
Thank you for your reply. Yes it looks like I am getting about 23ms as well. But It just looks slow ))
While it is running I can’t really rotate Rhino viewport and there is a huge delay between when I double click on a boolean toggle, to switch it off.
So it is iterating quickly, just the movements at each step are small.
The size of the steps is affected by the ratio of the strengths of the goals.
In this file the strength of the OnMesh goal is extremely high relative to the gravity on the particles.
If you increase the value in the Z component things will move faster.
Kangaroo is multi-threaded, so should use multiple cores.
It shouldn’t be freezing Rhino, especially not on a simulation of this size.
Try disconnecting the recorder component (and turn on the visibility of the Solver so you can see the points) to see if it is the recording that is causing problems.
Thank you Daniel. It works. The delay of the on/off switch I would assume is a limitation of Grasshopper and my system ?
What would be a good solution to limit the simulation to a specific timeframe?
Here’s the speed I get on my desktop with 3k particles:
(this is on an i7 4790k, so decent but not crazy powerful)
Another option to control how the simulation runs is to use one of the other solver components such as the StepSolver, with a slider connected, then it only updates when the slider is moved… or the Zombie solver, which calculated many iterations and only outputs the end result (though if you want to trace the paths of the particles down the slopes this one is probably less useful).
Unfortunately it is still very slow. I think it is Grasshopper/Mac problem ?!
It looks like Kangaroo works fine, but Rhino Viewport and Grasshopper space not active while simulation is running.
I am testing it on Mac Book pro 2017 2.9 GHz Intel Core i7
Hi Daniel,
I tried the definition with different mesh and on a different iMac 2012, 3.4 GHz Intel Core i7.
Simulation works fine if I reduce the OnMesh strength parameter, but Rhino viewport and Grasshopper are not responsive while simulation is running.
I also have a technical question regarding the actual approach.
Is using Kangaroo a correct approach to see drainage paths on a site? It looks realistic, but some areas looks strange ?
I experience the same problem. Even very simple simulation in kangaroo works very slow, e.g. Basic wind on mesh simulation takes 30.9 second with zombi solver.
Here you have a system which does not converge (the flag keeps flapping in the wind, like in the real world), so it just keeps iterating until reaching the max iterations limit.
So this system is not suitable for the zombie solver.
Hi @DanielPiker,
Sorry to bother again, but have you been able to look at Mac simulation speeds?
I still have same problems, not able to rotate Rhino viewport.
Maybe it is a Rhino Mac problem ? @dan