CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ANSYS Meshing] Infilation - Number of layers (https://www.cfd-online.com/Forums/ansys-meshing/192484-infilation-number-layers.html)

mrswordf1sh September 4, 2017 13:28

Infilation - Number of layers
 
Hi guys,

For my CFD simulation, during meshing, I calculate first layer height of the inflation according to the desired y+.

I wanted to ask how we decide the number of layers? I see some studies use 5, some studies use 20 layers.

Thanks .

Christophe September 4, 2017 18:15

From what a CFD consultant with a PhD told me, "use as many inflation layers as you can afford".

Also you don't want a huge size difference between your last inflation layer and the next cell. So for a real small first layer height (SST on turbomachinery perhaps) you may need 40 layers or more to get the last layer to be a similar size to the rest of the elements.

You'll need less for higher y+ turbulence models. Or less if you have a finer mesh outside the inflation layer.





Sent from my iPhone using CFD Online Forum mobile app

mrswordf1sh September 5, 2017 14:52

Thank you, I will consider that.

Far September 6, 2017 03:19

Quote:

Originally Posted by mrswordf1sh (Post 663140)
Hi guys,

For my CFD simulation, during meshing, I calculate first layer height of the inflation according to the desired y+.

I wanted to ask how we decide the number of layers? I see some studies use 5, some studies use 20 layers.

Thanks .

If you using hybrid wall fucntions (Y+ can be 10 not necessarily 1, which currently fluent and cfx uses) 20 Layers are enough. USe expansion ratio 1.2

For Y+=1 when you want to fully resove viscous sub layer, use 40 layers. Use expansion ratio 1.1 to 1.15.

Any one who is uing 5 layers is just trying to show that he is resolving boundary layer. Just useless.

But if you are studying laminar to turbulne transition, I tend to use 100-120 Layers in boundary layer with expansion ratio of 1.05 or lower.

mrswordf1sh September 13, 2017 10:07

Quote:

Originally Posted by Far (Post 663323)
If you using hybrid wall fucntions (Y+ can be 10 not necessarily 1, which currently fluent and cfx uses) 20 Layers are enough. USe expansion ratio 1.2

For Y+=1 when you want to fully resove viscous sub layer, use 40 layers. Use expansion ratio 1.1 to 1.15.

Any one who is uing 5 layers is just trying to show that he is resolving boundary layer. Just useless.

But if you are studying laminar to turbulne transition, I tend to use 100-120 Layers in boundary layer with expansion ratio of 1.05 or lower.

I am using k-e Realizable. I think it is best for me to use 20 inflation layers. I am using Enhanced-Wall Treatment and Menther-Lechner and my y+ is below 5. Do you think it is ok?

LoUcAsss February 22, 2021 05:10

Quote:

Originally Posted by Far (Post 663323)
Any one who is uing 5 layers is just trying to show that he is resolving boundary layer. Just useless.


Even if I agree that 5 layers is not enough to solve a boundary layer, you cannot say that it is useless. When you cannot even afford more than 5 layers, you can still get interesting enough results.

However you have to be aware that your results are not very precise. Particularly, you can expect to have significant discrepancies in the computed skin friction.



But it is always a compromise between the precision you need and the precision you can afford.

Far February 22, 2021 08:13

Quote:

Originally Posted by LoUcAsss (Post 796926)
Even if I agree that 5 layers is not enough to solve a boundary layer, you cannot say that it is useless. When you cannot even afford more than 5 layers, you can still get interesting enough results.

However you have to be aware that your results are not very precise. Particularly, you can expect to have significant discrepancies in the computed skin friction.



But it is always a compromise between the precision you need and the precision you can afford.

Well, I tend to agree with you.


All times are GMT -4. The time now is 09:31.