The Elliptic Solution of the Secondary Flow Problem