The simulation of virtual flight based on computationalfluid dynamics (CFD) is now becoming possible together with theincorporation of a controller with control surface commands and controlsurface deflections. This paper investigates CFD-based virtual flight for ageneric square cross-section missile configuration in longitudinal motions.The incorporation of the flight mechanics equations and a controller intothe CFD solver loop, a multi-block structured-grid scheme with both thecontrol surface deformations and the rigid motion of the aircraft, aredescribed. This study is helpful to a wider effort towards the simulation ofguide and navigation, and validates flight stability in nonlinearaerodynamics regions. The virtual flight simulation of square sectionmissile with control in longitudinal flight are presentedincluding holding angle of attack and prescribed maneuver about incidencedecreasing with required angle. The availability of the coupling method andthe trim arithmetic are proved in the virtual flight simulations through thetwo typical maneuver actions.