Model the flow of liquid through a pipe/tube and calculate the pressure

AI Thread Summary
To model liquid flow through a pipe and calculate pressure drop, it's essential to establish appropriate boundary conditions. Using a pressure inlet of 1.8 bar and a pressure outlet of 1 bar is common, but the pressure drop may appear linear due to constant flow rates and turbulent conditions, especially with Reynolds numbers over 4000. The exit pressure will be atmospheric, but the total pressure will be higher due to the fluid's velocity. It is often more effective to specify flow rate at the inlet and pressure at the outlet to compute the pressure drop accurately. Adjusting the simulation approach to focus on flow rate can yield better results in future runs.
redargon
Messages
370
Reaction score
0
I want to model the flow of liquid through a pipe/tube and calculate the pressure drop over the pipe. What sort of boundary conditions should I be using?

I tried with a pressure inlet and a pressure outlet, but I'm not sure if that is the right way to go. Pressure at inlet = 1.8bar, pressure at outlet = 1 bar (open to atmosphere). When I check the results, I have a pressure of about 1.4bar in the middle of the pipe length. This seems intuitive as we are going from 1.8bar to 1 bar, but using pressure loss theory, shouldn't the pressure loss be more non linear than that due to friction factors? Like how Darcy-Weisbach equation describes.

The pressure of the fluid at the exit won't be exactly atmospheric, because the liquid has a velocity as it exits and therefore a pressure is required to generate that velocity. What am I missing?
 
Engineering news on Phys.org
redargon said:
[...] When I check the results, I have a pressure of about 1.4bar in the middle of the pipe length. This seems intuitive as we are going from 1.8bar to 1 bar, but using pressure loss theory, shouldn't the pressure loss be more non linear [...]

That does depend on (at least) what is the fluid and the pipe diameter, i.e. Reynolds number. For a nice big Re (all turbulent flow, thin boundary layer) and incompressible fluid, the pressure drop will be linear. That's because the velocity of the fluid will be constant along the pipe (constant flow rate), the loss coefficient too (no laminar regions), so the pressure drop comes out as \Delta p = q A \xi \Delta l (q dynamic pressure, A pipe cross section area, \xi loss coefficient, \Delta l pipe segment length), i.e. \Delta p \propto \Delta l.

The pressure of the fluid at the exit won't be exactly atmospheric, because the liquid has a velocity as it exits and therefore a pressure is required to generate that velocity. [...]

That's... a glitch in thinking I myself have made more times than I will admit :) The (static) pressure will be exactly atmospheric, as there is nothing any more to drive or act on the flow as it exits. The total pressure will be higher, of course, and dissipate to zero in the external environment. You can also look at it numerically -- if you have set the outlet boundary condition to 1 bar, then it will be 1 bar.

I tried with a pressure inlet and a pressure outlet, but I'm not sure if that is the right way to go. [...]

If it works, why not; but basically it depends on what you know, and what you want to compute. A more usual thing to know is the flow rate and the exit conditions (atmosphere), and to need to compute the pressure drop. Then you would specify flow rate at inlet and pressure at outlet, and get pressure at inlet as the result of the computation (i.e. you would have computed the pressure drop, rather than specifying it).

Another thing is that pressure-pressure condition can be numerically difficult to compute, since the solver has no idea of the flow features beforehand (what is the velocity, what is the Re...) So even if these two pressures are what you know (and you want to compute the flow rate), then it's better to first make an educated guess on the flow rate, compute with flow rate-pressure, and take that result as initial solution for the next simulation with pressure-pressure.

--
Chusslove Illich (Часлав Илић)
 
Thanks for the help caslav,

I'm getting the hang of dynamic pressure vs static pressure and I understand now about the exit properties of the flow.

For added info, I am working with water in a 2mm to 6mm diameter tube at flowrates of about 2l/min, so from my Reynolds calcs, Re > 4000 so I'm in the turbulent region.

I will try with the flowrate inlet and pressure outlet, I thought about this a little later and the simulations had already started, but will try it on the next runs.
 
Here's a video by “driving 4 answers” who seems to me to be well versed on the details of Internal Combustion engines. The video does cover something that's a bit shrouded in 'conspiracy theory', and he touches on that, but of course for phys.org, I'm only interested in the actual science involved. He analyzes the claim of achieving 100 mpg with a 427 cubic inch V8 1970 Ford Galaxy in 1977. Only the fuel supply system was modified. I was surprised that he feels the claim could have been...
Thread 'Turbocharging carbureted petrol 2 stroke engines'
Hi everyone, online I ve seen some images about 2 stroke carbureted turbo (motorcycle derivation engine). Now.. In the past in this forum some members spoke about turbocharging 2 stroke but not in sufficient detail. The intake and the exhaust are open at the same time and there are no valves like a 4 stroke. But if you search online you can find carbureted 2stroke turbo sled or the Am6 turbo. The question is: Is really possible turbocharge a 2 stroke carburated(NOT EFI)petrol engine and...

Similar threads

Back
Top