# A generalized thermal/dynamic wall function: Part 2

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

Rate this Entry

# A generalized thermal/dynamic wall function: Part 2

Posted October 17, 2016 at 09:24 by sbaffini
Updated December 21, 2016 at 10:07 by sbaffini

In the first part of this post we left with the problem of computing the following integral:

with:

I added all the explicit functional dependencies here because we know ( given by Monkewitz et al. and reported in the previous post), and would be great to use that solution directly. Indeed, while the above integral is still directly solvable by partial fractions (check yourself with Wolfram alpha), the solution is not really appealing, because it involves 3 non trivial roots of a cubic equation.

In order to avoid that, we absorb the ratio in the definition, and multiply both numerator and denumerator by , obtaining:

Note that, if all the instances of were multiplied by we would have done, as the trick would have been to replace with in the Monkewitz solution (that, for example, would happen for the mixing length formulation, but unfortunately it is not integrable).

In order to arrive at this case, we can assume that and , with the value obtained by calibration with the velocity profile (11.489 for us, 10.306 for Monkewitz et al.). Then we request for to be a solution of the following equation:

It turns out that for meaningful values of and the solution is:

with:

So, with the value computed as above, we have that is just the Mokewitz et al. solution given in the previous post. Thus, to complete our solution, we just need an expression for . I won't report it here, as i just got it from Wolfram alpha (sometimes you need to add the last 3 right parentheses to the Wolfram formula, still don't know why):

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

This is for the case constant. The fact that this is extendable to in the form of a polynomial can be rapidly checked by integrating the separate terms multiplied by a certain power of x (i used x in place of y in Wolfram)... but i leave this as exercise for the reader .

In part 3 of this post (the last one) i'll sum up the steps required to compute the whole solution and give a MATLAB/Octave script that compares it with the numerical one.