• Aucun résultat trouvé

Theoretical and Numerical aspects for incompressible fluids Part II: Shape optimization for fluids

N/A
N/A
Protected

Academic year: 2022

Partager "Theoretical and Numerical aspects for incompressible fluids Part II: Shape optimization for fluids"

Copied!
125
0
0

Texte intégral

(1)

PascalFreyandYannickPrivat

(Slides by CharlesDapogny, PascalFreyand YannickPrivat)

CNRS & Univ. Paris 6

feb. 2015

(2)

Outlines of the lectures

Session 1 :tools for shape optimization in Fluid Mechanics and existence of optimal shapes Session 2 :Existence and optimality condition (shape derivative)

Session 3 :Application in Fluid Mechanics and algorithms

Joining me :yannick.privat@upmc.fr

download the slides :http ://www.ann.jussieu.fr/frey/nm491.html

(3)

Outlines of the lectures

Session 1 :tools for shape optimization in Fluid Mechanics and existence of optimal shapes Session 2 :Existence and optimality condition (shape derivative)

Session 3 :Application in Fluid Mechanics and algorithms

Grading :1 written test (2H) + 1 oral examination

(4)

Outlines of the lectures

Session 1 :tools for shape optimization in Fluid Mechanics and existence of optimal shapes Session 2 :Existence and optimality condition (shape derivative)

Session 3 :Application in Fluid Mechanics and algorithms

Grading :1 written test (2H) + 1 oral examination

Joining me :yannick.privat@upmc.fr

download the slides :http ://www.ann.jussieu.fr/frey/nm491.html

(5)

1 Several examples of shape optimization problems

2 Tools for shape optimization Generalities

The perimeter functional in shape optimization Existence results in shape optimization Derivation with respect to the domain

Shape derivatives using Eulerian and material derivatives : the rigorous ‘difficult’ way A formal, easier way to compute shape derivatives : C´ea’s method

3 Numerics and applications to Fluid Mechanics Reminders in Fluid Mechanics

Shape optimization in Fluid Mechanics Numerical aspects

(6)

Isoperimetric problems

The problem of Dido

Dido was the legendary founder of Carthage (Tunisia). When she arrived in 814 B.C. on the coast of Tunisia, she asked for a piece of land. Her request was satisfied provided that the land could be encompassed by an ox-hide.

With a remarkable mathematical intuition, she cut the ox-hide into a long thin strip and used it to encircle the land. This land became Carthage and Dido became the Queen.

Question : What is the closed curve which has the maximum area for a given perimeter ?

(7)

Mathematically, this problem is very close to the standard isoperimetric one : Find Ω⊂R2solution of the problem

maximize area(Ω) such that Per(Ω) = 4km.

Back to the problem of Dido. A naive formulation writes : find the plane curve enclosing with the segment joining its extremity the subdomain having a maximal area. On other words, one has to solve forb>a≥0,

sup

y∈E

Z b a

y(x)dx

where

E={y∈Y | Zb

a

p1 +y02(x)dx=`ety(a) =y(b) = 0}

withY, a given functional space (chosen e.g. so that the problem has a solution).

(8)

Isoperimetric problems

The proof

Z´enodore(2ndcentury B.C.) proves the isoperimetric inequality in the particular case where Ω = polygon.

Until the 20th century : this result is conjectured but not proved.

Steiner(Swiss mathematician of the 19th century) publishes a proof, but . . .this proof is erroneous !

Weierstrass(German mathematician of the 19th century) concludes the proof, by using modern tools ofcalculus of variations.

Generalization inR3 orRN only known since 1960 (geometric measure theory)

(9)

Aerodynamic shape optimization of transonic wings

The model

It requires the use of Navier-Stokes modeling due to the strong nonlinear coupling between airfoil shape, wave drag, and viscous effects.

Criterion, unknown

Goal :reduce the drag (reaction of the flow on the wing ; its

component in the direction of flight is the drag proper and the rest is the lift)

A few percent of drag optimization means a great saving on

commercial airplanes ;

Unknown :the shape of the wing

(10)

Aerodynamic optimization of airplane

Aerodynamic shape optimization of transonic wings

! For viscous drag theNavier-Stokes equationsmust be used : for a given shapeSof the wing, it yields the velocityuand pressurepof the fluid at every point.

! For a wing with boundarySmoving at constant speedu, the force acting on the wing isF~=

Z

S

µ(∇u+ [∇u]>)−2 3∇ ·u

nds

| {z }

viscous drag/lift = viscous force

−R

Spnds,wherenis the normal toSpointing outside the domain occupied by the fluid, andµthe viscosity of the fluid.

! Shape optimization problem.The drag is the component ofF~parallel to the velocity at infinity. The optimal design problem writes

S∈OinfadJ(S) where J(Ω) =F~·u . Choice ofOad (admissible set of shapes) ?

Sis an open connected bounded subset ofRd (d= 2 ord= 3)

A geometrical constraint such as the volume being greater than a given value in order to avoid that the wing collapses (|S| ≥S0)

An aerodynamic constraint : the lift must be greater than a given value. Else, the wing will not fly.

(11)

Problem and modeling

Consider a fluid of viscosityµflowing inside a cannula-shaped pipe/duct. For instance, we look for the optimal shape of a pipeline.

The optimal design problem writes inf

Ω∈OadJ(Ω) where J(Ω) = 2µ Z

|ε(u)|2dx , with

µ, the viscosity of the fluid,u the velocity of the fluid at every point (e.g. given by the Navier-Stokes equations),

Oad is the set of admissible shapes, for instance,E (inlet) andS (outlet) are fixed and we look for the lateral boundary such that Ω open connected subset ofRd with

(12)

Contents

1 Several examples of shape optimization problems

2 Tools for shape optimization Generalities

The perimeter functional in shape optimization Existence results in shape optimization Derivation with respect to the domain

Shape derivatives using Eulerian and material derivatives : the rigorous ‘difficult’ way A formal, easier way to compute shape derivatives : C´ea’s method

3 Numerics and applications to Fluid Mechanics Reminders in Fluid Mechanics

Shape optimization in Fluid Mechanics Numerical aspects

(13)

A shape optimization problem writes as the minimization of acost(orobjective) function Jof the domain Ω :

Ω∈OinfadJ(Ω),

whereOad is a set ofadmissible shapes(e.g. that satisfyconstraints).

In most mechanical or physical applications, the relevant objective functionsJ(Ω) depend on Ω via astateu, which arises as the solution to a PDE posed on Ω (e.g. the linear elasticity system, or Stokes equations).

(14)

Various settings for shape optimization (I)

I. Parametric optimization

The considered shapes are described by means of a set of physicalparameters {pi}i=1,...,N, typically thicknesses, curvature radii, etc...

pi

S

• x h(x)

Description of a wing by NURBS ; the parameters of the representation are the control points pi.

A plate with fixed cross-sectionSis parame- trized by its thickness function h: ΩR.

(15)

! The parameters describing shapes are the onlyoptimization variables, and the shape optimization problem rewrites :

min

{pi}∈PadJ(p1, ...,pN), wherePad is a set ofadmissible parameters.

! Parametric shape optimization is eased by the fact that it is straightforward to account forvariationsof a shape{pi}i=1,...,N :

{pi}i=1,...,N→ {pi+δpi}i=1,...,N.

! However, the variety of possible designs is severely restricted, and the use of such a method implies an a priori knowledge of the sought optimal design.

(16)

Various settings for shape optimization (III)

II. Geometric shape optimization

! The topology (i.e. the number of holes in 2d) of the considered shapes is fixed.

! Theboundary∂Ω of the shapes Ω itself is the optimization variable.

! Geometric optimization allows more freedom than parametric optimization, since no a priori knowledge of the relevant regions of shapes to act on is required.

@⌦

Optimization of a shape by performing

‘free’ perturbations of its boundary.

(17)

III. Topology optimization

In some applications, the suitabletopologyof shapes is unknown, and also subject to optimization.

In this context, it is often preferred not to describe the boundaries of shapes, but to resort to different representations which allow for a more natural account oftopological changes.

For instance : Describing shapes Ω as characteristic functionsχ:D→ {0,1}.

Optimizing a shape by acting on its topology.

(18)

Various settings for shape optimization (V)

! A shape optimization process is a combination of :

Aphysical model, most often based on PDE (e.g. the linear elasticity equations, Stokes system, etc...) for describing the mechanical behavior of shapes, Adescriptionof shapes and their variations (e.g. as sets of parameters, density functions, etc...),

Anumerical descriptionof shapes (e.g. by a mesh, a spline representation, etc...)

! These choices are strongly inter-dependent and influenced by the sought application.

! However very different in essence, all these different methods for shape optimization share a lot of common features.

! We are going to focus ongeometric shape optimization methods.

(19)

Disclaimer

I This course isveryintroductory, and by no means exhaustive, as well for theoretical as for numerical purposes.

I See the (non exhaustive) References section to go further.

(20)

Bibliography/References

Allaire G.,Conception optimale de structures, Math´ematiques et Applications 58, Springer, (2006)

Bendsoe M.P. and Sigmund O.,Topology Optimization, Theory, Methods and Applications, 2nd Edition, Springer, (2003)

Henrot A., and Pierre M.,Variation et optimisation de formes, une analyse g´eom´etrique, Springer, (2005)

Mohammadi B. and Pironneau O.,Applied shape optimization for fluids, Oxford University Press,28, (2001)

Pironneau O., Optimal Shape Design for Elliptic Systems, Springer, (1984)

Sethian J.A.,Level Set Methods and Fast Marching Methods : Evolving Interfaces in Computational Geometry, Fluid Mechanics, Computer Vision, and Materials Science, Cambridge University Press, (1999).

and many others. . .

(21)

1 Several examples of shape optimization problems

2 Tools for shape optimization Generalities

The perimeter functional in shape optimization Existence results in shape optimization Derivation with respect to the domain

Shape derivatives using Eulerian and material derivatives : the rigorous ‘difficult’ way A formal, easier way to compute shape derivatives : C´ea’s method

3 Numerics and applications to Fluid Mechanics Reminders in Fluid Mechanics

Shape optimization in Fluid Mechanics Numerical aspects

(22)

General definition of perimeter

Definition : Perimeter in the sense ofDe Giorgi

Let Ω be a (Lebesgue) mesurable set inRd. Theperimeter ofΩ is defined by Per(Ω) = sup{

Z

div(ϕ)dx|ϕ∈ D(Rd,Rd), kϕk≤1},

whereD(Rd,Rd) is the set ofCfunctionsϕ:Rd →Rd having a compact support.

Definition introduced by EnnioDe Giorgi(1928-1996) Note that, for a functionϕ∈ D(Rd,Rd), there holds

Z

div(ϕ)dx= Z

Rd

div(ϕ)χ(x)dx=−h∇χ, ϕiD0,D,

whereχ denotes thecharacteristic function ofΩ, in other words χ(x) =

1 ifx∈Ω 0 else.

(23)

Reminder on the notion of “regular set”

1 An open set Ω ofRd is said to have aLipschitz boundaryif, for allx0∈∂Ω, there exist a cylinderK=K0×]−a,a[ in a local cartesian basis with originx0= 0, with K0an open ball inRd−1with radiusr, and a Lipschitz functionϕ:K0→]−a,a[

such thatϕ(0) = 0 and

Ω∩K={(x0,y)∈K |y > ϕ(x0)} et ∂Ω∩K={(x0, ϕ(x0))|x0∈K0}.

2 An open set is said of classC1by replacing the word ”Lipschitz” byC1in the definition above.

Proposition (Link with the usual definition of perimeter for regular sets) Let Ω, be a bounded open set of classC1. Then, Per(Ω) =R

∂Ωdσ, wheredσdenotes the surface element on∂Ω.

(24)

General definition of perimeter

Proposition

Let Ω, be a bounded open set of classC1. Then, Per(Ω) =R

∂Ωdσ, wheredσdenotes the surface element on∂Ω.

Sketch of the proof : let ϕ ∈ D(Rd,Rd) such that kϕk ≤ 1. According to Green’s formula, one has

Z

div(ϕ)dx=

d

X

i=1

Z

∂ϕi

∂xi

dx= Z

∂Ω

ϕinidσ= Z

∂Ω

ϕ·νdσ,

whereνis the outward unit normal vector. Using the triangle inequality, one has for every smooth functionϕ,

Z

div(ϕ)dx≤ Z

∂Ω

|ϕ||ν|dσ≤ kϕk

Z

∂Ω

dσ≤ Z

∂Ω

dσ.

Passing to the sup, one gets Per(Ω)≤R

∂Ωdσ.

(25)

Proposition

Let Ω, be a bounded open set of classC1. Then, Per(Ω) =R

∂Ωdσ, wheredσdenotes the surface element on∂Ω.

Proof (converse sense) : One would like to chooseϕ=νon∂Ω.

Idea : find a sequence of functions (ϕn)n∈N∈ D(Rd,Rd)Nto approximateν. IntroduceN, a continuous extension of the normal vectorν. One regularizesN by definingϕn=N ∗ρn, where (ρn)n∈N is a mollifier.

One thus construct a sequence of functions inD(Rd,Rd) converging uniformly toN and

s.t. Z

divϕndx= Z

∂Ω

ϕn·νdσ−−−−→

n→+∞

Z

∂Ω

ν·νdσ= Z

∂Ω

dσ.

(26)

General definition of perimeter

Reminder on Radon measures :recall that iff ∈L1(Rd,Rd), then by duality kfkL1=

Z

Rd

|f(x)|dx= sup{

Z

Rd

f(x)·ϕ(x)dx, ϕ∈ D(Rd,Rd)andkϕk≤1}.

More generally, this formula makes sense for everyRadon measureµhaving a finite mass (i.e. every linear continuous form on the spaceC00(Rd) of continuous functions having a compact support inRd)

Moreover, a Radon measureµhas a finite mass onRd iff the quantity kµk1= sup{hµ, ϕiD0,D, ϕ∈ D(Rd,Rd)etkϕk≤1}

is finite.

Recall that

Per(Ω) = sup{−h∇χ, ϕiD0,Dϕ∈ D(Rd,Rd), kϕk≤1}

Proposition

Let Ω be a measurable subset ofRd. Then, the quantity Per(Ω) is finite iff∇χis a Radon measure having a finite mass and in that case, Per(Ω) =k∇χk1.

(27)

Theorem (compactness properties of the perimeter)

Let (Ωn)n∈Nbe a sequence of measurable sets inRd. Let us assume the existence ofC>0 s.t.

∀n∈N, |Ωn|+ Per(Ωn)≤C.

Then, there exist a measurable set Ω⊂Rd and a subsequence (Ωnk)k∈Ns.t.

χnk →χdansL1loc(Rd) et h∇χnk, ϕi → h∇χ, ϕi, ∀ϕ∈ C00(Rd).

Moreover, if all the elements of the sequence (Ωn)n∈N belong to an open setD having a finite measure, then the sequence (χnk)k∈N converges toχinL1(D).

! The convergence of the gradients of the characteristic functions coincides with the weak-∗convergence of the bounded Radon measures.

! The proof of this theorem rests upon the compactness of the injection BV(Rd),→L1loc(Rd).

(28)

General definition of perimeter

Definition : convergence in the sense of characteristic functions.

Let (Ωn)n∈N and Ω denote respectively a sequence of measurable sets and a measurable set ofRd. The sequence (Ωn)n∈Nis said toconverge in the sense of characteristic functions ifχn →χ inL1loc(Rd).

According to the previous theorem, a sequence of domains contained in a bounded open setDand whose perimeter is uniformly bounded converges (up to a

subsequence) in the sense of characteristic functions.

Let (Ωn)n∈N be a sequence of measurable subsets ofRd. Without additional assumption, one cannot conclude that (χn)n∈N converges up to a subsequence to χ. Nevertheless, sinceL(Rd;{0,1}) is the topological dual of the space

L1(Rd;{0,1}), there exist a subsequence (χnk)k∈N converging weakly-?inLto a functiona∈L(Rd,[0,1])(Banach-Alaoglu theorem).

Consider d= 1 and the sequence (ωn)n∈N of subsets of ]0, π[ defined by ωn=Sn

k=1

n+14nπ,n+1 +4nπ

,for everyn∈N.

One can prove (exercise) :|ωn|=π2, and the sequence (χωn)n∈N converges weakly-∗

in Lto the constant functiona(·) = 12.

(29)

1 Several examples of shape optimization problems

2 Tools for shape optimization Generalities

The perimeter functional in shape optimization Existence results in shape optimization Derivation with respect to the domain

Shape derivatives using Eulerian and material derivatives : the rigorous ‘difficult’ way A formal, easier way to compute shape derivatives : C´ea’s method

3 Numerics and applications to Fluid Mechanics Reminders in Fluid Mechanics

Shape optimization in Fluid Mechanics Numerical aspects

(30)

Existence of solutions in shape optimization

General issues Let us consider the general optimal design problem

Ω∈OinfadJ(Ω) with Oad⊂ A(D) ={Ω⊂D, Ωopen},

whereD is an open set ofRd.

Study plan for existence issues

1 is the quantity infΩ∈OadJ(Ω) finite ?

In that case, introduce a minimizing sequence (Ωn)n∈N of elements ofOad. Moreover, the sequence (J(Ωn))n∈N is bounded.

2 what topology to choose on the admissible set of domainsOadto guarantee : , that one can find a subsequence of (Ωn)n∈N converging to a certain Ω∈ Oadfor this

topology ?

, that the functionalJbe lower semi-continuous for this topology, in other words so that n J(Ω)lim inf

n→+∞J(Ωn) Consequence : the problem above has a solution.

In the context of fluid mechanics :we have to deal with PDE constraints ! !

(31)

A toy problem for PDE constraints LetD a bounded connected open set andOadbe a subset of

A(D) ={Ω open, Ω⊂D}.

We consider the shape optimization problem

Ω∈OinfadJ(Ω) where J(Ω) = Z

(u(x)−u0(x))2dx,

withu0∈L2(D) given, anduthe unique solution of the P.D.E.

−∆u=f x∈Ω u= 0 x∈∂Ω, withf ∈H−1(D).

To obtain the existence of a solution, we will have, in addition to the convergence of the minimizing sequence (Ωn)n∈N in a sense to make precise, to obtain the convergence of (un)n∈N inL2(D) for example.

(32)

Existence of solutions in shape optimization

Definition (Hausdorff complement topology)

Letx∈Rd andE a closed subset ofRd. We denote

dE(x) = dist(x,E) := inf{|x−y|, y ∈E}.

Hausdorff distance between two closed sets :forA,B, two closed sets ofRd, dH(A,B) = max{sup

x∈A

dB(x),sup

x∈B

dA(x)}.

Convergence of open sets in the sense of Hausdorff (Hausdorff complementary topology) :forAandB inA(D),

dHc(A,B) =dH(D\A,D\B).

As a consequence, we will say that (Ωn)n∈N (sequence of A(D)) converges to Ω in the sense of HausdorffifdHc(Ωn,Ω)→0 asn→+∞.

(33)

Remarks on Hausdorff convergence

Very important property

For everyA,B closed subsets ofD⊂Rd, dH(A,B) =kdA−dBkC0(D):= sup

x∈D

|dA(x)−dB(x)|.

Proof :there holds

kdAdBkC0(D)max{kdAdBkC0(A),kdAdBkC0(B)} ≥dH(A,B).

Let us show the converse inequality. LetxB andy A. By compactness, there existxB B s.t.dB(x) =|xxB|. Hence,

dA(x)dB(x)≤ |yx| − |xxB| ≤ |yxB| ≤dA(xB)sup

x∈B

dA(x).

By inverting the roles played byAandB, we infer the desired inequality.

(34)

Existence of solutions in shape optimization

Back to the Hausdorff complement topology

Proposition

1 LetAandB inD. One hasdH(A,B) = 0 iffA=B.

2 Introduce the space of ”distance” functions of the subsets ofD

Cd(D) ={d, withΩ6=∅andΩ⊂D} with d:x7→d(x,Ω).

Then,Cd(D) is a compact subspace ofC0(D).

! It is enough to restrict the set of admissible shapes to classes of open sets. Indeed, {dc, Ω⊂D andΩ6=∅}={dc, Ω open set included inD}.

To show this equality, consider Ω⊂D s.t. Ω6=∅.

Consider the open setO= Ωcc. SinceOc= Ωc, there holdsdOc=dc=dc. Therefore, the proposition above must be interpreted in the following sense : if (Ωn)n∈Nis a sequence ofA(D) converging to ˜Ω in the sense of Hausdorff, then the limits of the sequence (Ωn)n∈N belong to the same equivalence class and there exists Ω∈ A(D) s.t. (Ωn)n∈N converges to Ω.

(35)

Proposition (compactness and l.s.c. for the topologyHc)

1 The setA(D) endowed with the metricdHc is compact.

2 Let (Ωn)n∈N, a sequence of elements inA(D) that converges in the sense of Hausdorff to Ω. For every compact subsetK⊂Ω, there exists an integerN(K)∈N such thatK⊂Ωnfor everyn≥N(K).

3 The Lebesgue measure is lower semi-continuous for the topologydHc. Examples (exercise)

Consider an open setD and (xn)n∈N, a sequence of dense points inD. Set Ωn=D\{xk}1≤k≤n. Then, (Ωn)n∈N converges in the sense of Hausdorff to∅.

n=]0,1[\{n1}n∈N converges in the sense of Hausdorff to ]0,1[.

(36)

The uniform cone property

Definition

Lety, a point ofRd,ξ, a unit vector andε >0.

1 Introduce the coneC(y, ξ, ε) with apexy, directionξand dimensionε, defined by C(y, ξ, ε) ={z∈Rd| hz−y, ξiRd ≥cosεkz−ykRd and 0<kz−ykRd < ε}, whereh·,·iRd is the euclidean scalar product ofRd andk · kRd, the associated euclidean norm.

2 An open set Ω verifies theε-cone property if for everyx ∈Ω, there existsξx, a unit vector such that :

∀y ∈Ω∩B(x, ε), C(y, ξx, ε)⊂Ω, whereB(x, ε) denotes the open ball with centerx and radiusε.

! Note that, according to the definition ofC(y, ξ, ε),y ∈/C(y, ξ, ε).

! Theorem: an open bounded set Ω satisfies theε-cone property iff it has a Lipschitz boundary.

(37)

C(y, ξx, ε) y x

ε

ξx

Illustration of theε-cone property

Left : set verifying the ε- cone property,

Right : set that does not verify theε-cone property

(38)

The uniform cone property

Compactness property ofε-cone property

Proposition

Let ε > 0 and (Ωn)n∈N, a sequence of open sets contained in a bounded open set D satisfying theε-cone property for someε >0.

Then, there exist an open set Ω and a subsequence (Ωnk)k∈Nconverging to Ω in the sense of Hausdorff. Moreover,

Ω has theε-cone property,

nk and∂Ωnk converge in the sense of Hausdorff to Ω and∂Ω.

one may assume that (Ωnk)k∈N also converges to Ω in the sense of characteristic functions.

(39)

Example 1 : an isoperimetric like problem

Ω∈OinfV

0

Per(Ω) avec OV0={Ω⊂D| Z

f(x)dx=V0},

withD, a bounded open set ofRd,f ∈L1loc(Rd) andV0>0 given.

Theorem

The problem above has (at least) a solution.

(40)

Existence issues : two examples

Theorem

The problem above has (at least) a solution.

Proof : let (Ωn)n∈N be a minimizing sequence in OV0. Then, there exists c > 0 s.t.

Per(Ωn)≤c for alln∈N.

Since Ωn⊂Dfor alln∈N, one infers by compactness of sets having a bounded perimeter that :∃(Ωnk)k∈N and a measurable set Ω s.t.χnk →χinL1loc(Rd). Therefore,

Z

nk

f(x)dx= Z

Rd

χnk(x)f(x)dx−−−−→

n→+∞

Z

f(x)dx.

Letϕ∈ D(Rd,Rd). Hence, Z

div(ϕ)dx = lim

n→+∞

Z

nk

div(ϕ)dx≤lim inf

k→+∞ sup

ϕ∈D(Rd,Rd), kϕk≤1

Z

nk

div(ϕ)dx

= lim inf

k→+∞Per(Ωnk).

Passing to the sup in this inequality yields Per(Ω)≤lim infk→+∞Per(Ωnk). The conclusion follows.

(41)

Example 2 : back to the toy problem

Letε >0 andD be a bounded open set ofRd.

Ω∈Oinfad,εJ(Ω) where J(Ω) = Z

(u(x)−u0(x))2dx, where

Oad,ε={Ω∈ A(D)| |Ω| ≤1 and Ω satisfies theε-cone property}, withu0∈L2(D) given, anduthe unique solution of the P.D.E.

−∆u=f x∈Ω u= 0 x∈∂Ω, withf ∈H−1(D).

Theorem

The problem above has (at least) a solution.

(42)

Existence issues : two examples

Theorem

The problem above has (at least) a solution.

Proof :let (Ωn)n∈N be a minimizing sequence inOad,ε. Then, there exists a subsequence (Ωnk)k∈N such that

(Ωnk)k∈N converges to Ω∈ A(D) for the Hausdorff complement topology and in the sense of characteristic functions ;

Ω satisfies theε-cone property ;

|Ω| ≤lim infk→+∞|Ωnk| ≤1 (the measure is l.s.c. for the Hausdorff topology) ; Multiply−∆unk =f byunk and integrate by parts. It yields

kunkkH1

0(D)≤ hf,unkiH−1,H01≤ kfkH−1(D)kunkkH1 0(D).

Thus, (unk)kis bounded inH1(D) and according to Rellich-Kondratov theorem, it converges tou∈H01(D) weakly inH1and strongly inL2.

(43)

Theorem

The problem above has (at least) a solution.

Proof :

(unk)k∈N is bounded inH1(D) and according to Rellich-Kondratov theorem, it converges tou∈H01(D) weakly inH1(D) and strongly inL2(D).

Passing to the limit in the variational formulation

∀ϕ∈H01(Ω), Z

D

∇unk · ∇ϕdx=hf, ϕiH−1,H01

proves thatusatisfies−∆u=f in a distributional sense.

Writingunk(x)(χnk(x)−χD(x)) = 0 for almost everyx ∈D. Uand passing to the limit yieldsu= 0 almost everywhere inD\Ω.

Consequently,u∈H01(Ω) and thenusolves the P.D.E.

−∆u=f x∈Ω u= 0 x∈∂Ω, Conclusion :infJ= limk→+∞J(Ωn ) =R

(u−u0)2dxwhence the existence.

(44)

Contents

1 Several examples of shape optimization problems

2 Tools for shape optimization Generalities

The perimeter functional in shape optimization Existence results in shape optimization Derivation with respect to the domain

Shape derivatives using Eulerian and material derivatives : the rigorous ‘difficult’ way A formal, easier way to compute shape derivatives : C´ea’s method

3 Numerics and applications to Fluid Mechanics Reminders in Fluid Mechanics

Shape optimization in Fluid Mechanics Numerical aspects

(45)

Hadamard’s boundary variation method describes variations of a reference, Lip- schitz domain Ω of the form :

Ω7→Ωθ:= (I+θ)(Ω), for ‘small’ vector fields θ ∈ W1,∞ Rd,Rd

.

x

(x)

Lemma

Forθ∈W1,∞(Rd,Rd)such that||θ||W1,∞(Rd,Rd)<1, the application(I+θ)is a Lipschitz diffeomorphism.

(46)

Differentiation with respect to the domain : Hadamard’s method

Definition

Given a smooth domain Ω, a scalar function Ω7→J(Ω)∈Ris said to beshape differentiableat Ω if the function

W1,∞

Rd,Rd

3θ7→J(Ωθ)

is Fr´echet-differentiable at 0, i.e. the following expansion holds in the vicinity of 0 : J(Ωθ) =J(Ω) +J0(Ω)(θ) +o

||θ||W1,∞(Rd,Rd)

.

The linear mappingθ7→J0(Ω)(θ) is the shape derivativeofJ at Ω.

(47)

Idea : The shape derivativeJ0(Ω)(θ) of a ‘regular’ functionalJ(Ω) only depends on the normal componentθ·nof the vector fieldθ.

Figure:At first order, atangentialvector fieldθ, (i.e.θ·n= 0) only results in aconvectionof the shapeΩ, and it is expected that J0(Ω)(θ) = 0.

(48)

Structure of shape derivatives (II)

Lemma

LetΩbe a domain of classC1. Assume that the application C1,∞(Rd,Rd)3θ7→J(Ωθ)∈R

is of classC1. Then, for any vector fieldθ∈ C1,∞(Rd,Rd)such thatθ·n= 0on∂Ω, one has : J0(Ω)(θ) = 0.

Corollary

Under the same hypotheses, ifθ1, θ2∈ C1,∞(Rd,Rd)have the same normal component, i.e.θ1·n=θ2·n on∂Ω, then :

J0(Ω)(θ1) =J0(Ω)(θ2).

(49)

Actually, the shape derivatives of ‘many’ integral objective functionalsJ(Ω) can be put under the form :

J0(Ω)(θ) = Z

∂Ω

v(θ·n)ds,

wherev:∂Ω→Ris a scalar field which depends onJand on the current shape Ω.

This structure lends itself to the calculation of adescent direction: lettingθ=−tvn, for a small enoughdescent stept>0 yields :

J(Ω) =J(Ω)−t Z

∂Ω

v2ds+o(t)<J(Ω).

(50)

First examples of shape derivatives

Theorem

Let Ω ⊂ Rd be a bounded Lipschitz domain, and f ∈ W1,1(Rd) be a fixed function.

Consider the functional :

J(Ω) = Z

f(x)dx;

thenJis shape differentiable at Ω and its shape derivative is :

∀θ∈W1,∞(Rd,Rd), J0(Ω)(θ) = Z

∂Ω

f (θ·n)ds.

(51)

x+✓(x) x

Figure:Physical intuition : J(Ωθ)is obtained from J(Ω)by adding the blue area, where θ·n>0, and removing the red area, whereθ·n<0. The process is ‘weighted’ by the integrand function f .

(52)

First examples of shape derivatives

Remarks :

This result is actually a particular case of theTransport(orReynolds)theorem, used to derive the equations of conservation from conservation principles.

It allows to calculate the shape derivative of the volume functional Vol(Ω) =R

1dx:

∀θ∈W1,∞(Rd,Rd), Vol0(Ω)(θ) = Z

∂Ω

θ·n ds= Z

div(θ)dx.

In particular, ifdiv(θ) = 0, the volume does not vary (at first order) when Ω is perturbed byθ.

(53)

Proof :The formula proceeds from a change of variables : J(Ωθ) =

Z

(I+θ)(Ω)

f(x)dx= Z

|det(I+∇θ)|f ◦(I+θ)dx.

•The mappingθ7→det(I+∇θ) is Fr´echet differentiable at 0, and : det(I+∇θ) = 1 +div(θ) +o(θ), o(θ)

||θ||W1,∞(Rd,Rd) −→

θ→00.

•Iff ∈W1,1(Rd),θ7→f ◦(I+θ) is also Fr´echet differentiable at 0 and : f ◦(I+θ) =f +∇f ·θ+o(θ).

•Combining those three identites and Green’s formula lead to the result.

(54)

First examples of shape derivatives

Theorem

Let Ω0⊂Rdbe a bounded,regular enoughdomain, andg ∈W2,1(Rd) be afixedfunction.

Consider the functional :

J(Ω) = Z

∂Ω

g(x)ds;

thenJis shape differentiable at Ω0and its shape derivative is : J0(Ω)(θ) =

Z

∂Ω

∂g

∂n+κg

(θ·n)ds, whereκstands for themean curvatureof∂Ω.

Example : The shape derivative of theperimeterP(Ω) =R

∂Ω1ds is : P0(Ω)(θ) =

Z

∂Ω

κ(θ·n)ds.

(55)

The examples of physical interest are those ofPDE constrained shape optimization, i.e.

one aims at minimizing functions which depend on Ω via the solutionuof a PDE posed on Ω, for instance (in most of the forthcoming examples) :

J(Ω) = Z

j(u)dx+ Z

∂Ω

k(u)ds,

whereuis e.g. the solution to the linear elasticity system posed on Ω, andj,k are given functions.

Doing so borrows methods from optimal control theory (adjoint techniques, etc...)

(56)

The framework

Henceforth, we rely on the model of theLaplace equation: the stateuis solution to the system

−∆u=f in Ω

u= 0 on∂Ω (Dirichlet B.C)

∂u

∂n = 0 on∂Ω (Neumann B.C) whereR

f dx= 0in theNeumanncase.

The associated variational formulation reads :

∀v ∈H01(Ω)/H1(Ω), Z

∇u· ∇v dx− Z

fv dx= 0.

We aim at calculating the shape derivative ofJ(Ω) =R

j(u)dx, wherej:R→R is a ‘smooth enough’ function.

(57)

Contents

1 Several examples of shape optimization problems

2 Tools for shape optimization Generalities

The perimeter functional in shape optimization Existence results in shape optimization Derivation with respect to the domain

Shape derivatives using Eulerian and material derivatives : the rigorous ‘difficult’ way A formal, easier way to compute shape derivatives : C´ea’s method

3 Numerics and applications to Fluid Mechanics Reminders in Fluid Mechanics

Shape optimization in Fluid Mechanics Numerical aspects

(58)

Eulerian and Lagrangian derivatives (I)

The rigorous way to address this problem requires a notion of differentiation of functions Ω7→u, which to a domain Ω associate a function defined on Ω. One could think of two ways of doing so :

The Eulerian point of view : For a fixed x ∈ Ω, u0(θ)(x) is the derivative of the application

θ7→uθ(x).

x•

u

u

The Lagrangian point of view : For a fixedx ∈Ω, ˙u(θ)(x) is the derivative of the application

θ7→uθ((I+θ)(x)).

x•

✓(x)

•x+✓(x)

(59)

The Eulerian notion of shape derivative, however more intuitive, is more difficult to define rigorously. In particular, differentiating theboundary conditionssatsified byu

is clumsy :

even forθ‘small’, uθ(x)may not make any sense if x∈∂Ω!

The Lagrangian notion of shape derivative can be rigorously defined, and lends itself to mathematical analysis.

The Eulerian derivative will bedefinedafter the Lagrangian derivative, from the formal use of chain rule over the expressionu(I+θ)(Ω)◦(I+θ) :

∀x ∈Ω, u˙(θ)(x) =u0(θ)(x) +∇u(x)·θ(x).

(60)

Eulerian and Lagrangian derivatives (III)

Let Ω7→u(Ω)∈H1(Ω) be a function which to a domain, associates a function on the domain.

Definition

The functionu: Ω7→u(Ω) admits amaterial, orLagrangianderivative ˙u(Ω) at a given domain Ω provided thetransported function

W1,∞(Rd,Rd)3θ7−→u(θ) :=u(Ωθ)◦(I+θ)∈H1(Ω),

which is defined in the neighborhood of 0∈W1,∞(Rd,Rd), is differentiable atθ= 0.

(61)

We are now in position todefine the notion of Eulerian derivative.

Definition

The functionu: Ω7→u(Ω) admits aEulerian derivativeu0(Ω)(θ) at a given domain Ω in the directionθ∈W1,∞(Rd,Rd) if it admits a material derivative ˙u(Ω)(θ) at Ω, and

∇u(Ω)·θ∈H1(Ω).

One defines then :

u0(Ω)(θ) = ˙u(Ω)(θ)− ∇u(Ω).θ∈H1(Ω). (1)

(62)

Eulerian and Lagrangian derivatives (V)

Proposition

Let Ω⊂Rd be a smooth bounded domain, and suppose that Ω7→u(Ω) has aLagrangian derivativeu(Ω) at Ω. If˙ j:R→Ris regular enough, the functionJ(Ω) =R

j(u(Ω))dx is thenshape differentiableat Ω, and :

J0(Ω)(θ) = Z

˙

u(Ω)(θ)j0(u(Ω)) +j(u(Ω)) div(θ) dx.

for everyθ∈W1,∞(Rd,Rd).

Ifu(Ω) has aEulerian derivativeu0(Ω) at Ω, one has the‘chain rule’: J0(Ω)(θ) =

Z

∂Ω

j(u(Ω))θ·n ds

| {z }

Derivative of Ω7→R j(uΩ ) with respect to its first argument

+ Z

j0(u(Ω))u0(Ω)(θ)dx

| {z }

Derivative of Ω7→R j(uΩ ) with respect to its second argument

.

Practically speaking, one mainly uses this last expression of theshape derivative.

(63)

Let us return to our problem of calculating the shape derivative of : J(Ω) =

Z

j(u)dx, where

−∆u=f in Ω u= 0 on∂Ω .

The following result characterizes theLagrangian derivativeof Ω7→u. Its proof can be adapted to many different PDE models :

Theorem

Let Ω⊂Rd be a smooth bounded domain. The application Ω7→u ∈H01(Ω) admits a Lagrangian derivativeu˙(θ), and for anyθ∈W1,∞(Rd,Rd), ˙u(θ)∈H01(Ω) is the unique solution to :

−∆Y =−∆(θ· ∇u) in Ω

Y = 0 on∂Ω .

(64)

Eulerian and Lagrangian derivatives (VII)

Idea of the proof :The variational problem satisfied byuθ is :

∀v ∈H01(Ωθ), Z

θ

∇uθ· ∇v dx = Z

θ

fv dx.

By a change of variables, thetransported functionu(θ) :=uθ◦(I+θ) satisfies :

∀v ∈H01(Ω), Z

A(θ)∇u(θ)· ∇v dx = Z

θ

|det(I+∇θ)|fv dx, whereA(θ) :=|det(I+∇θ)|∇θ∇θT.

This variational problem features afixed domainand afixed function spaceH01(Ω), and only the coefficients of the formulation depend onθ.

(65)

The problem can now be written as an equation foru(θ) : F(θ,u(θ)) =G(θ), for appropriate definitions of the operators :

F:W1,∞(Rd,Rd)×H01(Ω)H−1(Ω), G:W1,∞(Rd,Rd)H−1(Ω).

A use of theimplicit function theoremprovides the result.

In particular, theLagrangian derivativeu˙(θ) satisfies :

∀v ∈H01(Ω), Z

∇u˙(θ)· ∇v dx = Z

∇(θ· ∇u)· ∇v dx.

(66)

Eulerian and Lagrangian derivatives (IX)

Remark : TheEulerian derivativeofucan now be computed from itsLagrangian derivative. It satisfies : −∆U= 0 in Ω

U=−(θ·n)∂u∂n on∂Ω , or under variational form :

∀v ∈H01(Ω), Z

∇u0(θ)· ∇v dx = Z

∂Ω

∂u

∂n vθ·n ds.

Using this formula in combination with : J0(Ω)(θ) =

Z

∂Ω

j(u)θ·n ds+ Z

j0(u)u0(θ)dx

will allow to expressJ0(Ω)(θ) as a completelyexplicitexpression ofθ: this is theadjoint methodfrom optimal control theory.

Goal of the adjoint method :writeJ0(Ω)(θ) under the form J0(Ω)(θ) =

Z

∂Ω

something×(θ·n)ds wheresomethingdoes not depend onθ.

(67)

Idea :‘lift up’ the term ofJ0(Ω)(θ) which features the Eulerian derivative ofu

by introducing anadequate auxiliary problem.

Letp∈H01(Ω) be defined as the solution to the problem : −∆p=−j0(u) in Ω

p= 0 on∂Ω . The variational formulation for pis :

∀v ∈H01(Ω), Z

∇p· ∇v dx=− Z

j0(u)vdx, ... to be compared with :

J0(Ω)(θ) = Z

∂Ω

j(u)θ·n ds+ Z

j0(u)u0(θ)dx.

(68)

Eulerian and Lagrangian derivatives (XI) : the adjoint method

Thus,J0(Ω)(θ) = Z

∂Ω

j(u)θ·n ds+ Z

j0(u)u0(θ)dx

= Z

∂Ω

j(u)θ·n ds− Z

∇p·∇u0(θ)dx

= Z

∂Ω

j(u)θ·n ds− Z

∂Ω

∂p

∂n

∂u

∂n θ·ndx ,

where the variational problem foru0:

∀v ∈H01(Ω), Z

∇u0(θ)· ∇v dx = Z

∂Ω

∂u

∂n vθ·n ds.

was used in the last line, with test functionv =p.

∀θ∈W1,∞(Rd,Rd), J0(Ω)(θ) = Z

∂Ω

j(u)−∂u

∂n

∂p

∂n

θ·n ds,

(69)

Mathematically speaking, it is therigorousway to assess the differentiability of shape functionals.

Several techniques presented above (in particular the adjoint technique) exist in much more general frameworks than shape optimization, and pertain to the framework ofoptimal control theory.

This way of obtaining shape derivatives is very involved in terms of calculations.

In practice, a formal method, which is much simpler, allows to calculate shape derivatives :C´ea’s method.

(70)

Contents

1 Several examples of shape optimization problems

2 Tools for shape optimization Generalities

The perimeter functional in shape optimization Existence results in shape optimization Derivation with respect to the domain

Shape derivatives using Eulerian and material derivatives : the rigorous ‘difficult’ way A formal, easier way to compute shape derivatives : C´ea’s method

3 Numerics and applications to Fluid Mechanics Reminders in Fluid Mechanics

Shape optimization in Fluid Mechanics Numerical aspects

(71)

The philosophy ofC´ea’s methodcomes from optimization theory :

Write the problem of minimizing J(Ω)as that of searching for the saddle points of a Lagrangian functional :

L(Ω,u,p) = Z

j(u)dx

| {z }

Objective function at stake

+ Z

(−∆u−f)p dx

| {z }

u=uΩ is enforced as a constraint by penalization with the Lagrange multiplierp

,

where the variables Ω,u,p areindependent.

This method isformal: in particular, it assumes that we already know that Ω7→uis differentiable.

(72)

C´ea’s method : the Neumann case (I)

Consider the followingLagrangian functional: L(Ω,v,q) =

Z

j(v)dx

| {z }

Objective function whereuΩ is replaced byv

+ Z

∇v· ∇q dx− Z

fq dx

| {z }

Penalization of the ’constraint’R v=uΩ : Ω (−∆v−f)q dx=0

,

which is defined for any shape Ω∈ Uad, and for anyv,q∈H1(Rd),so that the variables Ω,v andq are independent.

One observes that, evaluatingLwithv=u, it comes :

∀q∈H1(Rd), L(Ω,u,q) = Z

j(u)dx=J(Ω).

(73)

For a fixed shape Ω, we search for thesaddle points(u,p)∈Rd×Rd ofL(Ω,·,·). The first-order necessary conditions read :

• ∀q∈H1(Rd), ∂L

∂q(Ω,u,p)(q) = Z

∇u· ∇q dx− Z

fq dx= 0.

• ∀v ∈H1(Rd), ∂L

∂v(Ω,u,p)(v) = Z

j0(u)·v dx+ Z

∇v· ∇p dx= 0.

(74)

C´ea’s method : the Neumann case (III)

Step 1 :Identification of u :

∀q∈H1(Rd), Z

∇u· ∇q dx− Z

fq dx= 0.

Takingqas anyCfunctionψwith compact support in Ω yields :

∀ψ∈ Cc(Ω), Z

∇u· ∇ψdx− Z

fψdx= 0⇒ −∆u=f in Ω .

Now takingqas aC functionψand using Green’s formula :

∀ψ∈ Cc(Rd), Z

∂Ω

∂u

∂nψds= 0⇒ ∂u∂n = 0 on∂Ω .

Conclusion :u=u.

(75)

Step 2 :Identification of p :

∀v ∈H1(Rd), Z

j0(u)v+ Z

∇v· ∇p dx= 0.

Takingv as anyCfunctionψwith compact support in Ω yields :

∀ψ∈ Cc(Ω), Z

∇p· ∇ψdx+ Z

j0(u)ψdx= 0

⇒ −∆u=−j0(u) in Ω . Now takingv as aC functionψand using Green’s formula :

∀ψ∈ C(Rd), Z

∂Ω

∂p

∂nϕds = 0⇒ ∂p∂n= 0 on∂Ω .

Conclusion :p=p, solution to

−∆p=−j0(u) inΩ

∂p

∂n = 0 on∂Ω

(76)

C´ea’s method : the Neumann case (V)

Step 3 :Calculation of the shape derivative J0(Ω)(θ): We go back to the fact that :

∀q∈H1(Rd), L(Ω,u,q) = Z

j(u)dx.

Differentiating with respect to Ω yields :

∀θ∈W1,∞(Rd,Rd), J0(Ω)(θ) = ∂L

∂Ω(Ω,u,q)(θ) +∂L

∂v(Ω,u,q)(u0(θ)), whereu0(θ) is theEulerian derivativeof Ω7→u(assumed to exist).

Now, choosingq=pproduces, since ∂L∂v(Ω,u,p) = 0 :

J0(Ω)(θ) = ∂L∂Ω(Ω,u,p)(θ).

(77)

This last(partial)derivative amounts to the shape derivative of a functional of the form : Ω7→

Z

f(x)dx, wheref is afixedfunction.

Using the derivative of Ω7→R

f, we end up with :

∀θ∈W1,∞(Rd,Rd), J0(Ω)(θ) =

Z

∂Ω

(j(u) +∇u· ∇p−fp)θ·n ds.

Références

Documents relatifs

Since we have to differentiate the energy functionals with respect to the variations of the boundary, the knowledge of the shape derivative of the state equation with respect to

In this way, we split the analysis in two main steps: First the Gˆ ateaux differentiability analysis of scalar boundary integral operators and potential operators

To avoid the phenomenon, we are led to approximate the original model by a new exterior boundary value problem with high order boundary conditions in terms of surface

The expression for the shape derivative of the Wentzell eigenvalue Λ ∂Ω (Ω) has been obtained in [8] using the material derivative approach and then used to study the problem

Optimal shapes obtained in the cantilever test-case of Section 9.2, (left column) using the projected gradient algorithm of Section 8.2.1 for the density optimization problem (3.5)

This structure allows us to define a useful notion of positivity of the shape derivative and we show it implies its continuity with respect to the uniform norm when the boundary

We also recall the classical examples of second order shape derivatives, noticing in particular in which norms they are continuous (which leads to the value of s 2 from assumption (C

This structure allows us to define a useful notion of positivity of the shape derivative and we show it implies its continuity with respect to the uniform norm when the boundary