# Butterfly wind analysis for built environment

**URL:** <https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839>\
**Category:** butterfly\
**Created:** [August 31, 2020, 3:37pm UTC](https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839 "2020-08-31T15:37:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoganchan](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/h/c89c15/32.png) [@hoganchan](https://discourse.ladybug.tools/u/hoganchan)\
**Post date:** [August 31, 2020, 3:37pm UTC](https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839/1 "2020-08-31T15:37:18Z")

</div>

Hi,

I tried to conduct wind analysis for an area with about 100 buildings (average 20m height), but the meshing seems failed. There are my questions:

1. Is that possible to run the wind analysis for around 100 buildings?
2. Is there any possible way to reduce the time for meshing the model?

Best regards,  
HC

---

<div class="post-metadata">

**Author:** ![ZhengrongTao](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/zhengrongtao/32/31521_2.png) [@ZhengrongTao](https://discourse.ladybug.tools/u/ZhengrongTao)\
**Post date:** [September 1, 2020, 2:45am UTC](https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839/2 "2020-09-01T02:45:40Z")

</div>

Hey, I hope my answer will help you

> [@hoganchan](#):
>
> Is that possible to run the wind analysis for around 100 buildings?

There is no doubt that this can be done!

> [@hoganchan](#):
>
> Is there any possible way to reduce the time for meshing the model?

The number of grids and the speed at which they are generated depend on the accuracy with which you want the buildings to be analyzed.You can increase your computing speed by reducing the size of the XYZ grid and wind tunnel.

Zhengrong

---

<div class="post-metadata">

**Author:** ![hoganchan](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/h/c89c15/32.png) [@hoganchan](https://discourse.ladybug.tools/u/hoganchan)\
**Post date:** [September 1, 2020, 3:03pm UTC](https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839/3 "2020-09-01T15:03:25Z")

</div>

Hi @ZhengrongTao

Thanks. I am building up the model and going to test it tomorrow. Will get back here and let you know the result.

HC

---

<div class="post-metadata">

**Author:** ![hoganchan](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/h/c89c15/32.png) [@hoganchan](https://discourse.ladybug.tools/u/hoganchan)\
**Post date:** [September 4, 2020, 3:30am UTC](https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839/4 "2020-09-04T03:30:25Z")

</div>

hi @ZhengrongTao,

I tried to mesh the buildings but it doesn’t work, is that related to the size of the model or the grasshopper setup?

> [@Wind analysis with butterfly - cannot mesh the model](https://discourse.ladybug.tools/t/wind-analysis-with-butterfly-cannot-mesh-the-model/10873):
>
> Hi all, I am trying to simulate the wind flow in the built environment with Butterfly. After I generate the wind tunnel, I am not able to mesh the model. The error message is “1. Solution exception:WindowsError” and I have no idea for solving this problem. The attached is the building I want to test and the gh script. Thank you in advance. -HC [outdoor\_airflow.gh](https://discourse.ladybug.tools/uploads/short-url/z6oY5mDWEOKavBAoZILkct0gJx2.gh) (445.5 KB) [https://drive.google.com/drive/folders/1-L0I5AQCq6XMXf-a0hkny1umBF6Rvj5z?usp=sharing](https://drive.google.com/drive/folders/1-L0I5AQCq6XMXf-a0hkny1umBF6Rvj5z?usp=sharing)

Thanks,  
HC

---

<div class="post-metadata">

**Author:** ![ZhengrongTao](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/zhengrongtao/32/31521_2.png) [@ZhengrongTao](https://discourse.ladybug.tools/u/ZhengrongTao)\
**Post date:** [September 4, 2020, 3:48am UTC](https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839/5 "2020-09-04T03:48:54Z")

</div>

> [@Wind analysis with butterfly - cannot mesh the model](https://discourse.ladybug.tools/t/wind-analysis-with-butterfly-cannot-mesh-the-model/10873/1):
>
> The error message is “1. Solution exception:WindowsError” and I have no idea for solving this problem.

 ![image](https://discourse.ladybug.tools/uploads/default/original/3X/5/5/558c572ccbe409b1e8f41c66525dae03013849ee.png)

To my surprise, I was able to run this case.It is recommended that you review your case again. The best way is to change the name of the wind tunnel，Windows Err is a very common error report, and it doesn’t necessarily mean there’s something wrong with your process.

Zhengrong

---

<div class="post-metadata">

**Author:** ![hoganchan](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/h/c89c15/32.png) [@hoganchan](https://discourse.ladybug.tools/u/hoganchan)\
**Post date:** [September 5, 2020, 10:17am UTC](https://discourse.ladybug.tools/t/butterfly-wind-analysis-for-built-environment/10839/6 "2020-09-05T10:17:02Z")

</div>

Hi @ZhengrongTao

I just tried to create another model for testing the gh definition but it also failed. I am just wondering if my computer cannot afford the workloads or there is sth wrong in the setup. (There are around 80 buildings in the new testing model.) Do you have any idea?

> [@CFD simulation failed](https://discourse.ladybug.tools/t/cfd-simulation-failed/10892):
>
> Hi all, I have tried several times to simulate the outdoor airflow for about 50 buildings by following the example file, but the simulation failed every time. Is there any problem with my rhino model or just my computer could not afford that kind of work? Thanks, HC [https://drive.google.com/drive/folders/1oO077ZtvWigHs0FYy\_JU87G6cTQ\_OVV5?usp=sharing](https://drive.google.com/drive/folders/1oO077ZtvWigHs0FYy_JU87G6cTQ_OVV5?usp=sharing)[Outdoor\_airflow.gh](https://discourse.ladybug.tools/uploads/short-url/kQXxGrf5x7CszW6LjwhAXkFJRph.gh) (437.4 KB)

Thank you in advance,  
HC
