Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
ย
Modeling of transient fluid flow in the simple pipeline system
1. MODELING OF TRANSIENT FLUID
FLOW IN THE SIMPLE PIPELINE
SYSTEM
Submitted by:-
Aniruddha Singha (184104602)
2. What is Transient Flow
๏ A transient is a temporary flow and pressure condition that occurs in a hydraulic system
between an initial steady-state condition and a final steady-state condition;
๏ When velocity changes rapidly in response to the operation of a flow-control device(for
instance, a valve closure or pump start), the compressibility of the liquid and the elasticity of
the pipeline cause a transient pressure wave to propagate throughout the system;
๏ In general, transients resulting from relatively slow changes in flow rate are referred to as
surges, and those resulting from more rapid changes in flow rate are referred to as water
hammer events. Surges in pressurized systems are different than tidal or storm
surges, flood waves, or dam breaks, which can occur in open-water bodies;
๏ In general engineering practice, the terms surge, transient and water hammer are synonymous.
1
3. Methods for Formulation of transient flow
โข Various methods have been developed to solve transient flow in pipes. These range from approximate equations to
numerical solutions of the nonlinear Navier-Stokes equations:
I. Arithmetic methodโAssumes that flow stops instantaneously (in less than the characteristic time, 2L/a),
cannot handle water column separation directly, and neglects friction (Joukowski, 1898; Allievi, 1902).
II. Graphical methodโNeglects friction in its theoretical development but includes a means of accounting for it
through a correction (Parmakian, 1963). It is time consuming and not suited to solving networks or pipelines with
complex profiles.
III. Method of Characteristics (MOC)โMost widely used and tested approach, with support for complex boundary
conditions and friction and vaporous cavitation models. It converts the partial differential equations(PDEs) of
continuity and momentum (e.g., Navier-Stokes) into ordinary differential equations that are solved algebraically
along lines called characteristics.
2
4. Common causes of transient flow
The most common causes of transient initiation, or source devices, are all moving
system boundaries.
โข Sudden change of external flow demand at a junction due to fire demand or
valve closure;
โข Sudden valve opening or closure;
โข Pump Failure;
โข Valves can be opened or closed with
the time varying change.
Fig:- Common Causes of Hydraulic Transients 3
5. Valves : A valve can start, change, or stop flow very suddenly. Energy
conservations increase or decrease in proportion to a valveโs closing or opening
rate and position , or stroke . Orifices can be used to throttle flow instead of a
partially open valve . Valves can also allow air into a pipeline and/or expel it,
typically at local high points.
(The problem that has been formulated for transient flow in pipelines is
due to closure of valve).
In pressurized networks, a steady-state condition or transient event at one
point in the system can affect all other parts of the system. Consequently,
computer models must consider every pipe that is directly connected to a
pressurized system, regardless of administrative or political boundaries.
4
6. Wave Propagation
The sequence of events following valve closure may be divided into four parts (Fig) as follows:
1. 0 < t โค L/a
When the valve is closed the flow velocity at the valve becomes zero. This increases the pressure at the valve by ฮH = -(a/g) ฮV.
and a positive pressure wave propagates towards the reservoir at the upstream. If a is the velocity of the pressure wave and L is
the length of the pipeline, then the wave front reaches the upstream reservoir at time t = L/a. At this time, along the entire length
of the pipeline, the pipe is expanded, the flow velocity is zero, and the pressure head is Ho + ฮH .
2. L/a < t โค 2L/a
Just as the wave reaches the upstream reservoir, pressure at a section on the reservoir side is Ho while the pressure at an adjacent
section in the pipe is Ho + ฮH. Because of this difference in pressure, the fluid flows from the pipeline into the reservoir with
velocity -Vo. Thus, the flow velocity at the pipe entrance is reduced from zero to -Vo.
3. 2L/a < t โค 3L/a
Since the valve is completely closed, a negative velocity cannot be maintained at the valve. Therefore, the velocity changes
instantaneously from โVo to 0, the pressure drops to Ho โ ฮH, and a negative wave propagates towards the reservoir
Behind this wave front, the pressure is Ho - ฮH and the fluid velocity is zero. The wave front reaches the upstream reservoir
at time t = 3L/a, the pressure head in the entire pipeline is Ho - ฮH, and the fluid velocity is zero.
.
5
7. 4. 3L/a < t โค 4L/a
As soon as this negative wave reaches the reservoir, an unbalanced condition is created again at the
upstream end. Now the pressure is higher on the reservoir side than at an adjacent section in the
pipeline. Therefore, the fluid now flows from the reservoir into the pipeline with velocity Vo, and the
pressure head increases to Ho .At time t = 4L/a the wave front reaches the downstream valve, the
pressure head in the entire pipeline is Ho, and the flow velocity is Vo. Thus, the conditions in the pipeline
at this time are the same as those during the initial steady-state conditions except that the valve is now
closed.
Since the valve is completely closed, the preceding sequence of events starts again at t = 4L/a
Fig:- Pressure variation at valve
6
8. Formulation of problem
During the hydraulic shock (water hammer) in the metal pipe, the
velocity c of the pressure disturbance is usually three times greater than
the velocity v of the flow, which therefore, may be ignored in the
characteristic equations
๐๐ฅ
๐๐ก
= ยฑ c (1)
In the simplified analysis, fluid viscosity is neglected, which means that
in the equation:
ยฑ
๐
๐
๐โ
๐๐ก
+
๐๐ฃ
๐๐ก
+
ฮป๐ฃโฃ๐๐ฃโฃ
2๐
= 0 (2)
7
9. The last member is cancelled, i.e.
ฮป๐ฃโฃ๐๐ฃโฃ
2๐
= 0 . Considering the reductions mentioned, simple pipeline system is
analysed as shown in Figures below
Fig:- Diagram x-t for the basic version
of the simple pipeline Fig:- Schematic diagram of pipe system
8
10. 1. Continuity Equation for Unsteady Flow
The continuity equation for a fluid is based on the principle of conservation of mass.
The general form of the continuity equation for unsteady fluid flow is as follows :
๐2 ๐๐
๐๐ฅ
+ ๐๐ด
๐๐ป
๐๐ก
=0
2. Momentum Equation for Unsteady Flow
The equations of motion for a fluid can be derived from the consideration of the forces
acting on a small element, or control volume, including the shear stresses generated by
the fluid motion and viscosity. The three-dimensional momentum equations of a real
fluid system are known as the Navier-Stokes equations. Since flow perpendicular to
pipe walls is approximately zero, flow in a pipe can be considered one-dimensional, for
which the continuity equation reduces to
๐๐
๐๐ก
+ ๐๐ด
๐๐ป
๐๐ฅ
+R๐ โฃ ๐ โฃ= 0
9
11. Data used for the problem
โข The height of the water pressure in the tank, h = 100m
โข The length of the pipe, l = 12000 m
โข Number of pipes in the system, n = 4
โข Pipe diameter, D = 900mm
โข Pressure wave velocity, c = 1200 m/s
โข Coefficient of friction resistance, f= 0.022
โข ฮx=l/n=3000 m
โข ฮt=6 sec
Initial values
โ1=100 at t=0,6,12โฆโฆโฆ
โ2= 99.83 at t=0
10
12. โ3=99.50 at t=0
โ4= 98.70 at t=0
โ5=98.5 at t=0
Known values of discharge taken
Q(:,1)=2.63; Q(1,2)=1.89; Q(1,3)=0.6; Q(1,4)=0.2
11
13. Lax Scheme
The numerical scheme used in the problem is the Lax Scheme. This scheme is first-
order accurate, is easy to program and gives satisfactory results although sharp wave
fronts are slightly smeared.
The partial derivatives as follows:-
๐๐ป
๐๐ก
=
๐ป๐
๐+1
โ ๐ป๐
ฮ๐ก
๐๐
๐๐ก
=
๐๐
๐+1
โ ๐๐
ฮ๐ก
๐๐
๐๐ฅ
=
๐๐+1
๐
โ ๐๐โ1
๐
2ฮ๐ฅ
๐๐ป
๐๐ฅ
=
๐ป๐+1
๐
โ ๐ป๐โ1
๐
2ฮ๐ฅ 12
14. In which
เดฅ๐ป๐ = 0.5(๐ป๐+1
๐
โ ๐ป๐โ1
๐
) and
เดค๐๐ = 0.5(๐๐+1
๐
โ ๐๐โ1
๐
)
Putting the above equations in Continuity and momentum equation we have,
๐ป๐
๐+1
=0.5(๐ป๐โ1
๐
+๐ป๐+1
๐
)-0.5
๐2
๐๐ด
ฮ๐ก
ฮ๐ฅ
(๐๐+1
๐
โ ๐๐โ1
๐
)
and
๐๐
๐+1
=0.5(๐๐โ1
๐
+๐๐+1
๐
)-0.5๐๐ด
ฮ๐ก
ฮ๐ฅ
(๐ป๐+1
๐
โ ๐ป๐โ1
๐
) โ Rฮ๐ก เดค๐๐| เดค๐๐|
Fig:- Elementary mesh of
characteristics grid for internal
points
13
15. MATLAB Code
h = 100 ; %The height of the water pressure in the tank,m
l = 12000 ; %The length of the pipe,m
n = 4 ; % Number of pipes in the system,
D = 900/1000; %Pipe diameter, Pipe diameter,mm
c = 1200 ; % velocity of pressure wave,m/s
f= 0.022 ; % Coefficient of friction resistance,
g=9.8 ; %acceleration due to gravity,m/s^2
Q=2.63; %discharge in first node,m^3/s
A=(pi*D^2)/4; %Area of pipe,m^2
V=Q/A; %velocity of water,m/s
%hf=(f*l/n*V^2)/(2*g*D); %%head loss in second node by weisbach equation
hf=.345;
H=100; %head in first node
15
16. h1=99.83; h2=99.50; h3=98.7; h4=98.5; %%% head in each node,m
R=f/(2*D*A^2);
deltax=l/n; %dx
deltat=6; %dt
hh=zeros(8,5);
hh(:,1)=100; hh(1,2)=h1; hh(1,3)=h2; hh(1,4)=h3;
hh(1,5)=h4; %%head loss matrix
qq=zeros(8,5);
qq(:,1)=2.63; qq(1,2)=1.89; qq(1,3)=.6; qq(1,4)=.2;
qq(1,5)=.39; %%discharge matrix
t=0:6:42;
for i=1:7
for j=1:3
hh(i+1,j+1)=hh(i,j)+hh(i,j+2)-(c^2/(2*g*A))*(deltat/deltax)*(qq(i,j)-qq(i,j+2));
for k=1:8
q(k,j+1)=1/2*(qq(k,j)+qq(k,j+2))
end
qq(i+1,j+1)=1/2*(qq(i,j)+qq(i,j+2))-(g*A/2)*(deltat/deltax)*(hh(i,j)-hh(i,j+2))-R *q(i,j+1)*abs(q(i,j+1))*deltat
end
16
23. Conclusion
๏ The construction of reliable and efficient piping systems represents a large
investment cost due to the number of protective elements to be installed to keep the
system safe from non-stationary phenomena;
๏ The terms for one-dimensional fluid flow, with the introduction of assumptions and
simplifications, are quite complex, therefore MATLAB programs is used to calculate
fluid flow parameters;
๏ In the numerical calculations advantage has been taken of the Lax Scheme which
can be used in the cases when frictional effects are very important. In this method
the values of the pressure heads and discharge flows are calculated on the basis of
the mean resistance of elementary pipe sections related to the flow value of the
preceding and following time steps.
14
24. References
๏ Salmanzadeh M. (1993) โNumerical Method for Modeling Transient Flow in
Distribution Systemsโ, Islamic Azad University, Shoushtar;
๏ Vataj G. & Berisha X. (2018) โMODELING OF TRANSIENT FLUID FLOW IN
THE SIMPLE PIPELINE SYSTEMโ, University of Prishtina, Pristina, Kosovo;
๏ Textbook of APPLIED HYDRAULIC TRANSIENTS by M. Hanif Chaudhry.
23