Analysis of Free Oscillating Flow in a U-Shaped Tube