# Stair like mesh

**URL:** <https://www.simscale.com/forum/t/stair-like-mesh/80582>\
**Category:** Project Support\
**Created:** [September 20, 2017, 1:44am UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582 "2017-09-20T01:44:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naly](https://www.simscale.com/forum/letter_avatar/naly/32/5_5575768a8748004e209b776fc1b2916d.png) [@Naly](https://www.simscale.com/forum/u/Naly)\
**Post date:** [September 20, 2017, 1:44am UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/1 "2017-09-20T01:44:31Z")

</div>

Hello, I am simulating some propellers integrated to larger structure, that they thrust. I get awful mesh resolution at the propellers edges as shown

 ![x](https://www.simscale.com/forum/uploads/default/original/2X/9/9b29fd431a6fe30753d9de212d15f089aed27c3e.jpg)  
I tried increasing the surface refinement level till mesh count blew up with no change.  
what would cause this?

---

<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:** [September 20, 2017, 9:23pm UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/2 "2017-09-20T21:23:01Z")

</div>

Hi @Naly!

Thanks for your question. I am tagging our PowerUser Darren (@1318980) and our new user @afelfoldi here. Maybe they can help you out there.

Cheers,

Jousef

---

<div class="post-metadata">

**Author:** ![1318980](https://www.simscale.com/forum/user_avatar/www.simscale.com/1318980/32/9637_2.png) [@1318980](https://www.simscale.com/forum/u/1318980)\
**Post date:** [September 20, 2017, 11:10pm UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/3 "2017-09-20T23:10:57Z")

</div>

Hi @Naly, can you put a link up? If you increase the refinement level are you left with smaller ‘steps’ just wondering if it is mesh or geometry. If it is mesh, I usually have some jagged edges:

 ![48](https://www.simscale.com/forum/uploads/default/original/2X/3/39385cc778af589d8f4bc6859cdc7a784bcff1b9.jpg)

But yours look very different.

Kind regards,  
Darren

---

<div class="post-metadata">

**Author:** ![Naly](https://www.simscale.com/forum/letter_avatar/naly/32/5_5575768a8748004e209b776fc1b2916d.png) [@Naly](https://www.simscale.com/forum/u/Naly)\
**Post date:** [September 21, 2017, 12:35am UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/4 "2017-09-21T00:35:12Z")

</div>

Public Link: [https://www.simscale.com/workbench?publiclink=d60682aa-ac36-4a32-ba27-4e1d5e18eb8a](https://www.simscale.com/workbench?publiclink=d60682aa-ac36-4a32-ba27-4e1d5e18eb8a)  
Geometry is STL (highest quality conversion). I simulated the props and the vehicle separately before but in STP format.

---

<div class="post-metadata">

**Author:** ![dheiny](https://www.simscale.com/forum/user_avatar/www.simscale.com/dheiny/32/2_2.png) [@dheiny](https://www.simscale.com/forum/u/dheiny)\
**Post date:** [September 21, 2017, 7:29am UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/5 "2017-09-21T07:29:46Z")

</div>

@Naly

one fix could be what I posted here:

> [@How to generate good CFD meshes for very small models](https://www.simscale.com/forum/t/how-to-generate-good-cfd-meshes-for-very-small-models/9187):
>
> The other day I was giving @hannes_seifart’s model from this project a quick spin on SimScale: [SimScale](https://www.simscale.com/projects/hannes_seifart/str-mungsadapter_2) . While doing so, I ran into a small hurdle during meshing, where there is actually a simple fix, that I wanted to share here (thanks @Ali_Arafat!): The model characteristics are that it’s overall very small (a few centimeters) and that it additionally contains very small, but important features. Especially these small pipe-structures, that are crucial for the flow and therefore need to be re…

This is a setting that allows you to control the minimum cell size you want the mesher to generate. Just do a test and put it to a very small value to see if it helps.

David

---

<div class="post-metadata">

**Author:** ![dheiny](https://www.simscale.com/forum/user_avatar/www.simscale.com/dheiny/32/2_2.png) [@dheiny](https://www.simscale.com/forum/u/dheiny)\
**Post date:** [September 21, 2017, 7:43am UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/6 "2017-09-21T07:43:42Z")

</div>

@1318980,

I think here an edge-based refinement for the trailing edge will be the most suitable solution, right? (Working on it!)

David

---

<div class="post-metadata">

**Author:** ![1318980](https://www.simscale.com/forum/user_avatar/www.simscale.com/1318980/32/9637_2.png) [@1318980](https://www.simscale.com/forum/u/1318980)\
**Post date:** [September 21, 2017, 9:51am UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/7 "2017-09-21T09:51:02Z")

</div>

Hi, David, yes for most of my cases the shape is too complicated to lay cylindrical refinements along the edges. For this case, however, the prop is all one surface with no edges.

So far due to the size of the mesh (and my connection), I have been unable to look at the mesh however, I think you above solution looks more likely to be the issue, my edges are jagged, but at least they stick to the shape. On Naly’s it looks like cells have been cancelled near the face. Think this model would be much easier to manage if there were more faces to control.

Darren

---

<div class="post-metadata">

**Author:** ![Naly](https://www.simscale.com/forum/letter_avatar/naly/32/5_5575768a8748004e209b776fc1b2916d.png) [@Naly](https://www.simscale.com/forum/u/Naly)\
**Post date:** [September 21, 2017, 9:39pm UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/8 "2017-09-21T21:39:06Z")

</div>

@1318980 @dheiny Thanks for your replies.  
I tried as suggested to decrease the min vol to 1e-30. Capturing is improved but the mesh still looks bad:

 ![le](https://www.simscale.com/forum/uploads/default/original/2X/b/bf014a5320d46abc4a22aa909a6cca57844ec423.jpg)  
 ![rov edges](https://www.simscale.com/forum/uploads/default/original/2X/f/fd9c39b851369b44602e3d718afa5a33cbdae2cf.PNG)  
Different zones seem to fuse cells when close to each other:  
 ![merge](https://www.simscale.com/forum/uploads/default/original/2X/a/a3544437dd569c945b1920f587a1acdcbab52c3f.PNG)  
Since rotation zones are very close to the nozzles, one of the MRF zones fails:  
error: “Creation of the following cell zone might not succeed. Assigned entities are not closed: MRFRL”  
 ![mrf](https://www.simscale.com/forum/uploads/default/original/2X/2/2347447a86e52c2a3ab8b135bf4793fd227b8d4c.jpg)  
 ![nozz](https://www.simscale.com/forum/uploads/default/original/2X/2/2bc106c15f6e15af4baea7d5a6e4918a38d110cf.PNG)  
Finally, report shows only 3 illegal cells but I get this error  
“Mesh quality report could not be created due to an invalid edge with zero or negative length in the mesh.”  
Public link of new mesh: [https://www.simscale.com/workbench?publiclink=39b53ff6-c605-4c35-aa72-74446f4c83ec](https://www.simscale.com/workbench?publiclink=39b53ff6-c605-4c35-aa72-74446f4c83ec)

---

<div class="post-metadata">

**Author:** ![1318980](https://www.simscale.com/forum/user_avatar/www.simscale.com/1318980/32/9637_2.png) [@1318980](https://www.simscale.com/forum/u/1318980)\
**Post date:** [September 22, 2017, 12:30pm UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/9 "2017-09-22T12:30:14Z")

</div>

Hi, @Naly, you could try completely disabling the check by putting a large negative number in (I think there is a recommended value in the docs of something like -1e30) this might fix a fair few issues.

If the faces were split (i.e. the faces of the blade were split from the centrepiece) then we could use feature refinements to more effect, (and later edge refinement as suggested by David above) this might end up sorting the faces merging inadvertently, that said the most controlled method to stop this happening would be to insert a cylindric primitive on the blade tips and refine them.

As for the MRF failure, we could split the faces and refine the outer surface the issue here again might be merging with the duct?

Kind regards,  
Darren

---

<div class="post-metadata">

**Author:** ![afelfoldi](https://www.simscale.com/forum/user_avatar/www.simscale.com/afelfoldi/32/14813_2.png) [@afelfoldi](https://www.simscale.com/forum/u/afelfoldi)\
**Post date:** [September 22, 2017, 8:01pm UTC](https://www.simscale.com/forum/t/stair-like-mesh/80582/10 "2017-09-22T20:01:51Z")

</div>

Hi @Naly, your pictures seem a bit strange. Looks like two overlapping meshes. This can happen when your stl is not watertight, so the mesh “goes inside” the model, meshing both positive and negative faces of the geometry. Anyway, why do you think that the mesh on your first and second picture is bad? You are trying to mesh a curvature with one or two cells, and it will never be smooth.  
I have also observed, that smoothing with 100 iterations gives better results and less errors than 300 (what Simscale recommends). Lowering the minVol parameter is the solution to add very small cells to the mesh, but usually it will introduce more errors. I don’t know either what OF version Simscale is using, but the latest 1706 is much better and faster in meshing.  
I hope this helps!  
Attila
