Hello,
As far as I can see there is no way of inserting a time-series of rain/evaporation in the cas file.
Then, digging the code of TELEMAC2D, I found the location where the rain is taken into account. It is in the subroutine PROSOU:
IF(RAIN) THEN
RAIN_MPS=RAIN_MMPD/86400000.D0
SURDT=1.D0/DT
IF(BANDEC) THEN
DO I=1,NPOIN
PLUIE%R(I)=MAX(RAIN_MPS,-MAX(HN%R(I),0.D0)*SURDT)
ENDDO
ELSE
CALL OS('X=C ',X=PLUIE,C=RAIN_MPS)
ENDIF
ENDIF
RAIN_MMPD is the value of the rain/evaporaion in mm/day that you provide in the cas file.
The easiest way I can think of is to change this block to read from an external file.
The simplest way of doing that is adding a modified version of prosou.f to your fortran file and inserting an OPEN and READ statements to the code above
IF(RAIN) THEN
OPEN(2710,FILE='rain.dat') ! OPENS THE TIME SERIES FILE
READ(2710*,) RAIN_MMPD ! READS A RECORD
RAIN_MPS=RAIN_MMPD/86400000.D0
...
This should work, but keep in mind that your input file must be in a time interval equal to that of TELEMAC2D.
To have your file with a different time step you would need do add a few lines to interpolate along the time.
Hope it helps,
Best regards,
Phelype