I've been reading a set of notes (Chapter 13 of Caltech Ph 136 notes from 2004, by Blandford and Thorne) that draw an analogy between fluid dynamics and electromagnetism, identifying the magnetic vector potential $\mathbf{A}$ with the velocity flow field $\mathbf{u}$, the magnetic field with vorticity $\mathbf{\omega}$, and the electric field with $\mathbf{\omega} \times \mathbf{u}$. This is different from the hydraulic analogy for electric circuits, which I think identifies the velocity field with current density. Several things go through this analogy in a reasonable way, like $\nabla \cdot \mathbf{B} = 0$, and incompressibility corresponding to the gauge choice of $\nabla \cdot \mathbf{A} = 0$.
But it looks to me like this analogy is not an "isomorphism". For example, does the condition $\mathbf{E} = \mathbf{B} \times \mathbf{A}$ (which follows, in the analogy, from the definition of vorticity) have any interpretation in electromagnetism? If our flow is irrotational, what does the velocity potential correspond to (e.g. does a scalar potential for the magnetic vector potential ever come up/have a name)?
I'd be interested in any reference that thoroughly explores this analogy. The best I've found is here, but as far as I can tell it does not address the above issues (and similar).