- **CFX**
(*http://www.cfd-online.com/Forums/cfx/*)

- - **Solver Yplus of Automatic wall treatment**
(*http://www.cfd-online.com/Forums/cfx/117161-solver-yplus-automatic-wall-treatment.html*)

Wall functions are extremely useful in reducing computational expense as you don't need to model up to the near wall region.
I'm not sure what you mean when you ask: Quote:
So you're asking why does automatic wall treatment adopt n as the wall distance in the Y+ calculation. Well what measure would you use to determine the wall distance? :confused: |

You might know that wall functions are valid only when the first grid points are placed at certain distances from wall, below which the velocity profiles are modeled mathematically instead of NS equations. Now, this limit is generally at the y+ values of 11, below which viscous sublayer exists. If you keep refining your grid, your first grid point may as well go well below this distance, falling into viscous layer and hence it gives incorrect shear calculation on the surface, inducing inaccuracy. Hence, scalable wall functions enforce a minumum limit of y+ as . If you observe, here, u* is used instead of , the shear velocity that is commonly used in all textbooks, because in logarithmic layer the reduction in wall velocity is very rapid. Use of u* which is empirically defined, doesn't let go to close to zero.
Essentially, all these precautions are taken, so that mesh is always beyond viscous sublayer. Here, as you mentioned since CFX puts half control volume around nodes on boundary, the seems a legit value for considering the NS equation involvement, below which wall function takes over. Automatic wall function is a different game. Here, if you use coarse mesh so that the first mesh point is beyond viscous sublayer, wall function is triggered. If you use fine mesh, keeping y+ values smaller than 11 such that the grid points are now within viscous sublayer, the wall function is abandoned and the integration is now untill the wall with the resolution you have with the mesh. Hence the name - Automatic! Now, for first mesh point beyond sublayer the calculations are modelled using y+ (keeping it minimum 11) and for first mesh point within sublayer, which is laminar, the calculations are modelled using simple . With automatic wall function, since the first point may lie within or beyond the sublayer, there is no limit imposed on what should be minimum y+ (or the distance first grid point) and hence the mathematical treatment is combination of both definitions and is simply based on . OJ |

All times are GMT -4. The time now is 19:05. |