Hi,
1 - 2 2 2 (solid boundary)
2 - 5 6 6 (Free surface and Velocity fields are imposed... from TPXO)
3 - It depends :
- if water comes into the model from the outside : 4 5 5 (Discharge imposed... free surface free) and information about the discharge or 4 6 6 (velocity field imposed... free surface free)
- if water leaves the model : 5 4 4 (Free surface imposed)
Please read section 4.2.3 The boundary conditions file of the user Manual and tide example.