Hello Marco,
Can you explain more what you mean by "output .cas file". Is it the ASCII DROGUES FILE?
I have just run the telemac3d/particles example and looked at ASCII DROGUES FILE and there is obviously a bug when writing this file: y and z coordinates are exactly the same. Indeed, in TELEMAC3D subroutine when calling UTIMP_DROGUES, the 2nd YFLOT should be replaced by ZFLOT:
Change
CALL UTIMP_DROGUES( LT,AT,NPOIN2,NPOIN3,
& XFLOT%R,YFLOT%R,YFLOT%R,TAGFLO%I,CLSFLO%I,
& NFLOT,NFLOT_MAX,FLOPRD,DEJA_DROGUES_UTIMP,
& T3D_FILES(T3DFLO),T3D_FILES(T3DBLO), MARDAT,MARTIM )
to
CALL UTIMP_DROGUES( LT,AT,NPOIN2,NPOIN3,
& XFLOT%R,YFLOT%R,ZFLOT%R,TAGFLO%I,CLSFLO%I,
& NFLOT,NFLOT_MAX,FLOPRD,DEJA_DROGUES_UTIMP,
& T3D_FILES(T3DFLO),T3D_FILES(T3DBLO), MARDAT,MARTIM )
If you do not talk about ASCII DROGUES FILE, I do not understand your issue.
Hope this helps,
Chi-Tuan