Page 1 of 1

Wall function in LES

Posted: Wed Apr 06, 2016 11:57 am
by philippks
Hi,
In CS version 4.0.4, I want to force the wall function to be turned off in LES, even for a very coarse mesh (y+ >= 10.88). In clptur.f90, I would therefore just include itytur.eq.4 in line 696 as:

Code: Select all

    ! No wall functions for low Reynolds models
    if (iturb.eq.0.or.itytur.eq.5.or.iturb.eq.32.or.itytur.eq.4) then
      iwallf = 4
    endif
Do I need to consider anything else? Also, I came over the doxygen description of iwallf, which says that iwallf = 4 means "scalable wall function", although it is coded as "no WF" in CS?
Thanks for advice!
Philipp

Re: Wall function in LES

Posted: Thu Jun 09, 2016 1:47 pm
by philippks
Hi,
I just wanted to bring this one up again; in the meantime I took a look into cs_wall_functions.c, where the variable iwallf is used. The values for iwallf do not match with the description in doxygen on that specific variable.

Thanks for consideration,
Philipp