Constant Shear Stress boundary condition
Posted: Wed Jul 02, 2025 10:05 am
Hello,
I'm currently working on Atmospheric Boundary Layer simulation on code_saturne v8.0, and especially on horizontal homogenity (i.e. conservation of speed and turbulence profiles along an empty computational domain).
Based on some articles that I found, it is recommanded to apply a constant shear stress at the top of my domain. It seems that we can make it thanks to user functions, but I'm not used to this at all.
Do you know which user function I need to use and how I can apply this kind of condition (in terms of coding) ?
Best regards,
Maxime
I'm currently working on Atmospheric Boundary Layer simulation on code_saturne v8.0, and especially on horizontal homogenity (i.e. conservation of speed and turbulence profiles along an empty computational domain).
Based on some articles that I found, it is recommanded to apply a constant shear stress at the top of my domain. It seems that we can make it thanks to user functions, but I'm not used to this at all.
Do you know which user function I need to use and how I can apply this kind of condition (in terms of coding) ?
Best regards,
Maxime