01 / Mass conservation
The numerical model calculates chamber water-level change using dh/dt = (Qup + Qdown) / A, where A = 288 m² is the approximate chamber plan area. Reservoir levels are held constant.
A canal lock is a controlled chamber that allows boats to travel between waterways at different elevations. Water enters or leaves through gated culverts while the vessel remains buoyant. When the chamber level matches a canal pound, the corresponding mitre gates can open with very little differential hydrostatic load.
The numerical model calculates chamber water-level change using dh/dt = (Qup + Qdown) / A, where A = 288 m² is the approximate chamber plan area. Reservoir levels are held constant.
Each culvert follows Q = Cd · a · √(2g|Δh|) · sign(Δh), with discharge coefficient Cd = 0.66 and full-opening area a = 3.0 m². Valve travel is gradual.
Boat motion uses a damped vertical heave oscillator that follows the water-level boundary. The vessel is not a full six-degree-of-freedom hydrodynamics solver; its displacement and mass are illustrative.
Choose Fill chamber to close the lower valves and move water from the high pound into the lock. At approximately 5.0 metres, close the upstream sluice if necessary and open the upper mitre gates. Close them before emptying. Select Empty chamber to lower the water toward 0.0 metres. Use the independent sluice sliders to experiment with simultaneous inflow and outflow. The gates reject unsafe operation when their hydrostatic head difference is too large.
The upper and lower gates isolate the lock chamber from reservoirs at different elevations. Only the gate at the currently matched water level can be opened safely.
Discharge is modeled as proportional to the open sluice area and the square root of the hydrostatic head difference. The discharge coefficient combines contraction and energy-loss effects into one approximation.
As the chamber water surface approaches the upstream water level, the driving head decreases. The orifice formula therefore predicts a lower flow rate.
No onboard propulsion is needed to raise the floating boat. Its elevation increases as the water surface rises; gravitational potential energy comes from the upstream water and the head difference between canal pounds.
A pair of mitre leaves closes at an angle, allowing upstream pressure to press the two leaves together. The model includes two articulated leaves with mechanical hinges and steel stiffening members.
Yes, in this educational simulator. Water then flows in from the high pound and out to the low pound, potentially reaching a quasi-steady intermediate chamber level. Operating real lock machinery is subject to site-specific safety procedures.
No. Water levels follow a lumped-volume ordinary differential equation. Surface ripples and flow tracers are visualizations tied to calculated discharge, not a computational fluid dynamics solution.
It follows a damped vertical spring response to changes in water level. The model captures the key concept of buoyant tracking without solving detailed hull pressure or turbulent fluid–structure interaction.
The interlock refuses the command if the water-level difference exceeds 0.12 metres or another active control would make opening unsafe. This threshold is illustrative, not an operational engineering limit.
No. The numerical model omits distributed culvert losses, chamber turbulence, gate forces, vessel maneuvering, emergency procedures and site-specific structural calculations. It is an educational interactive visualization.