I tried messing with different shapes and in the end just do a light chamfer on the inlet and outlet, it seems getting the size right for your particular spring /piston/volume is the critical bit.