Is it possible to сalculate discharge / flow rate on the pipe diameter and the pressure (for constant pressure)?
For example:
Pressure_internal = 5 bar
, Diameter_pipe = 36 mm
, Density_water = 1000 kg/m^3
Bernoulli's Formula (online calculation):
$$\frac{\rho v^2}{2} + \rho g h + p = const$$
$$v \approx \sqrt{(p_i-p_a)\frac{2}{\rho_w}} = \sqrt{(5 \mathrm{bar}-1 \mathrm{bar})\frac{2}{1000 \frac{\mathrm{kg}}{\mathrm{m}^3} }}=28.284 \frac{\mathrm{m}}{\mathrm{s}}$$
Then the discharge should be (online calculation):
$$Q = Sv = (\pi r^2) v = \pi * (18\mathrm{mm})^2 *28.284\frac{\mathrm{m}}{\mathrm{s}} = 1717.81 \frac{\mathrm{l}}{\mathrm{min}}$$
Did I miss anything? How can I perform a calculation correct?