Page 1 of 1

y+ calculation on rough walls

Posted: Wed Jul 09, 2025 11:10 am
by MaximeO
Hello,

Does anyone knows how exactly is calculated the y+ on a rough wall (on code_saturne v8.0) ?

I have searched in the theory guide (https://www.code-saturne.org/documentat ... theory.pdf p.58-60) but the rough wall part doesn't really answer this question.

The thing is, when I'm looking at my results, the y+ computed by code_saturne doesn't correspond to the y+ I have calculated with the theoretical formula and the computed wall shear-stress, and there is a huge difference ( on code_saturne while I calculated ), but I may be missing a point here ?

Best regards,
Maxime

Re: y+ calculation on rough walls

Posted: Wed Jul 09, 2025 9:22 pm
by Yvan Fournier
Hello,

This is probably computed in src/base/clptrg.f90. So it may be interesting to check/log/print the intermediate values used in its computation.

I'm not sure about the theory part, as there is both a legacy rough wall model, and a new one (continuous "smooth/rough" model). The newer model should be mostly equivalent to the old one in rough wall regions, but some details might change.

Best regards,

Yvan