The nonlinear response of a dynamically unstable shear flow with critical level to an initial temperature anomaly is investigated using a nonlinear numerical model. Both nonconstant and constant shear profiles of the basic flow are considered. Effects of the solid lower boundary on the dynamically unstable, nonlinear flow are also studied. It is found that in a dynamically unstable, linear flow with a hyperbolic tangent wind profile, the updraft is tilted upshear. The result in consistent with that of a linear stability model (LC). The upshear tilt can be explained by the Orr mechanism (1907) and the energy argument proposed by LC. In a dynamically unstable, nonlinear flow, the updrafts produced by a sinusoidal initial temperature perturbation are stronger in the lower layer and are more compact and located further apart compared to the corresponding linear flow. In addition, the perturbed wave energy is slightly smaller than the linear case. It is found that the growth rate is smaller during the early stage and much larger during the later stage. For a localized initial temperature perturbation in a dynamically unstable flow, a stronger updraft with two compensated downdrafts are produced. Gravity waves are produced in a dynamically stable flow with both a hyperbolic tangent wind profile and a linear wind profile. For a linear shear flow with Richardson number less than 1/4, the disturbance grows in the early stage and then decays algebraically at later times, similar to that found in other linear theoretical studies. The influence of the solid lower boundary is to suppress the shear instability in a nonlinear flow with a hyperbolic tangent wind profile ofRi<1/4.