• 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!
26
0
0

Texte intégral

(1)

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

PascalFreyandYannickPrivat

(Slides by CharlesDapogny, PascalFreyand YannickPrivat)

CNRS & Univ. Paris 6

(2)

Session 1: tools for shape optimization in Fluid Mechanics (optimization) and existence of optimal shapes

Session 2 and 3 : optimality condition (shape derivative) Session 4 and 5 : existence of optimal shapes, application in Fluid Mechanics and algorithms

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

Joining me: [email protected]

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

(3)

Outlines of the lesson

1 Reminders in (in)finite-dimensional optimization problems

2 Several examples of shape optimization problems

3 Generalities

(4)

1 Reminders in (in)finite-dimensional optimization problems

2 Several examples of shape optimization problems

3 Generalities

(5)

Reminders in (in)finite-dimensional optimization problems

Finite dimensional optimization problems: basics

Letf :K⊂Rn−→Rbe continuous andK⊂Rn. Consider the optimization problem

x∈Kinf f(x)

Existence issues

Theorem (Existence)

Assume the existence ofx0 ∈Rn such that the set{f ≤f(x0)}be bounded. Then, the problem above has at least a solutionx.

! The assumption above is satisfied wheneverK is compactorK closed andf coercive, i.e.

f(x)−−−−−−→

kxk→+∞ +∞

! Example:

inf

(x,y)∈Kf(x,y) =x4+y4−x2 with K ={(x,y)∈R2,x+y ≤4}.

(6)

What about infinite dimensional spaces?

Consider the Hilbert space`2(R) =

x= (xn)n∈N∈RN|P+∞

n=0xn2<+∞ ,endowed with the inner producthx,yi=P+∞

n=0xnyn.

The following optimization problem has no solution:

inf

x∈`2(R)

f(x) with f(x) =

kxk2−12

+

+∞

X

n=0

xn2

n+ 1

The space`2(R) is closed, the functionf is continuous, coercive, BUT the problem above has no solution.

(7)

Reminders in (in)finite-dimensional optimization problems

Finite dimensional optimization problems: basics

Uniqueness issues Convex sets and functions

1 A setK⊂Rnis said convex iff for all (x1,x2)∈K2andt∈[0,1], one has tx1+ (1−t)x2∈K.

2 LetK⊂Rn be convex. The functionf :K −→Ris saidconvexiff

∀(x1,x2)∈K2, ∀t∈[0,1], f(tx1+ (1−t)x2)≤tf(x1) + (1−t)f(x2).

f isstrictly convexif the ineq. above is strict forx 6=y,t∈]0,1[.

strictly convex function

non convex function

(8)

Uniqueness issues

Theorem.

Consider the problem

x∈Kinf f(x)

withf andK convex (also true in infinite dim). Then,

1 every local minimum is global.

2 iff is strictly convex, there exists at most one minimizer.

Important example: the ”quadratic” function f : Rn −→ R

x 7−→ f(x) = 12hAx,xi − hb,xi+c, withA∈ Sn(R),bRnandcR.

The functionf is (strictly) convex iff Hessf(x) =Ais positive (semi) definite.

More precisely, ifA∈ Sn++(R), one has

∃λ >0 | hAx,xi ≥λkxk2.

(9)

Reminders in (in)finite-dimensional optimization problems

Finite dimensional optimization problems: basics

Optimality conditions

Letf :Rn →Rbe differentiable and the functionsh:Rn →Rp andg :Rn −→Rq of classC1.

Consider the problem inf

x∈Kf(x) where K ={x∈Rn, h(x) = 0 andg(x)≤0}.

Theorem (Karush-Kuhn-Tucker)

Letx be a local minimum of the problem above. We assume that the constraints are qualified atx. Then, there exists (λ1,· · ·, λp)∈Rpet (µ1,· · ·, µq)∈Rq+such that

∇f(x) +

p

X

i=1

λi∇hi(x) +

q

X

j=1

µj∇gj(x) = 0, h(x) = 0 andg(x)≤0,

µjgj(x) = 0,∀j∈ {1,· · ·,q}(complementary slackness).

(10)

Constraints qualification

Proposition

Letx∈K and introduce the active set

I(x) ={1≤j≤q|gj(x) = 0}.

If

either gj withj∈I(x) andhare affine, or the family{∇gj(x),∇hi(x)}1≤i≤p

j∈I(x)

is made of positive linearly independent vectors (Mangasarian-Fromovitz),

or for each subset of{∇gj,∇hi}1≤i≤p j∈I(x)

, the rank at the vicinity ofxis constant, then, the constraints are qualified atx.

Two tell-tale examples:

infx

x∈Retx2= 0, and

infhAx,xi

kxk2≤1, withA∈Sn+(R).

(11)

Several examples of shape optimization problems

Sommaire

1 Reminders in (in)finite-dimensional optimization problems

2 Several examples of shape optimization problems

3 Generalities

(12)

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 ?

(13)

Several examples of shape optimization problems

Isoperimetric problems

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).

(14)

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)

(15)

Several examples of shape optimization problems

Aerodynamic optimization of airplane

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

(16)

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.

(17)

Several examples of shape optimization problems

Optimal shape of a duct

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

|Ω|=V0(given).

(18)

1 Reminders in (in)finite-dimensional optimization problems

2 Several examples of shape optimization problems

3 Generalities

(19)

Generalities

Mathematical framework

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).

(20)

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-section S is parametrized by its thickness function h : R.

(21)

Generalities

Various settings for shape optimization (II)

! 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.

(22)

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.

(23)

Generalities

Various settings for shape optimization (IV)

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 Ω ascharacteristic functionsχ:D→ {0,1}.

Optimizing a shape by acting on its topology.

(24)

! 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.

(25)

Generalities

Disclaimer

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.

(26)

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. . .

Références

Documents relatifs

We finally present three numerical examples where shape and topology optimization problems are addressed with the level set based mesh evolution method of this section.. The first

Our analysis is based on a regularity theorem for the quasi-minimizers of the Dirichlet integral, which is based on the technique developed by Brian¸con, Hayouni and Pierre (see

Unité de recherche INRIA Rennes : IRISA, Campus universitaire de Beaulieu - 35042 Rennes Cedex (France) Unité de recherche INRIA Rhône-Alpes : 655, avenue de l’Europe -

The objective is to determine the shape of the 3 aforementioned case studies that minimizes the energy dissipation in the fluid due to the work of viscous forces under a

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

As the mass and momentum balance equations are averaged, the interface between sheared and unsheared flows is systematically treated as a shock wave (its propagation veloc- ity

In chapter 5 several numerical examples are given. They show, among others, that as a by-product we can find a shape for the contact part of the body that the contact stress will

Intrinsic observers for perfect incompressible fluids and particle imaging velocimetry..