A Vorticity Formulation for Computational Fluid Dynamic and Aeroelastic Analyses of Viscous Flows