You can make just small hole in front, and back of sub... Or on front and back side of "fins" or what ever it's named...
So when submarine go forward pressure on front sensor is larger than on back sensor, and faster it goes, difference is larger...
My suggestion is that you buy some analog sensor, and try it on peace board that you push through water and see what is happening...
Also you can use small propeller and count impulses...