Analog computers used electrical circuits to model fluid systems by exploiting the mathematical similarities between electrical and hydraulic phenomena. The key insight is that both systems obey analogous physical laws.
In this electrical-hydraulic analogy, voltage corresponds to pressure, electrical current maps to flow rate, and crucially, electrical resistance serves as the analog for friction or viscosity in pipes and channels. Just as electrical resistance impedes current flow according to Ohm's law (V = IR), hydraulic resistance from pipe walls, fittings, and fluid viscosity impedes water flow according to similar relationships.
The mathematical foundation rests on both systems following comparable differential equations. For simple cases, fluid flow through pipes follows relationships similar to Ohm's law, where pressure drop equals flow rate times hydraulic resistance. More complex scenarios involving turbulence, varying pipe geometries, or unsteady flow could be modeled using additional circuit elements like capacitors (representing storage volumes) and inductors (representing fluid inertia).
Engineers in the mid-20th century built elaborate analog computers with networks of resistors, capacitors, and operational amplifiers to solve fluid dynamics problems that were otherwise computationally intensive. These machines could model everything from water distribution systems to oil pipeline networks, providing real-time solutions by literally measuring voltages and currents in the electrical analog.
The approach was particularly valuable because it offered continuous, real-time solutions and could handle the nonlinear aspects of fluid flow more naturally than early digital computers. However, digital simulation eventually superseded analog methods due to greater precision, flexibility, and the ability to handle more complex geometries and boundary conditions.