Automated mesh deformation for CAD models which exhibit boundary topology changes