Hello,
I think you have to concatenate the two subroutines you enclosed (CONDIM and BORD3D) in the same file and give the name of this file to the keyword FORTRAN FILE. Otherwise in your case, as the keyword FORTRAN FILE is defined twice, only the last definition is taken into account: bord3d_v3p2.f
In that case, the default CONDIM subroutine from your version of TELEMAC-3D is used in your simulation (which expects the keyword MESH TRANSFORMATION to be equal to 1, not 2).
Hope this helps,
Chi-Tuan