Hi Christophe,
I added the following part in FONVAS.f:
USE DECLARATIONS_TELEMAC3D, ONLY : ..., UNSV2D,MESH2D
DO IELEM=1,MESH2D%NELEM
!
I1=MESH2D%IKLE%I(IELEM,1)
I2=MESH2D%IKLE%I(IELEM,2)
I3=MESH2D%IKLE%I(IELEM,3)
!
X2=MESH2D%XEL%R(IELEM,2)
X3=MESH2D%XEL%R(IELEM,3)
Y2=MESH2D%YEL%R(IELEM,2)
Y3=MESH2D%YEL%R(IELEM,3)
......
ENDDO
But I always got the errors saying
t3dfort.f(5510): error #6351: The number of subscripts is incorrect.
I1=MESH2D%IKLE%I(IELEM,1)
^
t3dfort.f(5511): error #6351: The number of subscripts is incorrect.
I2=MESH2D%IKLE%I(IELEM,2)
^
t3dfort.f(5512): error #6351: The number of subscripts is incorrect.
I3=MESH2D%IKLE%I(IELEM,3)
^
t3dfort.f(5514): error #6351: The number of subscripts is incorrect. [R]
X2=MESH2D%XEL%R(IELEM,2)
^
t3dfort.f(5515): error #6351: The number of subscripts is incorrect. [R]
X3=MESH2D%XEL%R(IELEM,3)
^
t3dfort.f(5516): error #6351: The number of subscripts is incorrect. [R]
Y2=MESH2D%YEL%R(IELEM,2)
^
t3dfort.f(5517): error #6351: The number of subscripts is incorrect. [R]
Y3=MESH2D%YEL%R(IELEM,3)
^
I'm wondering how to use the members IKLE, XEL and YEL in MESH2D?
Kind regards,
Qilong