The hydrodynamics of the supernova remnant Cassiopeia A. The influence of the progenitor evolution on the velocity structure and clumping