You are on page 1of 6

THE NUMERICAL MODELING OF FLOWS IN THE COMPLEX PIPE NETWORKS

RKADY A. ATAVIN 1), VLADIMIR V. TARASEVICH 2) ) Institute for Water and Environmental Problems of Siberian Branch of the Russian Academy of Sciences, Papaninzev str., 105, Barnaul, 659099, Russia. E-mail: atavin@iwep.altai.su. 2 ) Novosibirsk University of Architecture and Civil Engineering (NGASU) NGASU, Leningradskaya, 113, Novosibirsk, 630008, Russia tel.: (383-2) 66-47-87; fax: (383-2) 16-11-07; e-mail: tvv@iis.nsk.su
1

ABSTRACT The complex pipe systems are considered. The computation of fluid dynamics in such systems is the widespread and important problem in practice. The considered problems belong to the category of graph-defined problems. The flows in such system may be considered as intermediate kind of flows between one-dimensional and spatial flows. The nonisothermal flows in quality of the general case are considered. The model of such flows is offered which represents in essence the further generalization of model of water hammer. The boundary conditions and initial data problem are discussed. The simplified model of a flow (in neglect by thermal processes) is offered regarding the considered network as system with the lumped parameters. The methods of calculation are considered. Some specific difficulties are discussed which are caused by the scale heterogeneity. The combined implicit-explicit method of calculation for unsteady isothermal flows is described. The suggested technique was used for computations of various real pipe systems. The examples of calculations are demonstrated: the flows in heat supply system, the pressure oscillation in hydrodriver of pressure die-casting machine, the transients in main pipeline of liquefied natural gas. The comparison to experimental data confirming good adequacy of models, is resulted. Keywords: flow, liquid, pipe, system, model, calculation INTRODUCTION The notion "a complex pipe network" means some set of pressure pipelines, connected between themselves arbitrarily. Some equipment (pumps, valves and another devices) may be located in the sites of connection named nodes. The heating supply systems, the systems of industrial pipelines of nuclear and heat power plants, water-supply networks, gas and oil main pipelines, etc. may be the examples. Such system may be described by directed graph, at which arcs correspond to pipes of the system, and vertexes correspond to nodes of the system. Thus the orientation of arcs defines a direction of x axis. The considered problems belong to the category of graph-defined problems [1].

MATHEMATICAL FORMULATION OF PROBLEM THE EQUATION DESCRIBING THE LIQUID FLOW IN PIPE Nonisothermal Flow Lets consider at first the general case of nonisotermal unsteady one-dimensional flow. Such parameters of flow as pressure p, absolute temperature T and velocity V are chosen in the capacity of unknown variables. Then the flows in each pipe of the network can be described by the following system of equations: qw p p V +V + a 2 = t x x c p (1 T ) V V 1 p dz +V + = g t x x dx qw T T V +V + Ta 2 = t x x c p (1 T ) (1)

(2)

(3)

where t is time, x is longitudinal coordinate, is density, is cross - section area and is wetted perimeter of pipe, is tangential stress of friction determined according to Darcy - Weisbach formula [2]. Here = T 2 T T , = , where p is isothermal compressibility factor; T is p + 2 p c p coefficient of volumetric thermal expansion; Cp is thermal capacity under constant pressure, p is so-called coefficient of elastic repulse of pipe's wall [3]; and T is coefficient of linear expansion of material of pipe's wall. In the equations (1) (3) a = a0

is nonisothermal velocity of perturbations 1 T propagation, where a0 is the velocity of water hammer wave [4] ;. qw is rate of heat flux from environment to the flow: q w = K (Tenv T ) where Tenv is environmental temperature, K is heat transfer coefficient. These equations were obtained taking into account the assumption that next estimations are valid for the actual range of pressure and temperature: p T << 1 , p p << T T . c p The system of equations (1) (3) belongs to hyperbolic type [5] and has three real dx dx dx characteristics: =V +a, = V a and =V . dt dt dt Isothermal Flow (4)

The unsteady one-phase isothermal flows in the pipe systems are the important and widespread kind of considered flows. This case can be obtained as a result of passage to the limit under K in formula (4). Then the energy equation degenerate into equation T = Tenv = const and equations (1) (3) transform into wellknown water hammer equations [4, 2]. BOUNDARY CONDITIONS The functioning of nodes of system is described by the mixed system of algebraic and order differential equations in common case. This system of equations is used as the boundary conditions for equations (1) (3). Thus one boundary condition is necessary for the extremity of pipe, where the liquid flows into the node, and two boundary conditions are necessary for the extremity of pipe, where the liquid outflows from the node. THE PROBLEM OF INITIAL DATA The parameters of steady flows are used as the initial data for the unsteady process as a rule. The computation of the steady solutions is quite difficult problem too [6, 7]. Some ways of the solving of this problem were discussed in the paper, among them new approach based on application of the artificial intelligence technique[6]. THE SIMPLIFIED MATHEMATICAL MODEL Plenty of pipes and nodes, complexity of system require significant computing resources. However for many kinds of problems we handle with rather smooth variations of parameters of a flow. The contribution of the distributed account of wave properties is negligible in this case. Therefore for smoothly varied currents (and processes) it is possible to take into account properties of elasticity and compressibility integrally, proceeding to model of system with the lumped parameters. For smooth-variation flow the assumed mathematical model can be simplified up to next form: l L dVl 1 l L = ( pl p ) + g( z l z ) l VV dt 2d l l dVr 1 L = ( p pr ) + g( z z r ) r r Vr Vr dt 2d (5)

r L

(6)

2 dp a 0 = (Vl Vr ) dt L

(7)

where L and d is the length and diameter of pipe; indexes l and r denote the beginning (x=0) and end (x=L) of pipe correspondingly; is Darcy-Weisbach friction factor; p is supplementary parameter (integral pressure), depended on elastic characteristics of liquid and pipe. The weight coefficients l > 0 and r > 0 , l + r = 1, are chosen based on the requirement of the best nearness for frequency characteristics of both original and

simplified models. One can put l = r = 1/2 under absence of the specialized information. THE METHOD OF COMPUTATION The application of a method of the characteristics for the calculations of nonisothermal flows (system (1) (3)) seems to most expedient. This method is often applied for calculation of isothermal flows also (i.g. for water hammer equations) [2]. However the application of a method of characteristics in the classical form requires that Courant numbers Cr for each pipe must be equal 1 strictly. The various techniques are applied for overcoming of this restriction, which conduct to the irregular calculation, or are connected with correction of L or a0 for some pipes, that introduces the additional errors (sometimes rather significant). The application of the schemes of the running calculation [5] permits to remove this restriction, since instead of strict equality the fulfilment of a more soft inequality Cr 1 is required. The system can include both lengthy pipes and short pipes. In this case the length of short pipe will be the limiting factor restricting to mesh width. That leads to the calculation with unjustified small-sized step and large costs computing resources. The explicit - implicit scheme of the running calculation with a variable time step is offered, which permits the calculation to be flexibly adapted to various scales of a system and to the change of character of process. For short pipes the calculation is executed under the implicit scheme, for long pipes under the explicit scheme. For smooth transients the time step can be increased (and the transition to the implicit scheme completely for all system is possible), for currents with large gradients the time step decreases (Courant numbers are to be near but at most 1 ). If on all pipes, contiguous to some node, the calculation occurs under the explicit scheme then the boundary conditions can be easily solved separately for each node. The boundary conditions together with finite-difference equations constitute unified system of the equations in case of the implicit calculation. This system can be solved by direct methods (for example, Gauss elimination), by iterations or sweep method, similarly [1,6]. RESULTS OF CALCULATIONS The above-mentioned technique was used for computations of various actual pipe systems (hydrodrivers, pipe system of nuclear power plant, water supply networks, etc.). The results of research of transient in heat supply system are shown in Fig.1. This system represent the high-branched complex pipe network. The transient was caused by sudden failure at one of pumping plants disposed on the return pipeline. There curve 1 is result of calculation and curve 3 is experimental data for pressure in suction pipe of pump; curve 2 is the result of computation and curve 4 is experimental data for the pressure in the delivery pipe.

Fig. 1. Transient in heat supply system. The results of research of unsteady flow in the of pressure die-casting machine is represented in Fig.2. The violent transient caused by impact of press-piston upon molten metal.

Fig. 2. Pressure oscillation in squeeze casting machine. The problems arising under designing of the main pipeline of liquefied natural gas were considered. The failure on this pipeline as sudden break of a pipe was simulated. The results of calculations of pressure p, outflow velocity V and temperature T in a site of break are submitted in Fig. 3. The computations were performed by model (1) - (3). One can see from Fig. 3, that the wave processes

represent high-frequency fluctuations with not great amplitude superimposed on the basic rather smooth transient. The simplified model (5) - (7) can be quite used for calculation of hydraulic parameters p and V of this basic transient.

Fig. 3. Transient in pipeline of liquefied natural gas. CONCLUSION Numerous computations of unsteady flows in various systems were performed by specified methods. Comparison with experimental data and analytical solutions (where it is possible) has confirmed a good degree of adequacy of used models. The durational computing practice has confirmed high efficiency of used technique for calculations of a wide range of flows in the complex pipe systems. REFERENCES A.F.Voevodin, S.M.Shugrin, The numerical methods of calculating of onedimensional systems.- Novosibirsk, Nauka, 1981 (in Russian). V.L.Streeter, E.B.Wylie, Hydraulic transients. Mc Graw-Hill, 1968. N.A. Kartvelishvili. Dynamics of pressure pipelines. Energia, Moscow, 1979. (in Russian) N.E.Zukowsky, About the water hammer in water-supply pipelines // Proc. 4th Russian water-supply congress. - Moscow, Russia, 1899 (in Russian). B.L.Rozhdestvensky, N.N.Yanenko, The systems of quasilinear equations and their applications to gas dynamics. Moscow, Nauka, 1978. (in Russian) V.V.Tarasevich. The Simulation and Mathematical Modelling of the Complex Pipe Systems. 5-th (IMACS) World Congress on Scientific Computation, Modelling and Applied Mathematics. Berlin, August 1997. Proceedings, vol. 3., Computational Physics, Chemistry and Biology. p. 115-120. Editor by Achim Sydow. A.P.Merenkov, V.Y.Hasilev, The theory of the hydraulic circuits. - Moscow, Nauka, 1985. (in Russian)

[1] [2] [3] [4] [5] [6]

[7]

You might also like