Wall function in LES

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
philippks
Posts: 9
Joined: Sat Jun 20, 2015 6:08 pm

Wall function in LES

Post 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
philippks
Posts: 9
Joined: Sat Jun 20, 2015 6:08 pm

Re: Wall function in LES

Post 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
Post Reply