Structure Preserving Isogeometric Analysis for Computational Fluid Dynamics