An investigation of vorticity amplification in stagnation flow