You are on page 1of 6

TSINGHUA SOENCE AND TECHNOLOGY

ISSN 1007-0214 10/21 pp697 -701


Volume 8, Number 6, December 2003

Parallel Simulation of 3-D Turbul ent Flow Through


Hydraulic Machinery"

xu Yu (1~ ~), WU Yulin ( ~.L.~*-) * *

Department of Thermal Engineering, Tsinghua University, Beijing 100084, China

Abstract: Parallel calculational methods were used to analyze incorrpressible turbulent flow through hydrauli c
machinery. Two parallel methods were used to si mulate the complex flow fi e1d. The space decorrposition
method divides the computational dorrain into several sub-ranges. Parall eI discrete event simulation divides
the whole task into several parts according to their functi ons. The simulation results were corrpared with the
serial simulation results and parti cle image velocimetry (PIV) experimental results. The results give the
distribution and configuration of the complex vortices and illustrate the effectiveness of the parallel algorithms
for numerical simulation of turbulent flows.

Key words: parall eI simulation; hydrauli c machinery; particle image vel ocimetry (PIV); turbulent flow;
vortices

so as to select the best configuration for model


Introduction testing.
Traditionally, design and development of hydraulic The present work used the Tsinghua TongFang
machinery like tur bine runners rely heavily on ( THT F ) 'Explore 108" cluster computer with
physical model testing, which is costly, time eigh t no des and a 1 OO-NI B fast ethernet
co nsum ing and difficul t . Com pu tational metho ds connection. Each node has dual Pentium III
provide a number of advantages as a supplemental 500MHz CPUs, 256MB SDRAM ECC memory,
tool to model testing. In the last decade, rapid and an SCSI Ultra2 4.5 GB hard disk.
progress has been made in computer hardware and The system used Solaris and Linux operating
computational fluid dynamics (CFD). Advanced systems, and used MPI1. 2 as the message-passing
methods have been developed, especially for interface[1,2]. The whole system had a peak
turbulent flow analyses and flow visualizatio n, performance of 16 G FLOPS.
which enable optimization of the flow patterns at The Reynolds time-averaged N avier-Stokes
both design and off-design 0 perating conditions. equations and the standard k-E model were solved
The tur bulent flow behavior must be thoroughly using the SIM PLEC algorithm [3] with body-fitted
understood to improve performance and efficiency. coor dimat es [4] and a stag gere d d sys t em to
g rt
The rapid advancements of computer capability and calculate the v elo city and pres sure dis tribu tio ns.
computational fluid dynamics in recent years have T he results for 3-D turbulent flow s were displayed
made 3-D flow analysis practical. A ccurate and by using a commercial software, Tecplot (version
reliable numerical procedures can often guide 7. 5). The simulation results are useful not only
designers to identify and avoid potential difficulties for analyz ing the fluid mechanics but als 0 for
analyzing the geometric design.
Received: 2002-D4-22; revised: 2002-D5-30
* Supported by the National Natural Science Foundation 1 Governing Equations
of China (N o. 50176022) F or steady single-phase tur bulent flow of an
* * To w hom correspondence should be addressed. incompressible Newtonian fluid with an angular
E-mail: yulinwu@163bj.com;
Tel: 86-10-62782187
velocity, w the continuity and momentum
e qu at io ns c an be w ri t ten as
698 Tsinghua Science and Technology , December 2003, 8(6): 697 - 701

E x + Fy + c. = S ( 1)
where (x, y, z) represent the Cartesian coordinates
2 Parallel Methods
and Two parallel methods were considered in the
Pu Pv . I proced ure[5, 6] . T h e space d ecomp os ition
n u merrca ..
Puu - P effUx Pvu- peffpy method divides the computational domain into n
E= F=
Puv - peffVx Pvv - peffVy sub-ranges. The parallel discrete event simulation
Puw - peffW x Pv W - peffW y divides the whole task into several parts according
to their functions[7]. Figure 1 illustrates the sub-
Pw ranges used for the space decomposition method
Pw u- peffUz

..
G= and Fig. 2 shows how the problem was divided for
Pw V - peffVz the parallel discrete sim ulation method.
Pw W - peffW z .
p ,., ,., ~ II II oil .. II

.
:.

. . .....
...
;
o

. ..
us) x + i u effV x) y + (p Eff W x ) z -
( P Eff + 2 PWu
s= ( P Eff Uy ) x + (PeffV y ) y + (p EffW y ) z - * + 2 Pilll '
P: :.
:

iJ'+l
: Rank=2
:
P; :...........................................................
:.
~ :

( P eff Uz) x + (p EffVz) y + (p effW z) z - P; : i-1 j i.j i+1 j ;


'

:. ..; '. : Rank=1


where P is the total pressure, which is equal to : ij-1 ;
the static pressure P plus the centrifugal force; : :
Pav and Pilll are the Corio lis force components; ~ - :

and r is the radius. Equation (1) was then ;. ; Rank=O


trans fo rmed to a general cur vilinear coord inat e
sy stem (~, '7, 'Q used for the calculation.
:.
................ _- .
..
For turbulent flow computations, the standard Fig. 1 Space decomposition
k- turbulence model has been employed to predict
the turbulent eddy viscosity, pt. T he turbulent Initialize
kinetic energy equation, the k equation, and a
turbulent kinetic energy dissipation rate equation,
the E equation, ar[:
~[Pujk -
QXj
fJ + fJ~
CTk]
ok] = P(pk - )
QXjJ
(2)

o~JpUj- [fJ + ~ ~J = P ~ (CLpk - C2f:)


( 3)
where xj (j = 1, 2, 3) represent coordinates x, y,
and z; ut represent the three velocity components; Fig. 2 Discrete simulation method
and pk is the turbulent kinetic energy production
terms defined as [ ~ Each of these two methods has its own merits
u, QUi QUj QUi and weaknesses. T he first method is suitable for
k= - - + - -.
P P QXj QXi QXj almost all kinds of problems and its communication
The turbulent model constants are: Cp = 0.09, costs are rather small, but if the computational
Cl= 1.44, C2= 1. 92, CTk= 1.0, CTE= 1. 3. domain is very complicated or irregular, it is very
The effective viscosity, PEff, is equal to the difficult to balance the load. The second method is
molecular viscosity plus the turbulent eddy not affected by a complex domain and is very
viscosity, simple and int uit ive, but it is lim ited by the
P Eff = P + P t ( 4) number of functions and the communication costs
With the standard k-E turbulent model, u, was are larger than those of the first method.
determined using This work used both methods for the parallel
k2 s imulation'{ . T he first method was used to
Pt= PC p E ( 5) simulate turbulent flow through a pump-turbine
Equations ( 1), (2) and (3) form a closed set of runner (pump mode) with the results compared to
nonlinear partial deferential equations governing those of a serial simulation. The second metho d
the turbulent fluid motion. was used to simulate flow through a model pump
xu Yu (1~ 1') et al: Parallel Simulation of 3-D Turbulent Flow Through . 699

sump with the results compared to particle image the suction side (along the K direction of the grid
velocimetry (PIV) measurements. The speed-up system), projected onto the meridian planes.
ratio and the efficiency of the first method were
higher than those of the second method.

3 Results and Discussion


3. 1 Simulation of flow through a pump-turbine
runner
Since the computational domain IS not very
complicated, the turbulent flow through a pump-
turbine runner in the pump mode was computed
num erically using the space decompo sition
method. The runner and the computational
domain, which only include the flow passage
between two blade surfaces of the runner, are
shown in Figs. 3 and 4. In the domain, the nodes
along the I direction were from the dom ain inlet to Fig. 5 Pressure distribution on surfaces from the
pressure side to suction side (unit: m water
the outlet, extending from the leading edge to the
column. Lrn water colmnn= 9980Pa)
trailing edge of the runner blades. T he nodes along
the J direction were from the back disc to the front The results show that along the runner, the
disc of the ru nn er. The nodes along K direction pressure increases from the runner inlet to the
were from the pressure side to the suction side of outlet and from the blade suction side to the
the blade. pressure side. In the flow near the inlet, the
pressure variation is caused mainly by centrifugal
acceleration with the pressure varying
approximately relative to the radius. The pressure
variation later in the flow is caused mainly by
Coriolis acceleration as the relative velocity
Increases (show n in Fig. 6). This effeet IS more
significant on the pressure side.

Fig. 3 Dlustration of the reverse pmnp-turbine runner

Fig. 4 Illustration of the computational domain

The parameters in the reverse runner were:


runner diameter is 0.49m, blade number is 7,
Fig. 6 Relative velocity distribution on surfaces from
outlet height is 0.0496m, inlet diameter is
near the pressure side to near the suction side
0.254 m, ro tational speed n n = 1000 r/ m in, and (unit: mls)
3
discharge Q11= 0.22 m / s.
T his set of conditions is below the design point. The relative v elo city vecto rs near the leading
Figure 5 show s the pressure distributions through edges in Fig. 7 show that there is no reverse flow
the runner on surfaces from the pressure side to in the passage near the leading edge.
700 Tsinghua Science and Technology , December 2003, 8(6): 697 - 701

simulation was compared with that of the serial


simulation on a single processor using the speed-up
ratio, S p, the efficiency, E p , and p for proces sors
given by
S p= Tol T p= 2. 84 and
Ep= Splp X 100%= 2. 84/6XI00%= 47.3%,
w here To is the tim e for the serial algorithm on a
single processor.

3.2 Simulation of flow through a pmnp smnp


The intake model used in the analysis was shown
3
in Fig. 9. The flow r ate at inlet A was 1. 08 m I
3/min.
min. The flow rate at inlet B was 1. 32m
3/min.
Fig.7 Relative velocity vectors on surfaces from near The pump outlet flow rate was 2. 40m
the pressure side to near the suction side near
Figure 9 shows that the computational domain
the leading edges
was very com plicated. The load could not be easily
Figure 8 shows the velocity momentum balanced using the space decomposition method.
distribution on surfaces from near the pressure side For this complex geometry, the discrete event
to near the suction side. T he velocity momentum method was used.
inside the runner increases from its inlet to the The co mputatio nal res ult s show 3-D v ortices in
outlet with a variation throughout the flow the computational domain that are very difficult to
passage. illustrate here. One way to visualize the flow
clear ly is to plot '~treamlines" using only the
. com ponents In
veI0 CIty . t he ch osen panes
I [10,11] .
Figure 10 show s the vortex in the corner at the
intersection of the back wall and the side-wall and
one attached to the back wall between the back
wall and the intake pipe. T he results agree well
with the PIV results. T he asymmetry of the
calculat ed flow is eviden t.
Fig ure 11 s ho w s t he 3-D velocity dist rib u tion
parallel to the back wall. T he general trends of the
numerical simulation and the PIV experiment are
similar. The speed-up ratio, Sp, and efficiency,
E p, for this calculation with 6 processors are
Fig. 8 Absolute velocity momentum contours on S p = T 01 T p = 2. 28,
surfaces from near the pressure side to near E; = Splp X 100% = 2.2816 X 100% = 38%.
the suction side (unit: m water column)
The speed-up ratio and the efficiency of the
T he results show that the flow in the runner second method were smaller than those for the first
below the design point is still smooth. T he results method because of the increased communication
of the parallel simulation are almost the same as costs with the second method.
those of the serial simulation[9], but for the same
4 Conel usions
convergence criterion, the parallel simulation
needs 10% - 15% m ore iterations than the serial Two parallel calculational methods were used to
sim ulation, partly because the transfer of the analyze incompressible turbulent flow in complex
boundary influence is slower in the parallel geometries. The results illustrate the flow
sim ulat ion . conditions including the distribution and structure
In the analysis, the computational domain was of the complex vortices. The results of the parallel
divided into 6 sub-ranges, so the analysis used 6 simulation agree well with the results of the serial
processors. The performance of the parallel simulation and the experimental results. However,
xu Yu (1~ 1') et al: Parallel Simulation of 3-D Turbulent Flow Through . 701

2500

160 180

o
00

o 0
o oo:::t
oo:::t N
350
454
o
00

tP 129.8

o
oo
oo:::t

00
-I---~-oo:::t
N

Fig. 9 Intake model configuration (unit: mm)

-.-- U
3.0 .-- V
.. ... ... -.6.-W

. ....
- 'Y- Speed
2.0 ... " " ......
........ -

" .. . .-.,: ......


.
.... T "T-.
~ ......
E 1.0
...-..... ..
-.... - ... ... ...

'g
..... ...

~ 0.0
..
.................

- 1.0

L.......o---L
..... .........L. ......... ~..---..........---L
: : I-a ._ -1 :
.-..
...................~""'---""------'-_
......

(a) Simulation results o 40 80


120 160 200
X/nun
(a) Simulation results
u
3.0 v
-.&- w
" "........... ... " --.- Speed
2.0
-

~ ....-,,-T . . ..." I-I


g
..
1.0 .-.- ." :~T-..... "._": A.- ... ~.... ... 1:1 :1-'1

.~ 0.0
'U
:
-.t.
-.,. 6- t a-a-.- -


.-.-.-.
.._ -: -a a-a-a -.

> -1.0 ---.-. .-.. -t

-2.0
o 0 40 80 120 160 200
X/rrm
(b) PIV experiment results (b) Experimental results
Fig. 10 Streamlines and vectors on a plane parallel to Fig. 11 The 3-D velocity distribution parallel to the
the bottom (x-y plane)
back wall

the speed -up ratio and the efficiency are no t design analysis of turbulent flow In complex
satisfactory, mainly because of the large g eomet ries .
communication costs for the parallel methods.
These methods are useful for the engineering (To be continued on page 707)
TAf\X3 Xiaoqiang ( J! BJt~~) et al: Accural)' Analysis and Calibration of Gantry . 707

[ 4] Wang J, Masory O. On the accuracy of a Stewart [10] Wang J. Tang X. Analysis and dimensional design of
plat form - Part 1: T he effect of manufacturing a novel hybrid machine tool. International Journal
tolerances. In: IEEE Int. Conf. on Robotics and of Machine Tool and M anuf acture, 2003, 43( 7) :
Automation. Atlanta, GA, USA, 1993: 114 - 120. 647 - 655.
[5] Masory 0, Wang J. On the accuracy of a Stewart [11] Tang X, Wang J, Duan G, et al. Workspace and
platform - Part 2: Kinematic calibration and singularit y analysis of a novel parallel machine tool.
compensation. In: IEEE Int. Conf. on Robotics and China Mechanical Eng ineering, 2002, 13( 10): 817-
Automation. Atlanta, GA, USA, 1993: 725 -731. 819. (in Chinese)
[ 6] Masory 0, Wang J, Zhuang H. Kinemat ic modeling [12] Wang J, Duan G, Tang X. Gantry slide block type
and calibration of a Stewart platform. Advanced machine tool structure with virt ual shaft driven by
Robotics, 1997, 11( 5): 519 - 539. internal and external sets. USA Patent: US6402444,
[ 7] Zhuang H, M asory 0, Yan J. Kinematic calibration 2002.
of a Stewart platform using pose measurement s [ 13] Wang J, D uan G, Tang X, et al. V irtual shaft
obt ained by a single theodolite. In: IEEE Int. Conf. gantry machine tool frame driven by internal and
on Int elligent Robot s and Systems. Boca Raton, FL, ext ernal set s. China Pa tent: Z L99109823. 4, 2002.
USA, 1995: 329 - 334. (in Chinese)
[ 8] Ropponen T, Arai T. Accuracy analysis of a [14] Tang Xiaoqiang. Design theory and experiment of a
modified Stewart platform manipulator. In: IEEE novel hybrid machine tool [Ph. D. Dissertation].
Int. Conf. on Robotics and Automation. Nagoya, Tsinghua University, China, 2001. (in Chinese)
Japan, 1995: 521 - 525.
[ 9] Patel A J, Ehmann K F. V olumet ric error analy sis of
a Stewart plat form -based machine tooL CI RP
Annals, 1997, 46 ( 1): 287 - 290.

(Continued from page 701)

References
[ 1] Gropp W, Lusk E, Skjellum A. Using MPI: [8] Qiang J, Ryne R D, Habib S. Fort ran
Portable Parallel Programming with the implementation of object-oriented design in parallel
Message-Passing Interface. The MIT Press, 1999. beam dynamics simulations. Computer Physics
[ 2] Snir M, 0 tto S, Huss-lederman S, Walker D, Communications, 2000, 133( 1): 18 - 33.
Dongarra J. MPI-The Complete Reference. Vol. [9] Xu Yu, TangXuelin, Wu Yulin, NiikuraK, Sat o J.
1: The M PI Core. 2nd Ed. The M IT Press, 1998. Three -dimensional turbulent flow analy sis through a
[ 3] Patankar S V, Spalding D B. A calculation procedure pump-turbine runner at pump modes (pure water
for heat, mass and momentum transfer In condition). In: Hydraulic Machinery and Systems
three-dimensional parabolic flows. Int. J. Heat 20-th IAHR Symposium. Charlotte, North Carolina,
M ass Transfer, 1972, 15: 1787 - 1806. USA, 2000.
[ 4] Chen Y S. Computer code for three-dimensional [10] Veera P R, Constantinescu G S, Patel V C.
incom pressible flow s using nonorthogonal body-fitted Experimental validation of numerical model of flow in
coordinate systems. NASA CR-178818, 1986. pump-intake bays. Journal of H yd raulic
[ 5] Freeman T L, Phillips C. Parallel Numerical Eng ineering, 1999, 125( 11): 1119 - 1125.
Algorithms. Prentice Hall International (UK) Ltd., [ 11] Const ant inescu G S, Patel V C. Numerical model for
1992. simulations of pump-intake flow and vort ices.
[ 6] Anon. High performance computing applicat ions. Journal of Hydraulic Engineering, 1998, 124( 2) :
International Journal of H ig h Perf ormance 123 - 134.
Computing Applications, 1998, 12( 1-2): 272-299.
[ 7] Taylor S J E, Kalantery N, Winter S C.
Developm ents in parallel discret e event simulation at
the centre for parallel computing. Microprocessing
and Microprogramming, 1993, 37( 1 -5): 145 -148.

You might also like