Imbibition and Flow of Wetting Liquids in Noncircular Capillaries