Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (2024)

Basics of Y Plus, Boundary Layer and Wall Function in Turbulent Flows

Before getting into the details of the turbulent models let us discuss an important concept known as Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (1) and know how it is related to turbulence modeling, mesh generation process and how it is going to affect the CFD end result. It is important to know about the concept of wall Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (2) or in general how the flow behaves near the wall, to consider the effects near the wall as it is the basis on which choice of the turbulence model is governed.

The behaviour of the flow near the wall is a complicated phenomenon and to distinguish the different regions near the wall the concept of wall Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (3) has been formulated. Thus Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (4) is a dimensionless quantity, and is distance from the wall measured in terms of viscous lengths.

Why do we need Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (5) ?

One of the reasons for the need of Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (6) is to distinguish different regions near the wall or in the viscous region, however how exactly it helps in turbulence modelling or in general CFD modelling need to be well understood. Let us try to understand this with an example. A fisherman uses fishing net, a grid kind of structure to trap the fishes. If he is trying to catch medium to big sized fishes the grids in the net he uses is somewhat big, but if he is trying to trap even small sized fishes then the grid size of the net should be small enough to capture them. In this case even the large fishes are also captured. Similarly coming back to our case if we intend to resolve the effects near the wall i.e., in the viscous sub layer then the size of the mesh size should be small and dense enough near the wall so that almost all the effects are captured. But in some cases if the wall effects are negligible then there is option of including semi-empirical formulae to bridge between the viscosity affected region and fully turbulent region and in this case the mesh need not to be dense or small near the wall i.e., coarse mesh would work.

Considering the first case i.e., near wall modelling it is well-known that the mesh size should be small enough, however then the question follows is how small ? Thus, here comes the concept of Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (7), and based on the Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (8) value the first cell height can be calculated. The near wall region is meshed using the calculated first cell height value with gradual growth in the mesh so that the effects are captured and avoiding overall heavy mesh count. Let us now look at the Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (9) concept i.e., what exactly it is ? What is its mathematical form? How different regions are distinguished in viscous sub layer based on different Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (10) values? But before that let us refresh the concept of boundary layer especially turbulent boundary layer.

Boundary layer theory

In a flow bounded by a wall, different scales and physical processes are dominant in the inner portion near the wall, and the outer portion approaching the free stream. These layers are typically known as the inner and outer layers. Considering the flow over a smooth flat plate the boundary layer can be distinguished into two types namely laminar boundary layer and turbulent boundary layer. Since we are dealing with the turbulent boundary layer let us not get into the laminar boundary layer. Typical boundary layer structure over a flat plate is shown below. In between the laminar and turbulent boundary layer there lies a transition region. Typically for flow over a flat plate the transition usually occurs around Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (11) .

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (12)

(Reference: Y. Cengel, Fluid Mechanics: Fundamentals and Applications)

Since we have discussed about the turbulent flow characteristics in the previous blog Introduction to Turbulence, we shall not get into it and directly discuss the turbulent boundary layer. From the above figure it can be seen that in turbulent boundary layer region flow near the wall has been analyzed in terms of three layers:

  • The inner layer, or sublayer, where viscous shear dominates
  • The outer layer, or defect layer, where large scale turbulent eddy shear dominates
  • The overlap layer, or log layer, where velocity profiles exhibit a logarithmic variation

A still clear image of the above is shown below:

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (13)

Source: Applied Computational Fluid Dynamics by André Bakker

where Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (14) is the free stream velocity and Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (15) is the boundary layer thickness, Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (16) is the vertical distance measured from the wall.

Turbulent boundary layers are usually described in terms of several non-dimensional parameters. The boundary layer thickness, Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (17) is the distance from the wall at which viscous effects become negligible and represents the edge of the boundary layer.

Now let us discuss more about the above said regions. Owing to the presence of the solid boundary the flow behavior and turbulent structure are considerably different from free turbulent flows. Dimensional analysis has greatly assisted in correlating the experimental data. In turbulent thin layer flows a Reynolds number based on length scale Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (18) in the flow direction Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (19) is always very large. This implies that inertia forces are greater than viscous forces at these scales. If we consider Reynolds number on a distance Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (20) away from the wall Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (21) , we see that if the value of Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (22) is of the order of Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (23) the above argument holds well. Inertia force dominates far away from the wall. As Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (24) also decreases to zero. Just before Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (25) reaches zero there will be a range of values of Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (26) for which Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (27) is of the order 1. At this distance from the wall and closer, the viscous forces will be equal in the order of magnitude to the inertia forces or large. To conclude, in flows along solid boundaries there is usually substantial region of inertia dominated flow far away from the wall and a thin layer within which viscous effects are important.

Near to the wall the flow is influenced by the viscous effects and independent of free stream parameters. However the mean flow velocity depends on by Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (28) (distance from the wall),Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (29) (fluid density),Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (30)(viscosity) and Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (31) (wall shear stress).

Thus: Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (32)

Linear sub-layer

At the solid surface the fluid is stationary and the turbulent eddying motion must also stop very close to the wall. The fluid very close to the wall is dominated by viscous shear in absence of the turbulent shear stress effects (Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (33)) and it can be assumed that the shear stress is almost equal to the wall shear stress Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (34) throughout the layer.

Thus we have: Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (35)

Applying boundary conditions and manipulations we obtain:

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (36)

Now as can be seen from the expression above to be a linear, the fluid layer adjacent to the wall is called as linear sub layer.

Log-law layer

At some distance from the wall and outside the viscous sub-layer Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (37) a region exists where viscous and turbulent effects are both important. Within this inner region the shear stress is assumed to be constant and equal to wall shear stress and varying gradually with distance from the wall. The relationship between Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (38) and Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (39) in the region is given as:

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (40)

where Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (41) , Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (42) and Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (43) are constants whose values are found from measurements.

As the relationship between Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (44) and Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (45) is logarithmic, the above expression is known as log-law and the layer where Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (46) takes the values between 30 and 500 is known as log-law layer.

Outer layer

According to experimental studies it was found that the log-law is valid in the range Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (47) and for higher values of Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (48) the defect law is referred, whereas in the overlap region the log-law and velocity defect law (law of wake) are equal. Tennekes and Lumley (1972) proposed the following logarithmic law for identifying the matched overlap region.

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (49)

Buffer layer

In the buffer layer, between 5 wall units and 30 wall units, neither law holds, such that:
For Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (50)
With the largest variation from either law occurring approximately where the two equations intercept, at Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (51). That is, before 11 wall units the linear approximation is more accurate and after 11 wall units the logarithmic approximation should be used, though neither are relatively accurate at 11 wall units.
Schematic diagram of the above laws or in general law of wall is shown below:

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (52)Velocity profiles in turbulent wall flow

The near-wall modeling significantly impacts the fidelity of numerical solutions, inasmuch as walls are the main source of mean vorticity and turbulence. After all, it is in the near-wall region that the solution variables have large gradients, and the momentum and other scalar transports occur most vigorously. Therefore, accurate representation of the flow in the near-wall region determines successful predictions of wall-bounded turbulent flows.

The k-ε models, the RSM, and the LES model are primarily valid for turbulent core flows (i.e., regions somewhat far from walls). Consideration therefore needs to be given as to how to make these models suitable for wall-bounded flows. The Spalart-Allmaras and Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (53) models were designed to be applied throughout the boundary layer, provided that the near-wall mesh resolution is sufficient.

The two approaches are schematically shown below:

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (54)

Reference:Near-Wall Treatments in ANSYS FLUENT

In most high-Reynolds-number flows, the wall function approach substantially saves computational resources, because the viscosity-affected near-wall region, in which the solution variables change most rapidly, does not need to be resolved. The wall function approach is popular because it is economical, robust, and reasonably accurate. It is a practical option for the near-wall treatments for industrial flow simulations.

The wall function approach, however, is inadequate in situations where the low-Reynolds-number effects are pervasive in the flow domain in question, and the hypothesis underlying the wall functions cease to be valid. Such situations require near-wall models that are valid in the viscosity-affected region and accordingly integrable all the way to the wall.

From above discussion it is clear that the placement of the first node in our near-wall inflation mesh is very important.

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (55)(Reference: Leap CFD)

From the above image we need to be careful to ensure that our Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (56) values are not so large that the first node falls outside the boundary layer region. If this happens, then the Wall Functions used by our turbulence model may incorrectly calculate the flow properties at this first calculation point which will introduce errors into our pressure drop and velocity results.

Let us see how to calculate first cell height. Firstly, we should calculate the Reynolds number for our model based on the characteristic scales of our geometry.

From the definition of Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (57), we know: Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (58)
where Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (59) is shear velocity. The target Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (60) value and fluid properties are known a priori, so we need to calculate the frictional velocity as given above.
The wall shear stress,Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (61) can be calculated from skin friction coefficient, Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (62) is such that: Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (63)

Thus to calculate we need to know, there are empirical formulae to calculate Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (64) which are given as:

For internal flows - Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (65)
For external flows - Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (66)

Thus with all these inputs we can insert the values in the above equation to calculate Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (67).

When considering simple flows and simple geometry, we might find this correlation to be highly accurate. However, when considering complex geometry, refinement in the boundary layer may be required to ensure the desired Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (68) value is achieved. In such cases re-mesh has to be done or else mesh adaption techniques has to be used to achieve the required value across the entire model.
Thus we have learnt that the wall function approach and Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (69) value required is determined by the flow behavior and the turbulence model being used. If we have an attached flow, then generally we can use a Wall Function approach, which means a larger initial Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (70) value, smaller overall mesh count and faster run times. If one expects to have flow separation and knows that the accurate prediction of the separation point will be having an impact on the result, then he would be advised to resolve the boundary layer all the way to the wall with a finer mesh. Unfortunately, as the Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (71) value is dependent on the local fluid velocity which varies across the wall significantly for most industrial flow applications, it is not possible to know the exact Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (72) prior to running an initial simulation. Hence, it is important for one to get into the habit of checking the Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (73) values as part of his normal post-processing so that one can make sure to fall in the valid range for the flow physics and turbulence model selection.

{module [315]}

References
The Authors

{module [311]}

{module [312]}

Basics Of Y Plus Boundary Layer And Wall Function In Turbulent Flows (2024)

FAQs

What is the Y+ for the wall function? ›

The y+ is the dimensionless quantity for the distance from the wall up to the centre of the first grid cell. In simulations without wall functions, this quantity is typically around 1, while wall functions allow us to take a y+ higher than 1.

What is the y plus in turbulent flow? ›

Y+ is a dimensionless parameter that is a measure of distance from the first grid cell to the surface. The Y+ value determines the accuracy of the boundary layer thickness prediction.

What are the boundary layers of turbulent flow? ›

The turbulent boundary layer is considered to consist of several regions characterized by their water velocity profile. These regions include the viscous sublayer, the log-law region, and the outer region (Fig. 7.2). 7.2.

What is Y+ and why is it important? ›

y+ is a non-dimensional distance. It is often used to describe how coarse or fine a mesh is for a particular flow pattern. It is important in turbulence modeling to determine the proper size of the cells near domain walls.

What is the Y+ value in turbulence models? ›

In computational fluid dynamics (CFD), the y+ value is used to determine the appropriate treatment of the near-wall region in turbulence modeling. It represents the non-dimensional distance of the first grid cell from the wall, normalized by the viscous length scale.

What is a good Y+ value? ›

A value of 2 is typically OK although this might need to be as low as 1, especially when capturing boundary layer heat transfer. 10 boundary layers are typically recommended with SST. Also try changing the layer gradation, switching from auto to approximately 1.4. This can help to reduce the Y+ value.

What is the law of the wall in turbulent flow? ›

In fluid dynamics, the law of the wall (also known as the logarithmic law of the wall) states that the average velocity of a turbulent flow at a certain point is proportional to the logarithm of the distance from that point to the "wall", or the boundary of the fluid region.

What are the two main causes of turbulent flow? ›

Turbulence is a fluid flow in which layers mix together via eddies and swirls. It has two main causes. First, any obstruction or sharp corner, such as in a faucet, creates turbulence by imparting velocities perpendicular to the flow. Second, high speeds cause turbulence.

How to check y+ value in Fluent? ›

Pick Turbulence...

under Y Axis Function and select Wall Yplus from the drop-down list under that. Since we want the y+ value for cells adjacent to the wall of the pipe, choose wall under Surfaces. Click Plot. As we can see, the wall _y+_value is between 1.6 and 1.9 (ignoring the anomalous value at the inlet).

How does the boundary layer affect turbulence? ›

Turbulence in the ocean and atmosphere is strongly affected by the presence of bound aries. Boundaries impose severe modifications to the momentum and buoyancy bud gets. At solid boundaries, the boundary condition that the fluid velocity is zero applies to both the mean velocity and to the fluctuations.

Why would you want a turbulent boundary layer? ›

Turbulent flow boundary layers do have several upsides - even if they have more skin-friction drag. A turbulent flow boundary layer has more energy than a laminar flow layer, so it can withstand an adverse pressure gradient longer. That allows a turbulent boundary layer to remain attached to the surface longer.

What is the solution of the turbulent boundary layer? ›

Turbulent boundary-layer computation methods can be divided into two classes, integral and differential techniques. Integral methods require the solution to one, or more, ordinary differential equations, but differential methods require the solution to a system of partial differential equations.

What is the Y+ wall distance? ›

The y+ is calculated from the distance from the model wall y to the cell centroid in the first layer of mesh cells around the model, the y+ value can then be displayed and checked on the model cells.

What is a wall function? ›

Wall functions use the near-wall cell centre height , i.e. the distance to the wall from the centre P of each near-wall cell. Typically when using wall functions, should correspond to a. within the typical range of applicability of the log law Eq.

How to plot y+ vs u+? ›

1. Make a line probe where vertical measurements can be taken at the location or position where you want to have U+ vs Y+ plot. 2. Go for an XY plot where Y-axis is U+ and X-axis is a log scale of Y+.

How to calculate y+ in Fluent? ›

Pick Turbulence...

under Y Axis Function and select Wall Yplus from the drop-down list under that. Since we want the y+ value for cells adjacent to the wall of the pipe, choose wall under Surfaces. Click Plot. As we can see, the wall _y+_value is between 1.6 and 1.9 (ignoring the anomalous value at the inlet).

References

Top Articles
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 5669

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.