Optimization design of three basic notches including single-U-shaped, ramp-U-shaped and V-shaped was investigated thoroughly. Fluent, the flow field simulation software, was used to calculate the flow of different notches at different displacements in the constant pressure, and the experiments were done to make sure the reliability of the simulation results from Fluent by the comparison of simulation results with experimental ones. And it is found that the flow gradient of single-U-shaped notch decreases with its displacement increases, the flow gradient of V-shaped notch basically unchanges with its displacement increases, and the flow gradient of single-U-shaped notch increases with its displacement increases. Using the PSO algorithm and combining some notch simulation calculation results, the optimal sizes of notches were obtained, which could meet the required displacement flow characteristics good effectiveness. And one case that the required displacement flow characteristics verified that the optimization algorithm has high precision, compared with simulation results from optimal sizes.