An airfoil moving with two degrees of freedom (pitching and plunging) is simulated with a closed-loop flow control system. The simulation of the unsteady airfoil is computed using extended delayed detached eddy simulation (EDDES), a hybrid RANS-LES turbulence model based on the Spalart-Allmaras turbulence model. The control system controls the airfoil in two modes, first through direct application of forces and torques, and second, through the use of tangential synthetic jet actuators. The approach was designed for an investigation of flow control via synthetic jet actuators on a pitching and plunging airfoil in A. Glezer's wind tunnel at Georgia Tech. The software definition of the controller used for the wind tunnel facility, which includes a robust servomechanism Linear Quadratic Regulator (LQR) and a neural network based adaptive controller, is coupled to a CFD model, which includes a model for the synthetic jet actuators. The coupled CFD/controller model is used to simulate the maneuvers of the airfoil as performed in the wind tunnel, and the coupled model is validated against experiment results. Copyright © 2009 by the authors.