In general, the tank should have at least 10x its capacity in flow per hour. For example, a 30g tank should have a total of at least 300 gph flow. That number can go much higher, for Acropora-dominated tanks, as one example. 30x and higher are common recommendations.