algorithmic modeling for Rhino
Is it possible to visualize wind vectors in GH? Im curious if kangaroo could give some visual or even better computational feedback on the effects of wind acting on a building form or panel.
I did see this example which is pretty cool but it would be great to get some local feedback from GH or build logic that responds to it.
Tags:
Unfortunately the way the wind force currently works in Kangaroo is one-way only.
So you can create a wind vector field which can affect a mesh, but the mesh does not affect the wind back.
I'd love to incorporate some fluid dynamics, but it's not trivial stuff, and not something I see myself tackling on my own any time soon.
I'd be very happy if someone developing a 3D fluid solver does want to work together to make this happen though.
Maybe it would even be possible to set up a feedback loop between Geco and Kangaroo via HoopSnake...
Thanks for the Reply Daniel, I was looking at your wind example and notice just what you described. Maybe if ecotect has a fluid dynamics plug in you could bring that data in via Geco. It would be pretty cool seeing all these plugins that are plugins for plugins talk to each other...
Hey Daniel,
Anyone take you up on that offer of developing a 3D fluid solver? Or have you heard of any other development in that area for GH?
Hmm. I'm not so familiar with mesh free techniques, but those videos are appealing. To be honest (or at least more specific) about my intentions, I'm more interested in implementing a meshing tool for unstructured grids with a PDE solver for heat transfer. So for me, Smooth Particle Hydrodynamics isn't so applicable as it isn't actually "fluid", per se, that I'm interested in. Of course a PDE solver for Navier-Stokes could be used for a lot of great things...
On the other hand, the great thing about their SPH model is that it looks like it can integrate very nicely with solids and rigid body physics as you said.
I think an unstructured mesh generation tool could be great (and not just for fluids).
When I was looking at dynamic remeshing, I found a few interesting examples in CFD
(http://www.youtube.com/watch?v=JabyDtAn6pg).
Are you thinking 2D or 3D, and triangles or quads / tetrahedra or hexahedra ?
3d would be ideal, obviously, but for my own sanity and as a first step, I'd probably try to tackle the 2d realm with a hybrid quad/tri (for a well behaved mesh close to boundaries). So an advancing layer of quads, followed by triangulation.
Although hybrid situations can be tricky to make general (also, I'd guess, slower: problematic for dynamic remeshing). Maybe voronoi discretization with some adjustment to assure it is as orthogonal and regular as possible near boundaries.
Thoughts?
For incremental remeshing approaches I've only ever seen quad-dominant meshes generated rather than all quads.
Check out "An Incremental Approach to Feature Aligned Quad Dominant Remeshing"
and also "Quad-Dominant Mesh Adaptation Using
Specialized Simplicial Optimization"
Eppstein and Bern also have a nice relatively simple approach based on circle packing : http://arxiv.org/pdf/cs/9908016v1.pdf
I'd be interested in working on this.
A while ago, I wrote a basic SPH simulation for Unity (but the code would port pretty easily) that incorporates the non-linear stress tensor, constraint functions, and the various smoothing functions. *DISCLAIMER* It is not even remotely close to the current state of the art, but it is a start...here it is.
I think one of the biggest technical challenges would be the scale of a realtime simulation. GH is not that fast - and even with fancy neighbour searches there is still a fair bit of calculation to do. Maybe applying the recent remeshing techniques to 3d....?
If there is any interest, I'd be happy to start a Git project.
Nice!
What language do you use for scripting Unity ? I see C# JavaScript and Python are options. Do you solve the constraint functions using projected Gauss-Seidel or something else ? Are you making use of any solver libraries ?
and I agree - Remeshing in 3D could be very interesting as an alternative way of maintaining proximity information through just iterative local updates.
Team Daniel + Daniel!!!
This sounds interesting. I wish I had a brain more inclined towards these higher level maths so that I could help. Looking forward to your collaboration on this.
Hi, first post here..
So i built this model of a surf kite. It's all spring elements, set to work in tension only and not in compression as you'd expect from a fabric. Pretty stoked with Kangaroo, solves about 4000 elements in 1/10th real time on a 3yr old laptop..
Next step is to validate some elements and have an improved aerodynamic model. I used the standard wind mesh for the current model, but don't think it will suffice for what i want to do (flying the kite around on long lines).
I've been reading about aero-elastic solutions in this discussion, but i might want to take a simpler approach. This would be to take the original kite shape and define a number of chords and their initial airfoil shape. Then use this initial shape for calculating the aero forces during flight, depending on the (local) apparent wind speed and angle of attack. Of course the airfoil shape distorts during flight but basically you ignore this (but only take the airfoil start and end point as a reference).
You could use either a vortex lattice method or an analytic approach, like a CL/alpha slope. (This would require a feedback loop).
Does this make sense? I'm a pretty bad programmer so hope it will work. Anyways great tool!
Roland
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by