5
$\begingroup$

How can I "tie" pressure change due to a mass leakage from the flow? In a "closed" system I'd use $pV=nRT$ but this is an "open" system...

My open system is an horizontal (no gravity issue) pipe (constant sections) in which flows a gas. We may think pipe walls as permeable walls. Hence we have one incoming flow to the pipe inlet, and two outgoing flows: one from the pipe outlet and the other from the pipe wall

Assume the simplest case: Mach<0.30 and density is almost constant. To be complete, leakage is a known variable and I need to find outlet pressure

$\endgroup$
0

2 Answers 2

3
$\begingroup$

You can't use the ideal gas law in an open system, but you can use Bernoulli's equation.

Starting with the conservation of energy:

$$ E_{in} = E_{out} $$

We have one source in and two sources out:

$$ E_{in} = E_{out} + E_{leak} $$

The energy is the sum of the enthalpy and kinetic energy (since the pipe is horizontal):

$$ (h_1 + v_1^2/2)*m_1 = (h_2 + v_2^2/2)*m_2 + m_{leak} * (h_3+ v_3^2/2)$$

By definition, the enthalpy is the internal energy plus $P/\rho$.

Now for some important assumptions:

  1. The velocity of the leak far from the pipe would be 0 (i.e., it's reached the atmosphere and not causing tornadoes).
  2. The leak's final pressure would be atmospheric pressure (via the same assumptions)
  3. The entire system is under roughly constant temperature, so the internal energy, u of the gas at all three points is the same

$$ (u + P_1/\rho + v_1^2/2)*m_1 = (u + P_2/\rho + v_2^2/2)*m_2 + m_{leak}*(u + P_{atm}) $$

  1. Now we assume constant flow. The pressure, internal energy and velocity at the inlet should be the same with respect to time. Same with the outlet and leak. So, differentiating with respect to time, the only thing that changes at each point is the mass:

$$ P_{in} = P_{out} + P_{leak} $$

$$ (u + P_1/\rho + v_1^2/2)*\dot{m}_1 = (u + P_2/\rho + v_2^2/2)*\dot{m}_2 + \dot{m}_{leak}*(u + P_{atm}) $$

Now we know by conservation of mass:

$$ m_{in} = m_{out} + m_{leak} $$

Which works when taking the derivative with respect to time. So, we can remove the u terms. Finally, it's easier to express mass flow as:

$$ \dot{m} = \rho A V $$

So, substituting in the mass flow, and multiplying the entire equation by the constant density to convert from head to pressure:

$$(P_1 +\rho\frac{V_1^2}{2})\rho AV_1 = (P_2 + \rho \frac{V_2^2}{2})\rho AV_2 + \dot{m}_{leak}(P_{atmosphere})$$

Note the units are Watts*density - to make your mass loss easier to solve. While you could solve for the leak in this equation, using your knowledge of the pressure outside and the pressure at two places, you would still need to know at least one of the velocities to solve for the leak. The other velocity, you could solve for because of conservation of mass again:

$$ \dot{m}_{in} = \dot{m}_{out} + \dot{m}_{leak} $$ $$ \rho V_1 A = \rho V_2 A + \dot{m}_{leak} $$

And of course, I did make these assumptions: constant density, and no loss due to pipe friction under the assumption the leaks are so light that the temperature didn't change, and so density didn't change - just decrease the velocity. Ultimately, to figure out the velocities, you need to know the flow rate - so the only way to tell is with flowmeters, not pressure gauges.

$\endgroup$
4
  • $\begingroup$ If you install orifice plate meters at the inlet of your leaky pipe and outlet of your leaky pipe, those let you figure out the velocity of the pipe using just pressure gauges. Then you can just run those to a computer and it can solve for the leak. The added benefit is that you have your pressure at the inlet and outlet included - so all you need is the four pressure gauges to analyze your pipe. $\endgroup$
    – Mark
    Commented Jul 1, 2015 at 13:22
  • $\begingroup$ can you explain better how did you get that formula? $\endgroup$
    – mattia.b89
    Commented Jul 2, 2015 at 14:23
  • $\begingroup$ Sure. It's the principle of conservation of energy. I'll explain a bit better. $\endgroup$
    – Mark
    Commented Jul 2, 2015 at 14:29
  • $\begingroup$ ok, now it's almost clear... I was trying to get your final formula from the momentum conservation equation $\endgroup$
    – mattia.b89
    Commented Jul 3, 2015 at 8:01
2
$\begingroup$

Divide both sides of the equation by time. This allows you to use flow rates, but does not account for friction, so you will have to account for that with your standard hydraulic formulas.

$\endgroup$
1
  • $\begingroup$ What equation?? $\endgroup$
    – Algo
    Commented Jul 9, 2015 at 6:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.