Investigation of Inverse Design Method For Internal Flows
Investigation of Inverse Design Method For Internal Flows
1 Introduction
Nowadays, computer technology development and increasing computational
capacity make possible to solve and analyse high compute-demanding problems in
an acceptible time. This way computational flow modelling becomes more and
more widely spread. Applying CFD (Computational Fluid Dynamics) techniques
the number of experiments hence development cost and time can be reduced
considerably. With optimization tool integration the development process and
product efficiency can be further improved.
In industrial applications optimization of flow channel geometries is a frequently
occuring task. Flow losses can be reduced by eliminating stagnation points or
separation of the flow. Appropriate geometry design helps to establish required flow
characteristics that is essential for diffusers, inlet channels and water-cooling
schemes.
–1–
Veress et al. Investigation of Inverse Design Method for Internal Flows
–2–
Acta Polytechnica Hungarica
technique (Giles and Drela [3], Demeulenaere [4] and De Vito [5]). Although these
methods are primarily dedicated to the design of airfoils, wings and turbomachinery
cascades, it has also been applied for design of duct geometries (Cabuk and Modi
[6]). [7]
START
Initial Optimization
geometry criteria satisfied
Inverse analysis
Generate CFD mesh with opening wall
for prescribed set BC for Vn
distribution
Figure 1
C p x dC p dx 12
S (1)
10 6
Re
1 10
–3–
Veress et al. Investigation of Inverse Design Method for Internal Flows
p p0
Cp (2)
1
0 u02
2
C p 0.645 0.435Re0 1 5 x x0 1 5 1
2n
for C p n 2 n 1 (3)
and
a
Cp 1 for C p n 2 n 1 (4)
x x b
0
12
Figure 2
–4–
Acta Polytechnica Hungarica
quantities a and b are arbitrary constants used in matching values and slopes in the
two equations at the joining point, C p n 2 n 1 . Of course, eq. (3) describes
the beginning of the flow and eq. (4) the final part. The flow is an equilibrium flow
that always has the same margin, if any, against separation. Two families of such
flows have been computed; they are shown in Fig. 2.[9].[7]
2 Numerical Method
u v
2
u u p vu
U , F (U ) , G (U ) v 2 p , (6)
v uv
E uh vh
0 0
where is the density, u and v are the Cartesian components of velocity and p
is the static pressure. The specific total energy and enthalpy are the following:
1 p u2 v2 p u2 v2
E , h0 . (7)
1 2 1 2
–5–
Veress et al. Investigation of Inverse Design Method for Internal Flows
p V p V
c n c n V n c 0 . (9)
t t n n
The combination of the energy and adiabatic Poisson state equation is used to derive
the second equations for missing variables. The Newton-Raphson method has been
implemented to solve the system equations for p and V n at the new time level. The
temperature and the components of the velocity vector are easily to be recovered by
using ideal gas law and inlet flow angle, while the tangential velocity component is
kept to be constant.
The characteristic method has also been applied at the subsonic outlet to determine
the unknown variables. In this case, there are two outgoing and one ingoing
characteristics, hence the equations belong to first and the third variable; Wn(1) and
Wn(3) (see (8)) are used. The static pressure at new time level is given as a physical
boundary condition, hence the system of equations can directly be solved for density
and normal velocity at the next time level. The tangential velocity is also supposed
to be constant due to the shear wave Wn( 2) .
Soft solid wall convergence accelerator technique has been used to make the
convergence faster based on [11]. The basic mechanism of the model is to consider
massless spring damper system at the solid wall, which allows in-, or outflow
locally. Hence, the disturbances are not reflected from the wall, but damped, which
can help to reach the same convergence criteria by less iterations compared with
mirror or characteristic type solid wall. The normal velocity is expected to be zero
at the wall, hence one outgoing and one ingoing characteristics are considered.
Equation belongs to dn dt Vn c characteristics (8) is considered as a numerical
boundary condition. The massless spring-damper system represents the soft solid
wall [11],
Vn Vn p
, (10)
t c t
where k 1 is stiffness and 1 is the damping factor. The optimal
parameter values for the spring-damper system is 0.5 and t 100 to
minimise the wave reflection. The (9) and (10) are solved for the boundary pressure
–6–
Acta Polytechnica Hungarica
and normal velocity at the new time level. The tangential velocity is kept constant
regarding the first cell adjacent to the wall. The temperature is calculated by
adiabatic Poisson sate equation because the wall is considered to be isentropic over
the time evolution. The number of arithmetic operation is decreased and the
computational time can further be decreased by the presented method. [12]
where n n x , n y is the local outward pointing unit normal, H Fe x Ge y and
Hn is given by (12),
Vn
uVn pn x u
H n Hn and U
vVn pn y v
V H E
n
u v
2
u p vu
with F (U ) and G(U ) 2 . (12)
uv v p
uH vH
In order to pass from continuous to a discrete form, a choice about the type of
representation of the solution vector over the finite volume has to be made.
Replacing the second integral by a summation over the number of faces N f of the
chosen control volume i, j , eq. (11) can be written in the following semi-discrete
form for the point i, j ,
Nf
H
1
U i, j n i , j ,k i , j ,k in, j , (13)
t i, j k 1
where H n i, j ,k is the total inviscid flux normal to the cell interface with the length
of i, j ,k cell boundary exchanged between points i, j and k . i,n j represents the
residual, the scalar value of the surface integral in (11). In case of upwind
differencing schemes, the quantity H n i, j ,k are characterized by a flux function
~ ~
H n , which takes into account the sign of the Jacobian matrices. The H n U L , U R
–7–
Veress et al. Investigation of Inverse Design Method for Internal Flows
where u and v are the Cartesian components of the velocity vector. The wall
modification starts from the inlet stagnation point till the outlet stagnation point and
completed in vertical directions (see Fig. 2.). [12]
Figure 2
–8–
Acta Polytechnica Hungarica
Figure 3
Flow field geometry and boundary conditions of the verification case [15]
–9–
Veress et al. Investigation of Inverse Design Method for Internal Flows
Figure 4
– 10 –
Acta Polytechnica Hungarica
0.4
0.2
0
Cp [-]
-0.2
-0.4
-0.6
verification data
direct solver result
-0.8
0 0.25 0.5 0.75 1 1.25 1.5
x [m]
Figure 5
The difference between the values from the applied verification case and the
examined solver’s analysis is not significant, therefore the evaluated method is
acceptable in engineering point of view.
hmax x x start h
y sin 2 max , (16)
2 x end x start 2 2
where hmax is the maximum height of the sinusoidal profile, xstart is the start point
and xend is the end point of the profile.
– 11 –
Veress et al. Investigation of Inverse Design Method for Internal Flows
0 .7 x 3 .5 0 .7
y sin 2 (17)
2 6 .5 3 . 5 2 2
The range of the inverse design is 3.5≤x≤6.5. Maximum height of the sinusoidal
profile is 0.7 m.
At first, direct flow analysis is performed to determine the pressure distribution over
the specified sinusoidal profile. Then this pressure distribution is imposed at a flat
wall.as the target distribution. The iterative cycle (direct analysis – opening – wall
modification) is repeated until the required pressure distribution is reached.
The streamlines and the Mach-number distributions of the target and the result
profiles are shown in Fig.6. Fig. 7 illustrates the pressure distributions of the initial,
the target and the result profiles.
Figure 6
Flow field geometry and Mach-number distribution of the maximum reconstructable profile
– 12 –
Acta Polytechnica Hungarica
110 000
105 000
100 000
pstat [Pa]
95 000
90 000
85 000
initial
result
target
80 000
0 1 2 3 4 5 6 7 8 9
x [m]
Figure 7
At the end of the design cycles the target and the result pressure distributions equal
to each other. It can be stated that the inverse design software functions in
accordance with the expectations.
For higher sinusoidal profiles the inverse design could not provide the required
result, because the flow is unable to follow up the geometry precisely hence
recirculations appear. Therefore, the profile is not characterized perfectly by the
developing pressure distribution. The same situation occurs over profiles with
sudden change of direction (e.g trapezoidal profile) even in case of a much smaller
profile height. As the flow velocity increases the height of the maximum
reconstructable profile decreases. It can be assumed that inverse design can generate
a profile from the prescribed pressure distribution if that pressure distribution
represents a completely profile-following flow.
– 13 –
Veress et al. Investigation of Inverse Design Method for Internal Flows
The streamlines and the Mach-number distribution of the initial profile are shown
in Fig. 8. Fig.9 illustrates the pressure distributions of the initial, the target and the
result profiles.
Figure 8
Flow field geometry and Mach-number distribution of the maximum smoothable profile
Figure 9
– 14 –
Acta Polytechnica Hungarica
At the end of the design cycles the target and the result pressure distributions equal
to each other even in case of a formerly problematic profile. It can be stated that
the inverse design software functions in accordance with the expectations.
In all cases mesh refining may provide more accurate results.
5 Geometry Optimization
The limited pressure distribution is specified by Stratford’s separation prediction
method according to the following boundary conditions: inlet total pressure
ptot,in=107853.4 [Pa], inlet total temperature Ttot,in = 293.15 [K], inlet flow angle α =
0° and outlet static pressure pstat,out = 101325 [Pa] (equivalent to M=0.3) over
170x70 H-type mesh. To define the pressure distribution, the minimum pressure
coefficient is Cp=-3.278 connoting pstat=80398 [Pa] static pressure value.
The channel length is 17 m and height is 7 m. The definition of the initial geometry:
0 .8 x 3 . 5 0 .8
y sin 2 for 3.5≤x≤6.5 (19/a)
2 6 . 5 3 .5 2 2
y 0 otherwise. (19/b)
– 15 –
Veress et al. Investigation of Inverse Design Method for Internal Flows
Figure 10
Figure 11
– 16 –
Acta Polytechnica Hungarica
110 000
105 000
100 000
pstat [Pa]
95 000
90 000
85 000
initial
result
target
80 000
0 2 4 6 8 10 12 14 16
x [m]
Figure 12
Conclusions
Recently developed inverse design-based optimization procedure has been verified
and tested for internal flows. A bump-in channel case from international literature
is performed to verify the direct solver. Testing part consists of determining the
maximum reconstructable and smoothable sinusoidal profile. Typically, the
software is able to reproduce the expected profile until recirculation does not occur
over the geometry.
Additional investigation on potetial applications of inverse design method is
implemented in form of diffuser optimization. The requested pressure distribution
is gained from Stratford’s separation prediction method. Flow over result geometry
is without recirculation and follows the profile along the entire designed wall.
Through these investigations more information about the conditions and capabilities
of the inverse design method can contribute to the successful application of the
coupled process of the flow modelling and optimisation.
References
[1] Á. Veress, J. Rohács: Application of Finite Volume Method in Fluid
Dynamics and Inverse Design Based Optimization, Finite Volume Method -
Powerful Means of Engineering Design, ISBN 978-953-51-0445-2, ch.1.,
2012
[2] O. Leonard; R. Van den Braembussche: Subsonic and Transonic Cascade
Design, AGARD-VKI Special Course on Inverse Methods in Airfoil Design
for Aeronautical and Turbomachinery Applications, May, 14-18, 1990,
Belgium
– 17 –
Veress et al. Investigation of Inverse Design Method for Internal Flows
– 18 –