Professional Documents
Culture Documents
URL: http://www.emath.fr/cocv/
O LIVIER P IRONNEAU
Abstract. We wish to show how the shock position in a nozzle could be controlled. Optimal control theory and
algorithm is applied to the transonic equation. The difficulty is that the derivative with respect to the shock position
involves a Dirac mass. The one dimensional case is solved, the two dimensional one is analyzed .
Resume. Nous souhaitons montrer ici que la position du choc dans une tuy`ere transsonique peut e tre controlee,
malgre la presence de Dirac dans les derivees par rapport aux conditions aux bords.
1991 Mathematics Subject Classification. Mecanique des fluides, Calcul scientifique.
Dedicated to J.L. Lions, in gratitude.
I NTRODUCTION
Sensitivity of the position of the shocks with respect to the parameters of the flow is the problem we would like to
investigate here. There are many important applications such as the fluttering of wings. Up to now fluttering is investigated
by solving the nonlinear transonic (or Euler) equations at each time step (see [6]), but the sensitivity analysis which follows
will make it possible to use the linearized transonic equation instead, thereby reducing greatly the computing time and
possibly improving the accuracy.
Godlewski et al [2] have studied the same for the shock tube flow problem and solved it completely for Burgers
equation when the sensitivity is with respect to initial data. Giles [5] showed that the adjoint equation of the Euler
equation is well posed and continuous across the shock, but to our knowledge no control of the shock position has been
tried with Giles conditions.
The problem is complex; a partial solution was given in [7] but a condition was lacking and the system proposed was
incomplete. On the other hand it was shown that the derivative of the transonic potential has a shock (so the derivative
velocity has a Dirac) and that it was perfectly computable by automatic differentiation. So we were in the awkward
position of having a computer based answer and no understanding.
In this article we present the missing condition for the one dimensional case and an application for the control of the
position of a shock in a transonic nozzle.
Keywords and phrases: Partial differential equations, control, calculus of variation, nozzle flow, sensitivity, transonic equation.
To J.L.Lions, for his helpful remarks on this topic; late I had a discussion with him and he suggested to study the equivalence between the weak
form (15) and (16).
Universite Paris VI, IUF and INRIA
c
OLIVIER PIRONNEAU
!"#
$ %&('
For stationary flows, the following holds
so that there are irrotational solutions to the stationary Euler equations which then reduce to
7 8
6
9 % :
;2+4<
.
=The second equation gives an algebraic relation between and :
B %>#? &@A/
.
@
where
the
constant
is fixed by the boundary conditions.
&D
C
C
C The third equation tells us that derives from a potential
, i.e.
. The first equation, which determines
is known as the transonic equation. After renormalization,
E/BFGIHJ . @
K ?ML K - reads:
, the transonic equation in a domain of boundary K
C
&=4
C N POQ/SR MR -
T
R WYXQ[Z C R W*\] C W
U
BV
in
7O' _`bacOdHe /Od . ' f
^
with ^
in air. In short it is:
)(ghiOj/<R
C R - T
Ck
(1)
Boundary conditions for nozzle flow on K
are of two exclusive kinds
C
R Wl <Bm
m
C Cn
n
BV
on K
(2)
KMopK
m
#mr<
. It can also contain
K must contain the lateral walls of the nozzle KUq where the flowmuis tangent to the walls and so
either KNs is the inflow boundary and/or KUt the outflow one. If K
then it is necessary to add a compatibility relation
K
C
on the data and a condition on
v
vYx
iOQ/<R
C R - T
C wVE<
C
(3)
W
because (1) involves
only and so
An entropy inequality must be added for well posedness (see Glowinski [8] and Necas [3] ):
y Ccz /|{<'
It is automatically
satisfied when is continuous and also when is discontinuous with a decreasing jump in the direction
of the flow .
The variational formulation of the problem is
v x
POQ/SR
C R - T
C }
$~,
where
m
by
is the subspace of
?
v
W*l
ZY~9~3r C / C n 3
Z!POQ/1 -m T m
or satisfy (3) if K
(4)
Z
is empty. The flux is related to
0.25
0.2
0.15
0.1
0.05
0
0
0.2
0.4
0.6
F IGURE 1. Plot of
0.8
+FiOQ/-wP- b
2. T HE O NE D IMENSIONAL C ASE
B
Consider an horizontal nozzle of length andC slowly varying cross section
where is the horizontal coordinate.
Following Landau-Lifschitz [4], we assume that is quasi constant in the vertical coordinate and integrate ( 4) vertically;
it leads to
v"
Taking
~S
in
hw
and
~,p
C B~
C
R - T
i4&Q~,
?
B
B
B
|
POQ/SR
/BhHe
v
/9
/"
POQ/1 - T
@
in
p
+ C H`
BP*6,
POQ/1 - T
(5)
BP*
(6)
iOQ/ - T 6
4(
On figure 2 it is seen that there are two or no roots to (7). Denote these
(7)
with
Q (
(
Assume
that the boundary conditions are such that s is on the
side of the curve, i.e. supersonic entry flow and
t is on the subsonic side of the curve. If both s and t are given with the flux conservation condition
i i OQ/ - T
s
s
i iOQ/ - T
t
t
then the position of the shock can be anywhere, the problem is ill posed in the sense that there are infinitely many solutions.
C n
are given,
If s and
. Using the fact
C let us construct a solution with a discontinuity (shock) of at say
that is the derivative of we obtain
@)iOQ/ - T
s
s
C
i
C =M
C w= i
]
(8)
OLIVIER PIRONNEAU
and
CBn
C =
Bi
v
BP*N'
C |
Still is not fixed!
some integral condition like (3) seems to be necessary in this case too, or equivalently
. If
BP*r
i4 Cn
(9)
2.1. Differentiation
CIn
Assume now that
is function of a scalar parameter . To evaluate the derivative of the shock position with respect
to we differentiate (9). It gives
Y
CB
`< /
/ n
`
C
Naturally the derivative of is a Heavyside function
C
/9
/ C n
`
The derivative of
` >I? 7OdH(|/1
:
(11)
(12)
3. T HE T WO D IMENSIONAL C ASE
C
Now consider aC two
nozzle flow and the transonic equation for . Assume that s is given at the inflow
n dimensional
is given at the outflow boundary, where is a scalar parameter. All derivatives denoted with a
boundary and that
prime will be with respect to .
5p }d
CI
We consider the case where there is a shock at
; it was shown in [7] that the derivative is not the
C
is discontinuous.
N
Lemma 1. Let
be a piecewise differentiable function, continuous but with discontinuous derivatives at the shock
)*d (d*
. Assume that and depend on a scalar parameter , then the jump across of , the derivative with
respect to is
E/
6}
>
>
Proof
UdWe
may express that has a shock by writing, for some smooth extension of beyond the shock on any
curve
N}
> UdPU&Q/9
(0U ]/
FNd
NpU
where
is a curve which crosses the shock at
and its s-derivative .
By differentiating this equation with respect to , Heavyside functions are found on both sides and give
}
iR
/
0N
0N
U
P
P
*i
gives
C I7/Q} '
Applying this result to , which is continuous across the shock gives
. a#!"
!" I iOQ/
7
/] }
6 I&('
OQ/<R 0R
(14)
because
is continuous across the chock.
C=
So to differentiate the transonic equation we must account for the discontinuity of , giving
`~
v
vYx
. a=!9
/
P
C }
~S
wV#
&B~3'
O/<R MR BV
(15)
~
C
for some function of . Note however that the integral on is not well defined because may
the required
~7not
have
CB
> regularity, but Bernardi in [1] showed that it is possible to give a meaning to such an equation for
and
,
J
that its solution is indeed discontinuous and also that its standard finite element approximation converges, (
for linear
triangular element, even if the mesh is not -conforming).
In the strong sense it would be interpreted as
. a=!9
/
P
C &
|>
L
OQ/SR MR in
CB
. a#
E&
iO]/
C c7/ (bV#= V#0'
OQ/<R 0R - BV
(16)
wV#
V#
The problem, already pointed out in [7] is that an equation seems to be missing to determine
(or
).
In view of the one dimensional case the difficulty seems to be connected to the boundary conditions.
- T \ 1
]/
3.2. Differentiation
C n
If this picture is correct then a change in
has no effect on the flow upstream of the shock. Consequently, because of
the continuity (14) there is an homogeneous Neumann condition on and so the method is
Step 1 Solve
/
Step 2 Set
/ V#
R
db .
a $9
C`
. #
P
C &
R &
O/SR MR in
with BV
C R Wj
C n
(17)
OLIVIER PIRONNEAU
0.676227
0.640407
0.604587
0.568767
0.532947
0.497127
0.461307
0.425487
0.389667
0.353847
0.318027
0.282207
0.246387
0.210567
0.174747
0.138927
0.103107
0.0672871
0.0314672
-0.0043528
0.619841
0.58708
0.55432
0.52156
0.4888
0.456039
0.423279
0.390519
0.357759
0.324998
0.292238
0.259478
0.226718
0.193957
0.161197
0.128437
0.0956765
0.0629162
0.030156
-0.00260428
O
('
C R W Q C R W
F IGURE 2. TOP:Level lines of d for
with
(left) and
'
(right). The
7
O
<
yellow line indicates the position of the shock for
on the figure where
. BOTTOM: Same
but with a changing Neuman condition on the inflow boundary (going from -0.68 for the left picture to
C
-0.63 for the right one) and a Dirichlet condition on on the outflow boundary
CBn
The method is however difficult numerically
because it requires a triangulation of
. Notice that when
is con
CB
CBn
stant then
is the solution in
therefore, even in the multi-dimensional case, the displacement of the shock is as
in one dimension given by
7/
4. N UMERICAL
CBn
'
(
(18)
SIMULATION
To close the system we apply on each / streamline the same argument as in the one dimensional case, neglecting the
C#n
change in streamline position due to the derivative of .
* - / . BbN39(wOd
As the equation is nonlinear we used a Newton algorithm with a small under-relaxation parameter; convergence is obtained with 50 iterations.
'f
'
O
We performed two computations with s
, one with
and the other one with
. The level curves
6F C wR W*
of d for these are reported on figure 4.1. On figure 4.1 we have a plot of
. It shows that relation (10) is well
verified.
It also shows that indeed there is almost no change upstream of the shock and that the approximation of quasi
one dimensional flow is reasonable even for this nozzle.
0.5
"phi.gnu" using 1:3
"phipd.gnu" using 1:3
0.35
0.4
0.3
0.35
0.25
0.3
0.2
0.25
0.2
0.15
0.15
0.1
0.1
0.05
0.05
0
0
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
7O
&('
6F C BwR W*
F IGURE 3. LEFT: Plot of
for
(top curve) and
(bottom curve). Notice that
(10) is rather well verified and that the curves are fairly straight, suggesting that the flow is quasi one
dimensional. RIGHT: same but the inflow Neuman condition changes and the Dirichlet one on the right
C
is fixed. The velocity after the shock is less than 0.1 so is almost constant.
0.789102
0.744653
0.700203
0.655753
0.611303
0.566853
0.522403
0.477953
0.433503
0.389054
0.344604
0.300154
0.255704
0.211254
0.166804
0.122354
0.0779044
0.0334545
-0.0109954
-0.0554452
0.25
0.224133
0.198265
0.172398
0.14653
0.120663
0.0947958
0.0689284
0.0430611
0.0171937
-0.00867361
-0.034541
-0.0604083
-0.0862757
-0.112143
-0.13801
-0.163878
-0.189745
-0.215612
-0.24148
F IGURE 4. An attempt at moving the shock forward and bend it, has partially succeeded. On the left
Cn (' _PO*'OQ&' .
the level lines of d when
. The old position is at the circular yellow arc,
the target position is the bent yellow circular arc. A second shock begins to appear at the top right
C
corner. The derivative appears to be quasi-constant near the shock,CNproving
also that the shock can
n
be translated horizontally but cannot be bent very much by changes in .
4.2. Control
C n
Now we search for an outflow boundary condition
which brings the shock at a given position. In this example
we wish to bend the shock top forward,
and
move
the
top
by (0.1+0.03)
' _ the bottom part by (0.1-0.03)L, so
CIn 5' _ iO'OQ<' . part
Cn 5Land
instead
of
for which the shock was almost at
we
apply
the
boundary
condition
6H . Odf' fQ"wbPP 7O . H . Odf=P
(shown as a yellow circular arc left of the shock on figure 4.2). The
mean displacement is somewhat correct but the bending has succeeded partially only because a second shock appears at
the top right corner of the nozzle. For this problem
CBn we have also solved (17) (with a penalty term upstream of the shock
C#
C
first test. Here it is the opposite, the derivative of with respect is zero downstream of the shock. We could not
C#
compute it because the operator of the equation for is hyperbolic and it requires a dedicated software.
OLIVIER PIRONNEAU
R EFERENCES
[1] Hecht F., Kawarada H., Bernardi C., Girault V. and Pironneau O. A finite element problem issued from fictitious domain techniques. East-West J.
Applied Math., 2002.
[2] Olazabal M., Godlewski E. and P.A. Raviart. On the linearization of hyperbolic systems of conservation laws. Application to stability. In Equations
Sci. Med. Elsevier, Paris, 1998.
aux derivees partielles et applications, pages 549570. Gauthier-Villars, Ed.