Structure Preserving Isogeometric Analysis For Computational Fluid Dynamics