# Workshop 2 Session 1 Homework: Optimization of a wing - Part I Meshing

**URL:** <https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436>\
**Category:** CAD & Meshing\
**Created:** [September 16, 2016, 1:34pm UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436 "2016-09-16T13:34:00Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![SamPrabhu1](https://www.simscale.com/forum/user_avatar/www.simscale.com/samprabhu1/32/4813_2.png) [@SamPrabhu1](https://www.simscale.com/forum/u/SamPrabhu1)\
**Post date:** [September 27, 2016, 5:22pm UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/21 "2016-09-27T17:22:47Z")

</div>

Hello @Dieginho and any other participants who have the mesh issue,

I just got some information from our Product Engineer. It seems to be a bug between OpenFOAM and one of the 3rd party libraries, which happens during parallel computing. The issue is still not solved since the reason is non-deterministic at the moment. But we have a workaround for now - if it is necessary to run the mesh at 32 cores please tweak the settings a little bit (say change the bounding box dimension by a very small value or the number of cells along any direction by a very small number, say 1) and re-run the case.

A better solution would be to run it in reduced cores, say 16. This should help for the time being. Meanwhile we are working on it to eliminate this problem completely.

Sam

---

<div class="post-metadata">

**Author:** ![Dieginho](https://www.simscale.com/forum/letter_avatar/dieginho/32/6_449c533f586939b6e5f246632a46421f.png) [@Dieginho](https://www.simscale.com/forum/u/Dieginho)\
**Post date:** [September 27, 2016, 10:23pm UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/23 "2016-09-27T22:23:26Z")

</div>

The problem is in the Topological Entity Sets, that is empty so I can’t select faces sets in the mesh refinement. I do not really know how to do it. I already completed the simulation in the case of the normal wing. I need to solve it in order to submit the homework before Thursday midday.

 ![](https://www.simscale.com/forum/uploads/default/original/2X/3/327f86d6c87302612de3080ca971de50f9b24546.png) ![](https://www.simscale.com/forum/uploads/default/original/2X/2/2dc7541e313122b4ffef222d1dd710ac7a7ba801.png)

---

<div class="post-metadata">

**Author:** ![anon18194957](https://www.simscale.com/forum/letter_avatar/anon18194957/32/6_449c533f586939b6e5f246632a46421f.png) [@anon18194957](https://www.simscale.com/forum/u/anon18194957)\
**Post date:** [September 28, 2016, 7:52am UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/24 "2016-09-28T07:52:05Z")

</div>

Hi @Dieginho,

It looks like you did a split operation on the geometry - which will delete all the pre-set topological entity sets (when you are doing mesh refinements, you use topological entity sets associated with the geometry)

 ![](https://www.simscale.com/forum/uploads/default/original/2X/2/23f73049174c5428f84acf7f27b15d95b3b0cea8.png)

---

<div class="post-metadata">

**Author:** ![Dieginho](https://www.simscale.com/forum/letter_avatar/dieginho/32/6_449c533f586939b6e5f246632a46421f.png) [@Dieginho](https://www.simscale.com/forum/u/Dieginho)\
**Post date:** [September 28, 2016, 8:35am UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/26 "2016-09-28T08:35:05Z")

</div>

I just did split for the winglet wing, the normal wing already had split. That’s why I did it.

---

<div class="post-metadata">

**Author:** ![anon18194957](https://www.simscale.com/forum/letter_avatar/anon18194957/32/6_449c533f586939b6e5f246632a46421f.png) [@anon18194957](https://www.simscale.com/forum/u/anon18194957)\
**Post date:** [September 28, 2016, 9:11am UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/27 "2016-09-28T09:11:54Z")

</div>

@Dieginho, I see. You can re-add these sets manually

 ![](https://www.simscale.com/forum/uploads/default/original/2X/7/7d7561cc2687205e211236224b5fc885a5e99204.png)

To do this:

1. select the correct faces (components) for the set
2. click on create set in the top menu bar  
 ![](https://www.simscale.com/forum/uploads/default/original/2X/6/6ab487649478aebaaf710fd02888ee13416d4535.png)
3. add a name for the set and click create  
 ![](https://www.simscale.com/forum/uploads/default/original/2X/c/c8150acd784cfba5c25076befe4da9bf8b8a7ee7.png)

Here is the list for each set

- edges-wing (Component3, Component9)
- edges-winglet (Component10)
- Wing (Component1, Component2, Component4, Component5, Component6, Component7, Component8, Component12, Component14, Component25)
- Winglet (Component11, Component13, Component15, Component16, Component19, Component20, Component21, Component22, Component23, Component27)
- winglet-tip (Component24)

---

<div class="post-metadata">

**Author:** ![Alexor](https://www.simscale.com/forum/user_avatar/www.simscale.com/alexor/32/513_2.png) [@Alexor](https://www.simscale.com/forum/u/Alexor)\
**Post date:** [September 28, 2016, 4:25pm UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/28 "2016-09-28T16:25:26Z")

</div>

Hi guys,

I got this issue in the second mesh:

 ![](https://www.simscale.com/forum/uploads/default/original/2X/7/7adbd29ed94b81ff9f439b17f263e0863f44220e.jpg)

Should I start again or redo this mesh? Just in case, please, find attached my project link:

> **[SimScale Login](https://www.simscale.com/workbench?publiclink=0f24a443-66f8-47d8-b613-57770ca4e276)**
>
> Log in to your SimScale account. SimScale makes high-fidelity engineering simulation technically and economically accessible. At any scale. In the cloud.

Thanks for your time.  
Cheers  
Alex

---

<div class="post-metadata">

**Author:** ![SamPrabhu1](https://www.simscale.com/forum/user_avatar/www.simscale.com/samprabhu1/32/4813_2.png) [@SamPrabhu1](https://www.simscale.com/forum/u/SamPrabhu1)\
**Post date:** [September 29, 2016, 5:26am UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/29 "2016-09-29T05:26:20Z")

</div>

Hey @Alexor,

> [@sjesu\_rajendra](#):
>
> I just got some information from our Product Engineer. It seems to be a bug between OpenFOAM and one of the 3rd party libraries, which happens during parallel computing. The issue is still not solved since the reason is non-deterministic at the moment. But we have a workaround for now - if it is necessary to run the mesh at 32 cores please tweak the settings a little bit (say change the bounding box dimension by a very small value or the number of cells along any direction by a very small number, say 1) and re-run the case.
> 
> A better solution would be to run it in reduced cores, say 16. This should help for the time being. Meanwhile we are working on it to eliminate this problem completely.

It’s the same issue as above. Please tweak the settings or use lesser cores to get a successful mesh.

Sam

---

<div class="post-metadata">

**Author:** ![Ali\_Arafat](https://www.simscale.com/forum/user_avatar/www.simscale.com/ali_arafat/32/153_2.png) [@Ali\_Arafat](https://www.simscale.com/forum/u/Ali_Arafat)\
**Post date:** [September 29, 2016, 10:35am UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/30 "2016-09-29T10:35:24Z")

</div>

#### Hello Everyone,

#### **Important: Regarding Meshing Error**

 ![](https://www.simscale.com/forum/uploads/default/original/2X/1/13a5aa3a70ba3a4820799841bb6911126db5c999.png)

#### To avoid Meshing errors due to a Bug in OpenFOAM Library, Please use ‘16 compute cores’ for the meshing operation.

#### The above tutorial has also been updated in this regard.

#### Best, Ali.

---

<div class="post-metadata">

**Author:** ![brendan\_a\_b](https://www.simscale.com/forum/letter_avatar/brendan_a_b/32/6_449c533f586939b6e5f246632a46421f.png) [@brendan\_a\_b](https://www.simscale.com/forum/u/brendan_a_b)\
**Post date:** [September 29, 2016, 8:17pm UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/31 "2016-09-29T20:17:22Z")

</div>

Still having the problem. I used (what I assume was) the updated tutorial, so I tried the 16-core option first. I got the error 3 times in a row, so I tried some other methods (change to 32 cores, even tried 8 cores, change cell count from 30 to 31, bound size, etc) and I am still having problems, so can’t do the second wing run. I double-checked all the settings/values, couldn’t find anything wrong there…maybe send this to the engineers?

Problem only occurred with the winglet mesh. Chrome 53, Windows 7 64-bit.

Could it be a problem where the mesh for the winglet and the main wing meet perhaps? Could be that the join, while technically seamless between the 2 objects, might cause the problem where a random cell vert lands on the seam, especially with the high tesselation.

---

<div class="post-metadata">

**Author:** ![SamPrabhu1](https://www.simscale.com/forum/user_avatar/www.simscale.com/samprabhu1/32/4813_2.png) [@SamPrabhu1](https://www.simscale.com/forum/u/SamPrabhu1)\
**Post date:** [September 30, 2016, 5:38am UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/32 "2016-09-30T05:38:41Z")

</div>

Hi @brendan_a_b,

This is not an issue with the model or SimScale platform. We run CFD simulations based on OpenFOAM code, and as mentioned above this is a bug between OpenFOAM and one of its 3rd party libraries.

Please make your submission with only the first simulation results as of now. We would be taking it into consideration as well - we value your efforts in doing this!

Sam

---

<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 20, 2020, 1:58pm UTC](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436/34 "2020-03-20T13:58:32Z")

</div>

Unlisted on March 20, 2020, 1:58pm UTC



[Previous page](https://www.simscale.com/forum/t/workshop-2-session-1-homework-optimization-of-a-wing-part-i-meshing/42436.md?page=1)
