Fluid friction in noncircular ducts