Hello,
Recently I have been testing the k-epsilon model in the Telemac-3D. I accidentally found a small problem in the subroutine
KEPCL3.
This problem occurred when I was trying to use Dirichlet boundary conditions for k and epsilon at free surface. After looking at the code, I found there is a piece of code missing in
KEPCL3 if LIKBOS is set to KENT.
From Line 205 to 230, the boundary values are computed for epsilon at free surface (EBOS) but not for k (no values giving to KBOS). So I simply appended the following lines to this part:
! DIRICHLET ON K
! --------------
IF(LIKBOS(IPOIN2).EQ.KENT) THEN
KBORS(IPOIN2) = MAX(0.D0,KMIN)
ENDIF
Then the problem is gone. I got proper values of k at free surface.
Hope this helps if anyone has the same problem.
But, as you can see in the figure, the k profile in the vertical is not correct. There is overestimation compared to the analytic solutions found by the mixing length theory and the shape becomes strange near the bottom in the Telemac-3D results.
I will try to test the k-epsilon model further and come back with more detailed comparison.
Best regards,
Qilong