In this work the complete equations of one-dimensional unsteady flow in open channels in integral form, and compatibility equations at the junctions of a channel network, are solved numerically. Analytical integration in space is used between each pair of consecutive irregular sections of a channel, and the nonprismatic term is expressed in terms of uncoupled functions of the geometry at the sections. The linearized system of equations for each time interval is solved by an elimination method based on a double-sweep algorithm. The model is applied to the estuary of the San Juan River in Venezuela, where oscillating currents by effect of semidiurnal tides take place and the amplitude of the wave at the mouth is amplified toward the inland direction. Alternating drying and filling is simulated by means of slight modifications in the bed geometry of upper river sections. Measured water elevation and flow rates available at two stations are used to calibrate the model, and a very accurate adjustment of the tidal levels observed in the river is obtained.