We investigate the dynamics of entanglement between two continuous variable quantum systems. The model system consists of two atoms in a harmonic trap which are interacting by a simplified s-wave scattering. We show, that the dynamically created entanglement changes in a steplike manner. Moreover, we introduce local operators which allow us to violate a Bell-Clauser-Horne-Shimony-Holt inequality adapted to the continuous variable case. The correlations show nonclassical behavior and almost reach the maximal quantum-mechanical value. This is interesting since the states prepared by this interaction are very different from any Einstein-Podolsky-Rosen-like state.