Hello,
There is not one single file where the tidal flats are taken into account, it is much more complex than that. Basically specific programming due to tidal flats can be seen everywhere with tests like IF(OPTBAN.EQ.1)... or IF(OPTBAN.EQ.2). Option 2 is just a masking of elements (contributions of dry elements are cancelled) but it is not recommended. In Option OPTION FOR THE TREATMENT OF TIDAL FLATS = 1 + option : TREATMENT OF NEGATIVE ZONES = 2, basic properties are ensured : mass conservation, positivity of depth.
Examples of important subroutines for dry zones are:
DECVRT and FRICTI (library telemac-2D)
POSITIVE_DEPTHS (library bief)
With best regards,
Jean-Michel Hervouet