Swirling flows with applications to energy and biology