It depends on what the pipe was originally designed for versus what you expect this engine to perform like along with many calculations.
Site below might get you started. There should be a calculator in the site somewhere to assist you to get somewhere "in the ballpark".
http://www.mh-aerotools.de/airfoils/javapipe_en.htm