THIS FORUM IS NO LONGER ACTIVE. PLEASE POST ANY NEW QUESTIONS OR DISCUSSION ON:
https://discourse.mcneel.com/c/grasshopper/kangaroo
The discussions here are preserved for reference, but new questions posted here are likely to go unanswered.
Kangaroo is a Live Physics engine for interactive simulation, optimization and form-finding directly within Grasshopper.
Hello All,
I am trying to simulate the shingle facade of the Latvia Pavilion from the Shanghai Expo as an exercise in Kangaroo. I have done something similar in Maya, but thought I would give Kangaroo a go.
I have messed around a bit and got something that seems to be going in the right direction. This is more of a curiosity, but wanted to know if there would be a better way to approach it. I was thinking of solving this twice, first exert the "wind" force, solve, then use the output to exert the "gravity" force.
This is a super simple try, just using a point to describe the wind source...obviously an approximation. Any suggestions would be appreciated.
Daniel Piker
From what I can see in that video it looks to me like the shingles themselves have a very simple action (they are blown up by wind and fall back down with gravity), and really all the interesting part of the effect comes from the variations in airflow across the surface.
Maybe you could look at getting a vector field for the wind in from some CFD program, then you could have each flap be affected by the closest vector. Of course you really need a time varying vector field, which is trickier. You could perhaps import a static solution and add random time variation (though this should probably be somehow weighted more heavily in more turbulent regions).
I have been thinking to add a very simple wind force (similar to how pressure works now, but just projecting a wind vector onto the normal of the triangle and multiplying by the area). This wouldn't take care of what the wind vector should be, but it should allow things like flapping flags.
If I had a few months(maybe years) to dedicate purely to it I'd love to have a go at implementing actual real-time 3d fluids in Kangaroo, but I doubt that's ever going to happen!
Jan 28, 2011
Giulio Piacentino
Perlin noise is often used to give the effect of smooth but random variations in wind.
Maybe you could try using a Perlin-noise-based vector field?
- Giulio
_____________
giulio@mcneel.com
McNeel Europe, Barcelona
Jan 28, 2011