weymouth / lily-pad

Real-time two-dimensional fluid dynamics simulations in Processing. Initiated by Dr G D Weymouth:
https://github.com/weymouth/
MIT License
161 stars 78 forks source link

Importing Custom Shapes from CAD #19

Closed ThreePointSquare closed 8 months ago

ThreePointSquare commented 2 years ago

Is there a way to import custom shapes from a CAD platform? I was wanting to utilize grasshopper in rhino to run some optimizations on forms for architecture. I can most definitely read and stream data from the program looking at the audry test example. I was hoping to run a loop over a form or set of forms to focus wind flow. Old research, ongoing pet project now.

ThreePointSquare commented 2 years ago

https://www.researchgate.net/publication/349088301_PRINCIPLES_AND_DESIGN_GUIDELINES_FOR_BUILDING_INTEGRATED_WIND_POWER_RECOMMENDATIONS_LEADING_TOWARDS_A_SELF-POWERED_BUILT_ENVIRONMENT

weymouth commented 2 years ago

The underlying data structure defining geometries is just an array of points - so anything that you can translate into that format will work.

Gabriel D Weymouth


"Computers are useless. They can only give you answers." Pablo Picasso

On Tue, Oct 5, 2021 at 8:11 AM ThreePointSquare @.***> wrote:

https://www.researchgate.net/publication/349088301_PRINCIPLES_AND_DESIGN_GUIDELINES_FOR_BUILDING_INTEGRATED_WIND_POWER_RECOMMENDATIONS_LEADING_TOWARDS_A_SELF-POWERED_BUILT_ENVIRONMENT

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/weymouth/lily-pad/issues/19#issuecomment-934130460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSKJ6RQSZ6HCO5MPXP5XTUFKQKXANCNFSM5FLBNFYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ThreePointSquare commented 2 years ago

That's great to hear. Actually that makes a ton of sense now. And preferably fits well with gridding in the pipeline. Im traveling now but will have more questions in the coming weeks!thanks for being responsive truly appreciate it.

LongWeiZJU commented 11 months ago

It seems that we need to specify ma in definition of an arbitrary shape body class. Then how to set ma for a polygon?