# Automatic boundary layer

**URL:** <https://www.simscale.com/forum/t/automatic-boundary-layer/99481>\
**Category:** Using SimScale\
**Created:** [November 26, 2024, 5:51pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481 "2024-11-26T17:51:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjansman](https://www.simscale.com/forum/letter_avatar/jjansman/32/6_449c533f586939b6e5f246632a46421f.png) [@jjansman](https://www.simscale.com/forum/u/jjansman)\
**Post date:** [November 26, 2024, 5:51pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/1 "2024-11-26T17:51:13Z")

</div>

In [Creating a Standard Mesh on a Heat Sink | Tutorial | SimScale](https://www.simscale.com/docs/tutorials/creating-a-standard-mesh-heat-sink/) at section “3. Standard Mesh” I read: “Automatic boundary layers generates layers automatically on all no-slip walls, based on the boundary conditions set by the user;”  
So I thought I do not need an “Inflate boundary layer 2” in my Mesh (having “Automatic boundary layers” on) for the no-slip Boundary condition “Custom 4” (ground layer with no-slip Velocity type).  
If I include this “Inflate boundary layer 2”, I see nicely three horizontal layers in the mesh, but If I remove it, these threee layers vanish (I while I still have “Automatic boundary layers” on in the Mesh.

So why do I still need to this “Inflate boundary layer 2”? What do I do wrong? Should I not do a "Custom’, but do a "Wall’ in the Boundary conditions?

Thanks.

---

<div class="post-metadata">

**Author:** ![igaviano](https://www.simscale.com/forum/user_avatar/www.simscale.com/igaviano/32/73967_2.png) [@igaviano](https://www.simscale.com/forum/u/igaviano)\
**Post date:** [November 26, 2024, 6:08pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/2 "2024-11-26T18:08:20Z")

</div>

Hi @jjansman,

The automatic boundary layers definition will be applied only to boundary conditions literally defined as “walls” with a no-slip characteristic, so the “Custom” one wouldn’t factor in.

As a sidenote, it’s good to stress that if no boundary condition is assigned to a wall, it will be automatically defined as a no-slip wall.

Cheers,  
Igor

---

<div class="post-metadata">

**Author:** ![jjansman](https://www.simscale.com/forum/letter_avatar/jjansman/32/6_449c533f586939b6e5f246632a46421f.png) [@jjansman](https://www.simscale.com/forum/u/jjansman)\
**Post date:** [November 26, 2024, 6:42pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/3 "2024-11-26T18:42:49Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![jjansman](https://www.simscale.com/forum/letter_avatar/jjansman/32/6_449c533f586939b6e5f246632a46421f.png) [@jjansman](https://www.simscale.com/forum/u/jjansman)\
**Post date:** [November 27, 2024, 10:39am UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/4 "2024-11-27T10:39:41Z")

</div>

I did some further testing. I get the feel that both a “Wall Boundary Condition no-slip” **and** an “Inflate boundary layer 2” for the ground are essential.  
If I leave away the “Wall Boundary Condition no-slip” (and thus also the “Inflate boundary layer 2”) the results are the same as only having the “Wall Boundary Condition”.  
Adding “Inflate boundary layer 2” gives a different results.  
I assume that the results of “Wall Boundary Condition no-slip” **and** an “Inflate boundary layer 2” are correct???

P.S. So I don’t understand the text In [Creating a Standard Mesh on a Heat Sink | Tutorial | SimScale](https://www.simscale.com/docs/tutorials/creating-a-standard-mesh-heat-sink/) at section “3. Standard Mesh” I read: “Automatic boundary layers generates layers automatically on all no-slip walls, based on the boundary conditions set by the user;”

---

<div class="post-metadata">

**Author:** ![igaviano](https://www.simscale.com/forum/user_avatar/www.simscale.com/igaviano/32/73967_2.png) [@igaviano](https://www.simscale.com/forum/u/igaviano)\
**Post date:** [November 27, 2024, 8:57pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/5 "2024-11-27T20:57:21Z")

</div>

Hi @jjansman, could you add a project link so we can take a closer look at the tests you’re performing?

Here’s how to post a project link here: **[Guide to Clear and Understandable Forum Posting](https://www.simscale.com/forum/t/guide-to-clear-and-understandable-forum-posting/99461)**

Cheers

---

<div class="post-metadata">

**Author:** ![jjansman](https://www.simscale.com/forum/letter_avatar/jjansman/32/6_449c533f586939b6e5f246632a46421f.png) [@jjansman](https://www.simscale.com/forum/u/jjansman)\
**Post date:** [November 27, 2024, 10:47pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/6 "2024-11-27T22:47:44Z")

</div>

My project is here: [Nageli henge measuremenets by jjansman | SimScale](https://www.simscale.com/projects/jjansman/nageli_henge_measuremenets/)

No Wall and thus also the “Inflate boundary layer 2”  
“Simulation”: 25m, 2.2m:5m/sec,ap=8.5, F=7.5, NoGround, CTB  
“Simulation Run”: ap=0.085-Dir=010

Having only “Wall Boundary Condition: Wall4”. but No Inflate Boundary layer.  
“Simulation”: 25m, 2.2m:5m/sec,ap=8.5, F=7.5, NoGround, CTB   
“Simualtion Run”: ap=0.085-Dir=110-CTB-Ground-NoInfl

With ground (Custom 4) and Inflate Boundary layer:  
“Simulation”: Kort, =17.5, z0=0.01m, Fineness=7.5  
“Simulation run”: ap=8.5-010

In all above Mesh settings I always had “Automatic boundary layers” on (with same valuess as the Inflate Boundary layer.

\<the Mesh settings are visisble in the “Simulation Runs”. So verifying may not be possible, as I experiment in this project with settings, not only the Simulation settings, but also the Mesh settings… But I think the Mesh settings in “Simulation” are still ok\>

Does this help? Thanks for your help.

All the best,

---

<div class="post-metadata">

**Author:** ![jjansman](https://www.simscale.com/forum/letter_avatar/jjansman/32/6_449c533f586939b6e5f246632a46421f.png) [@jjansman](https://www.simscale.com/forum/u/jjansman)\
**Post date:** [November 28, 2024, 10:32am UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/7 "2024-11-28T10:32:48Z")

</div>

I just realised that my last Simulation run:  
With ground (Custom 4) and Inflate Boundary layer.  
uses a different Boundary Condition! Custom instead of Wall. So I need to run another Simulation Run with using:  
With ground (Wall 4) and Inflate Boundary layer.  
That is now running:  
Simulation: 25m, 2.2m:5m/sec,ap=8.5, F=7.5, NoGround,CTB  
Simulation Run: ap=0.085-Dir=110-CTB-Ground-Infl  
Well see what the output is there.  
Sorry for this.

---

<div class="post-metadata">

**Author:** ![jjansman](https://www.simscale.com/forum/letter_avatar/jjansman/32/6_449c533f586939b6e5f246632a46421f.png) [@jjansman](https://www.simscale.com/forum/u/jjansman)\
**Post date:** [November 28, 2024, 12:26pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/8 "2024-11-28T12:26:09Z")

</div>

I now did the correct test!

So if I yes/no specify a “Boundary condition” Wall or yes/no default “Inflate Boundary layer”. all results are the same.

> [@jjansman](#):
>
> “Automatic boundary layers generates layers automatically on all no-slip walls, based on the boundary conditions set by the user;”

So the above documentatian statement and of yourself, is correct. I should indeed have seen the word **Wall**  
Sorry I did the wrong test!!!  
Thanks for your patience.

All the best.

---

<div class="post-metadata">

**Author:** ![igaviano](https://www.simscale.com/forum/user_avatar/www.simscale.com/igaviano/32/73967_2.png) [@igaviano](https://www.simscale.com/forum/u/igaviano)\
**Post date:** [November 28, 2024, 4:35pm UTC](https://www.simscale.com/forum/t/automatic-boundary-layer/99481/9 "2024-11-28T16:35:28Z")

</div>

No worries @jjansman! Thanks for sharing and glad that the issue is solved.

Cheers
