Thank you Hailiang,
That worked!
It is now producing a non-empty drogue file using the float.f file from the flotteurs-example with new coordinates but when I want to change the time when the drogues are released it crashes at iteration 1010 with an error:
"NUMBER OF PARTICLES GREATER THAN 100"
PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE : 2
The code I modified from the original float.f file from the flotteurs example and that now make telemac2d crash looks like
IF(LT.LE.2600.AND.(10*(LT/10).EQ.LT.OR.LT.EQ.2001)) THEN
CALL ADD_PARTICLE(1993783.D0,5668457.D0,0.D0,LT,NFLOT,
& NFLOT_MAX,XFLOT,YFLOT,YFLOT,TAGFLO,
& SHPFLO,SHPFLO,ELTFLO,ELTFLO,MESH,1,
& 0.D0,0.D0,0.D0,0.D0,0,0)
ENDIF
float.f file and cas file attached
The code that was working before changing the times the drogues were released was:
IF(LT.LE.600.AND.(10*(LT/10).EQ.LT.OR.LT.EQ.1)) THEN
CALL ADD_PARTICLE(1993783.D0,5668457.D0,0.D0,LT,NFLOT,
& NFLOT_MAX,XFLOT,YFLOT,YFLOT,TAGFLO,
& SHPFLO,SHPFLO,ELTFLO,ELTFLO,MESH,1,
& 0.D0,0.D0,0.D0,0.D0,0,0)
ENDIF
Any clues on why it doesn't work?
Thanks again!