Lock Nvidia Flex Particles in 2d space

Hello, I want to create 2d game with water simulation usingNvidia Flex Physics and
I cant find the way to lock Particles in 2d space.

Is there a way to prevent particles move along X axis?