Hello,
First you must have the keyword PRESCRIBED FLOWRATES in your parameter file (otherwise Telemac will just look at the boundary conditions file). So if you have 2 liquid boundaries, just put :
PRESCRIBED FLOWRATES : 0.;0.
to start with, the values given will have no importance.
Then you can program function Q or more simply you can have your hydrograph stored in a file called LIQUID BOUNDARIES FILE:
This is a text file edited by the user, it has the following format:
A line beginning with the sign # is a line of comments.
It must contain a line beginning with T to identify the value provided in this file. Identification is by a mnemonic identical to the name of the variables: Q for flow rate, SL for water level, U and V for velocities and T for tracer. An integer between brackets specifies the rank of the boundary in question. This line is followed by another indicating the unit of the variables.
The values to be prescribed are provided by a succession of lines that must have a format consistent with the identification line. The time value must increase, and the last time value provided must be the same as or greater than the corresponding value at the last time step of the simulation. When TELEMAC-2D reads this file, it makes a linear interpolation in order to calculate the value to be prescribed at a particular time step. The value actually prescribed by the code is printed in the control printout.
An example of an open boundaries file is given below:
# Example of open boundaries file
# 2 boundaries managed
#
T Q(1) SL(2)
s m3/s m
0. 0. 135.0
25. 15. 135.2
100. 20. 136.
500. 20. 136.
Make sure that the boundary number you give is correct (it is the order of the boundary conditions file, the first liquid boundary appearing in this file is number one).
That should do it and if not, just ask,
Regards,
Jean-Michel Hervouet