I am doing a thermal flow simulation as shown in the below figure using code_saturne V7.0.2. The high temperature boundary is on the left face to simulate the natural convection process in the side-open cavity. All boundary conditions are shown in the figure, where
I used a subroutine file to simulate buoyancy force, which was validated by natural convection in a closed cavity. Besides, to enforce these boundary conditions, I used another subroutine file and attached here. Code_Saturne velocity/temperature fields look unreasonable. Could you have a look the subroutine file? Thanks!
Best wishes
Yang