Effects of geometry on resistance in elliptical pipe flows