# Meshing as a Begineer

**URL:** <https://www.simscale.com/forum/t/meshing-as-a-begineer/87983>\
**Category:** Project Support\
**Created:** [March 14, 2020, 10:12pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983 "2020-03-14T22:12:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptreacy](https://www.simscale.com/forum/letter_avatar/ptreacy/32/6_449c533f586939b6e5f246632a46421f.png) [@ptreacy](https://www.simscale.com/forum/u/ptreacy)\
**Post date:** [March 14, 2020, 10:12pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/1 "2020-03-14T22:12:32Z")

</div>

I am currently trying to generate a mesh around a NACA0012 airfoil using Simscale. I have an enclosure built around my airfoil with a refinement region and surface refinement. Additionally I had inflation set on the airfoil which I removed due to thinking it may have been causing the lengthy meshing process. I havent been able to produce a mesh for it - always stops at 50%. I have attached the link below of the project.

> **[SimScale Login](https://www.simscale.com/workbench/?pid=8602421153110782559&mi=spec%3Adfd5b828-cd61-42bf-b4e3-ebeba38592c8%2Cservice%3AMESHING%2Cstrategy%3A5&sh=4)**
>
> Log in to your SimScale account. SimScale makes high-fidelity engineering simulation technically and economically accessible. At any scale. In the cloud.

Thank you in advance for the help.

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [March 14, 2020, 11:20pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/2 "2020-03-14T23:20:46Z")

</div>

Immediately thought about @DaleKramer and @Retsam here 😉 Both have already performed incredible mesh studies and can probably help you out with that one! Andrzej, want to give it a spin with an unstructured mesh? 😉

Cheers!

Jousef

---

<div class="post-metadata">

**Author:** ![Retsam](https://www.simscale.com/forum/user_avatar/www.simscale.com/retsam/32/22410_2.png) [@Retsam](https://www.simscale.com/forum/u/Retsam)\
**Post date:** [March 15, 2020, 12:19pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/3 "2020-03-15T12:19:22Z")

</div>

Hi @ptreacy: Currently your volume (Enclosure) for internal HEX mesh is wrong. You need that volume to have a hole (airfoil removed) across. Just left the air in the domain, airfoil removed.

So if your airfoil has 25 cm span, enclosure should be \<= 25 cm span: you should be able to see that hole in the domain. If it is not the case, you would be unable to generate correct mesh.

Personały, I create my simulation domain in CAD program (it is OnShape in my case), and it does not need to be a hexagonal shape. Here is the example of very small domain, with NACA0012 AoA defined in geometry:

* * *

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/e/d/edcacf5fbbcb4bfabd4bdc6b6e6d81ef8f0a5927.png)

* * *

Tell me how it works when ready,

Cheers,

Retsam

---

<div class="post-metadata">

**Author:** ![ptreacy](https://www.simscale.com/forum/letter_avatar/ptreacy/32/6_449c533f586939b6e5f246632a46421f.png) [@ptreacy](https://www.simscale.com/forum/u/ptreacy)\
**Post date:** [March 16, 2020, 11:50am UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/4 "2020-03-16T11:50:03Z")

</div>

Hi Retsam,

Thank you for replying. I was using ANSYS meshing before this and usually use the boolean command to remove the airfoil from the domain, wasnt exactly sure how it worked with SIMSCALE. It’s working now so thank you!

Pippa

---

<div class="post-metadata">

**Author:** ![ptreacy](https://www.simscale.com/forum/letter_avatar/ptreacy/32/6_449c533f586939b6e5f246632a46421f.png) [@ptreacy](https://www.simscale.com/forum/u/ptreacy)\
**Post date:** [March 16, 2020, 12:37pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/5 "2020-03-16T12:37:37Z")

</div>

I have fixed the enclosure but I am still unable to mesh a simple mesh. Any more guidance as to what I may be doing wrong? Thanks

---

<div class="post-metadata">

**Author:** ![Retsam](https://www.simscale.com/forum/user_avatar/www.simscale.com/retsam/32/22410_2.png) [@Retsam](https://www.simscale.com/forum/u/Retsam)\
**Post date:** [March 16, 2020, 9:45pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/6 "2020-03-16T21:45:24Z")

</div>

When generating Mesh Clip you will discover mesh defects and they look nasty:

* * *

 ![<image](https://www.simscale.com/forum/uploads/default/original/3X/9/2/92dba6afa0050cab513f2e076a9f4fa4f5a72bcc.jpeg)

* * *

Perhaps you should try first to use ‘Automatic BL’ and do not define them manually, but I cannot find an explanation of your mesh distortion (swiss cheese). I would also start by using moderate or coarse mesh resolution first. Log files report that your own BL definition is useless (15 BLs intended):

```
patch faces layers overall thickness
                                  [m] [%]
----- ----- ------ --- ---
B2_TE5_B2_TE121 319198 0.155 0.000214 1.84    

```

For simulation itself, you need both big size of the domain to be ‘Slip Walls’. In Simulation Control please use ‘Potential Foam initialisation’.

---

<div class="post-metadata">

**Author:** ![ptreacy](https://www.simscale.com/forum/letter_avatar/ptreacy/32/6_449c533f586939b6e5f246632a46421f.png) [@ptreacy](https://www.simscale.com/forum/u/ptreacy)\
**Post date:** [March 16, 2020, 10:29pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/7 "2020-03-16T22:29:43Z")

</div>

Hi Retsam,

How did you know that B2\_TE5\_B2\_TE121 corresponded to the inflation boundary layer I had assigned?

I have implemented what you suggested and am waiting for it to run.

Thank you for all the help,  
Pippa

---

<div class="post-metadata">

**Author:** ![Retsam](https://www.simscale.com/forum/user_avatar/www.simscale.com/retsam/32/22410_2.png) [@Retsam](https://www.simscale.com/forum/u/Retsam)\
**Post date:** [March 17, 2020, 5:57pm UTC](https://www.simscale.com/forum/t/meshing-as-a-begineer/87983/8 "2020-03-17T17:57:58Z")

</div>

> [@ptreacy](#):
>
> How did you know that B2\_TE5\_B2\_TE121 corresponded to the inflation boundary layer I had assigned?

I found it in the log file… Near the log end you will have statistics about BLs.
