Shape derivative of geometric constraints without integration along - - PowerPoint PPT Presentation

shape derivative of geometric constraints without
SMART_READER_LITE
LIVE PREVIEW

Shape derivative of geometric constraints without integration along - - PowerPoint PPT Presentation

Shape derivative of geometric constraints without integration along rays Florian Feppon Gr egoire Allaire, Charles Dapogny Julien Cortial, Felipe Bordeu ENGOPT September 18th, 2018 Thickness control in structural optimization Some


slide-1
SLIDE 1

Shape derivative of geometric constraints without integration along rays

Florian Feppon Gr´ egoire Allaire, Charles Dapogny Julien Cortial, Felipe Bordeu ENGOPT – September 18th, 2018

slide-2
SLIDE 2

Thickness control in structural optimization

Some recent advances in level-set based shape optimization: geometric constraints.[1][2]:

Figure: Michailidis (2014)

[1]

Michailidis2014Manufacturing.

[2]

Allaire2016Thickness.

slide-3
SLIDE 3

Outline

  • 1. Shape derivatives of geometric constraints based on the signed

distance function

  • 2. A variational method for avoiding integration along rays
  • 3. Numerical comparisons and applications to shape and topology
  • ptimization
slide-4
SLIDE 4

Outline

  • 1. Shape derivatives of geometric constraints based on the signed

distance function

  • 2. A variational method for avoiding integration along rays
  • 3. Numerical comparisons and applications to shape and topology
  • ptimization
slide-5
SLIDE 5
  • 1. Shape derivatives of geometric constraints

The signed distance function dΩ to the domain Ω ⊂ D is defined by: ∀x ∈ D, dΩ(x) =      − min

y∈∂Ω ||y − x||

if x ∈ Ω, min

y∈∂Ω ||y − x||

if x ∈ D\Ω.

slide-6
SLIDE 6
  • 1. Shape derivatives of geometric constraints

The signed distance function allows to formulate geometric constraints.

◮ Maximum thickness constraint :

∀x ∈ Ω, |dΩ(x)| ≤ dmax/2

◮ Minimum thickness constraint:

∀y ∈ ∂Ω, |ζ−(y)| ≥ dmin/2.

slide-7
SLIDE 7
  • 1. Shape derivatives of geometric constraints

For shape optimization, one formulates geometric constraints using penalty functionals P(Ω) as follows: min

Ω J(Ω), s.t. P(Ω) ≤ 0, where P(Ω) :=

  • D

j(dΩ(x))dx. We rely on the method of Hadamard (figure from[3]):

[3]

dapogny2017geometrical.

slide-8
SLIDE 8
  • 1. Shape derivatives of geometric constraints

For shape optimization, one formulates geometric constraints using penalty functionals P(Ω) as follows: min

Ω J(Ω), s.t. P(Ω) ≤ 0, where P(Ω) :=

  • D

j(dΩ(x))dx. The shape derivative of P(Ω) reads P′(Ω)(θ) =

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx =

  • ∂Ω

u θ · ndy with ∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx.

slide-9
SLIDE 9
  • 1. Shape derivatives of geometric constraints

∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx. Computing u requires:

slide-10
SLIDE 10
  • 1. Shape derivatives of geometric constraints

∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx. Computing u requires:

  • 1. Integrating along rays on the discretization mesh:
slide-11
SLIDE 11
  • 1. Shape derivatives of geometric constraints

∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx. Computing u requires:

  • 1. Integrating along rays on the discretization mesh:
  • 2. Estimating the principal curvatures κi(y).
slide-12
SLIDE 12

Outline

  • 1. Shape derivatives of geometric constraints based on the signed

distance function

  • 2. A variational method for avoiding integration along rays
  • 3. Numerical comparisons and applications to shape and topology
  • ptimization
slide-13
SLIDE 13
  • 2. A variational method for avoiding integration along rays

More precisely, the shape derivative of P(Ω) reads P′(Ω)(θ) =

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx =

  • ∂Ω

u θ · ndy with d′

Ω(θ) satisfying

  • ∇d′

Ω(θ) · ∇dΩ = 0 in D\Σ

d′

Ω(θ) = −θ · n on ∂Ω.

|θ · n| θ Ω

slide-14
SLIDE 14
  • 2. A variational method for avoiding integration along rays

More precisely, the shape derivative of P(Ω) reads P′(Ω)(θ) =

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx =

  • ∂Ω

u θ · ndy with d′

Ω(θ) satisfying

  • ∇d′

Ω(θ) · ∇dΩ = 0 in D\Σ

d′

Ω(θ) = −θ · n on ∂Ω.

Our method: u solves the following variational problem (with ω > 0 rather arbitrary): Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx,

slide-15
SLIDE 15
  • 2. A variational method for avoiding integration along rays

More precisely, the shape derivative of P(Ω) reads P′(Ω)(θ) =

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx =

  • ∂Ω

u θ · ndy with d′

Ω(θ) satisfying

  • ∇d′

Ω(θ) · ∇dΩ = 0 in D\Σ

d′

Ω(θ) = −θ · n on ∂Ω.

Our method: Take v = d′

Ω(θ):

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx,

slide-16
SLIDE 16
  • 2. A variational method for avoiding integration along rays

More precisely, the shape derivative of P(Ω) reads P′(Ω)(θ) =

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx =

  • ∂Ω

u θ · ndy with d′

Ω(θ) satisfying

  • ∇d′

Ω(θ) · ∇dΩ = 0 in D\Σ

d′

Ω(θ) = −θ · n on ∂Ω.

Our method: Take v = d′

Ω(θ):

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx,

  • ∂Ω

ud′

Ω(θ)ds+

  • D\Σ

ω(∇dΩ·∇u)(∇dΩ · ∇d′

Ω(θ))dx = −

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx,

slide-17
SLIDE 17
  • 2. A variational method for avoiding integration along rays

More precisely, the shape derivative of P(Ω) reads P′(Ω)(θ) =

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx =

  • ∂Ω

u θ · ndy with d′

Ω(θ) satisfying

  • ∇d′

Ω(θ) · ∇dΩ = 0 in D\Σ

d′

Ω(θ) = −θ · n on ∂Ω.

Our method: Take v = d′

Ω(θ):

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx,

  • ∂Ω

ud′

Ω(θ)ds+

  • D\Σ

ω(∇dΩ·∇u)(∇dΩ · ∇d′

Ω(θ))dx = −

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx,

slide-18
SLIDE 18
  • 2. A variational method for avoiding integration along rays

More precisely, the shape derivative of P(Ω) reads P′(Ω)(θ) =

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx =

  • ∂Ω

u θ · ndy with d′

Ω(θ) satisfying

  • ∇d′

Ω(θ) · ∇dΩ = 0 in D\Σ

d′

Ω(θ) = −θ · n on ∂Ω.

Our method: Take v = d′

Ω(θ):

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx,

  • ∂Ω

ud′

Ω(θ)ds+

  • D\Σ

ω(∇dΩ·∇u)(∇dΩ · ∇d′

Ω(θ))dx = −

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx,

  • ∂Ω

u (−θ · n)ds + 0 = −

  • D\Σ

j′(dΩ(x))d′

Ω(θ)(x)dx.

slide-19
SLIDE 19
  • 2. A variational method for avoiding integration along rays

Our theoretical results for the variational problem:

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx (1)

slide-20
SLIDE 20
  • 2. A variational method for avoiding integration along rays

Our theoretical results for the variational problem:

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx (1)

  • 1. Under rather unrestrictive assumptions, the trace of the solution u is

independent on the weight ω and is given by

∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx. (2)

slide-21
SLIDE 21
  • 2. A variational method for avoiding integration along rays

Our theoretical results for the variational problem:

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx (1)

  • 1. Under rather unrestrictive assumptions, the trace of the solution u is

independent on the weight ω and is given by

∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx. (2)

(1) can be solved with FEM while (2) requires computing rays and curvatures!

slide-22
SLIDE 22
  • 2. A variational method for avoiding integration along rays

Our theoretical results for the variational problem:

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx (1)

  • 1. Under rather unrestrictive assumptions, the trace of the solution u is

independent on the weight ω and is given by

∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx. (2)

(1) can be solved with FEM while (2) requires computing rays and curvatures!

  • 2. It is possible to show the well-posedeness of (??) for a large class of

weights ω in a suitable space Vω.

slide-23
SLIDE 23
  • 2. A variational method for avoiding integration along rays

Our theoretical results for the variational problem:

Find u ∈ Vω such that ∀v ∈ Vω,

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx (1)

  • 1. Under rather unrestrictive assumptions, the trace of the solution u is

independent on the weight ω and is given by

∀y ∈ ∂Ω, u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx. (2)

(1) can be solved with FEM while (2) requires computing rays and curvatures!

  • 2. It is possible to show the well-posedeness of (??) for a large class of

weights ω in a suitable space Vω.

  • 3. The framework extends to more general C1 vector field β (without

assuming div(β) ∈ L∞(D)) than β = ∇dΩ.

slide-24
SLIDE 24
  • 2. A variational method for avoiding integration along rays

Examples of more general settings:

slide-25
SLIDE 25

Outline

  • 1. Shape derivatives of geometric constraints based on the signed

distance function

  • 2. A variational method for avoiding integration along rays
  • 3. Numerical comparisons and applications to shape and topology
  • ptimization
slide-26
SLIDE 26
  • 3. Numerical comparisons and applications to shape and

topology optimization

Does it really work? u(y) = −

  • x∈ray(y)

j′(dΩ(x))

  • 1≤i≤n−1

(1 + κi(y)dΩ(x))dx, ∀y ∈ ∂Ω, versus

  • ∂Ω

uvds +

  • D\Σ

ω(∇dΩ · ∇u)(∇dΩ · ∇v)dx = −

  • D\Σ

j′(dΩ(x))v(x)dx

slide-27
SLIDE 27
  • 3. Numerical comparisons and applications to shape and

topology optimization

An analytic example...

Figure: A prescribed −j′(dΩ(x))

slide-28
SLIDE 28
  • 3. Numerical comparisons and applications to shape and

topology optimization

It works with weights ω vanishing near the skeleton.

2 4 6 8 0.4 0.6 0.8 1.0 1.2 uAnalytic uRays uVariational

(a) Mesh T ′, ω = 1

2 4 6 8 0.4 0.6 0.8 1.0 1.2 uAnalytic uRays uVariational

(b) Mesh T , ω = 1

2 4 6 8 0.4 0.6 0.8 1.0 1.2 uAnalytic uRays uVariational

(c) Mesh T , ω = 2/(1 + |∆dΩ|3.5)

2 4 6 8 0.4 0.6 0.8 1.0 1.2 uAnalytic uRays uVariational

(d) Fine mesh T , ω = 2/(1 + |∆dΩ|3.5)

slide-29
SLIDE 29
  • 3. Numerical comparisons and applications to shape and

topology optimization

It works with weights vanishing near the skeleton.

(a) Mesh T ′ (skeleton manually truncated), ω = 1 (b) Mesh T , ω = 1. (c) Mesh T , ω = 2/(1 + |∆dΩ|3.5) Figure: P1 elements with ω = 1 do not allow discontinuities of test functions near the skeleton...

slide-30
SLIDE 30
  • 3. Numerical comparisons and applications to shape and

topology optimization

We were able to implement conveniently geometric constraints in level set based shape optimization.

slide-31
SLIDE 31
  • 3. Numerical comparisons and applications to shape and

topology optimization

We were able to implement conveniently geometric constraints in level set based shape optimization.

(a) No maximum thickness constraint (b) dmax = 0.07. Figure: Maximum thickness constraint for 2D arch.

slide-32
SLIDE 32
  • 3. Numerical comparisons and applications to shape and

topology optimization

We were able to implement conveniently geometric constraints in level set based shape optimization.

(a) No minimum thickness constraint. (b) dmin = 0.1. (c) dmin = 0.2

.

Figure: Minimum thickness constraint for 2D cantilever.

slide-33
SLIDE 33

Preprint to appear

Thank you for your attention. Much more details in the following preprint to appear. Feppon, F., Allaire, and Dapogny, C. A variational formulation for computing shape derivatives of geometric constraints along rays. (2018).