# A generalized thermal/dynamic wall function: Part 3

 Register Blogs Members List Search Today's Posts Mark Forums Read

Rate this Entry

# A generalized thermal/dynamic wall function: Part 3

Posted October 17, 2016 at 11:25 by sbaffini
Updated November 18, 2018 at 05:57 by sbaffini

In this post i summarize the initial problem and the procedure to determine the wall function value (i.e., the solution) for given ,, and .

We looked for a solution to the problem:

with:

for given . This represents, in nondimensional form, a certain set of viscous boundary conditions for velocity/temperature. In practice, is a wall-function. The solution is given by:

Where, is given by:

and is given by a (typically) straightforward integration:

In practice, given above, the integral in is easily computable for in the form of a polynomial of arbitrary degree. For the sake of conciseness we only considered as constant, the resulting integral being times the following function:

https://www.wolframalpha.com/input/?...Batan(b%2Fc)))

The whole procedure is implemented in the attached MATLAB/Octave script, where the analytical solution above (ta) is compared with the numerical one (tn), obtained by numerically integrating .

The usage should be straightforward:

1) Pick up values for ,, and (lines 8-11).

2) Choose plotting options (lines 5-6)

3) Choose how many points you want to use to integrate numerically (line 7).

4) Run the script.

Note that the constant has been calibrated using as reference the mixing length model with a constant . The relative turbulent mixing length viscosity has been left commented in the script (line 60), so that you can use it to calibrate the model for different values of the constant (line 13). Note that the calibration is always done once using and . After that, any value of those parameters will be taken into account automatically by the formula.

In general, the value is such that at . Hence, it could be also used as a mean to introduce roughness effects in the formulation.

In conclusion, it is worth mentioning what are the limitations of the present wall function with respect to the full solution of the turbulent equations with, say, the SA model:

1) The equations are not in their full form, but in the incompressible TBLE form, with constant RHS.

2) The underlying turbulent viscosity model is not formally sensitized to the pressure gradient.

However, note that the same limitations also apply to, say:

K. Suga et al. / Int. J. Heat and Fluid Flow 27 (2006) 852–866

which provides a relation similar to the present one but with a higher approximation on the turbulent viscosity.

Attached Files
 wallfn.txt (2.2 KB, 260 views)