Unsteady Euler solution for oscillatory airfoil and oscillating flap