The inner viscous solution for the core of a leading-edge vortex