PDE-Constrained Optimization Using Hyper-Reduced Models Matthew J. - - PowerPoint PPT Presentation

pde constrained optimization using hyper reduced models
SMART_READER_LITE
LIVE PREVIEW

PDE-Constrained Optimization Using Hyper-Reduced Models Matthew J. - - PowerPoint PPT Presentation

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment PDE-Constrained Optimization Using Hyper-Reduced Models Matthew J. Zahr and Charbel Farhat Institute for Computational and Mathematical Engineering Farhat


slide-1
SLIDE 1

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

PDE-Constrained Optimization Using Hyper-Reduced Models

Matthew J. Zahr and Charbel Farhat

Institute for Computational and Mathematical Engineering Farhat Research Group Stanford University

SIAM Conference on Optimization (CP13) May 19 - 22, 2014 San Diego, CA

Zahr and Farhat Hyper-Reduced Optimization

slide-2
SLIDE 2

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

1 PDE-Constrained Optimization 2 HROM-Constrained Optimization 3 Numerical Experiment

Zahr and Farhat Hyper-Reduced Optimization

slide-3
SLIDE 3

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Problem Formulation

Goal: Rapidly solve PDE-constrained optimization problems of the form minimize

w∈RN, µ∈Rp

f(w, µ) subject to R(w, µ) = 0 (1) where R : RN × Rp → RN is the discretized (nonlinear) PDE, w is the PDE state vector, µ is the vector of parameters, and N is assumed to be very large.

Zahr and Farhat Hyper-Reduced Optimization

slide-4
SLIDE 4

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Reduced-Order Model

Model Order Reduction (MOR) assumption: state vector lies in low-dimensional affine subspace w = ¯ w + Φy where y ∈ Rn are the reduced coordinates of w in the basis Φ ∈ RN×n and n ≪ N Substitute assumption into High-Dimensional Model (HDM), R(w, µ) = 0 R( ¯ w + Φy, µ) ≈ 0 Require projection of residual in low-dimensional left subspace, with basis Ψ ∈ RN×n to be zero Rr(y, µ) = ΨT R( ¯ w + Φy, µ) = 0

Zahr and Farhat Hyper-Reduced Optimization

slide-5
SLIDE 5

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

Rr(y, µ) = ΨT R( ¯ w + Φy, µ) = 0 Φ y

Zahr and Farhat Hyper-Reduced Optimization

slide-6
SLIDE 6

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

Rr(y, µ) = ΨT R( ¯ w + Φy, µ) = 0 ¯ w + Φ y

Zahr and Farhat Hyper-Reduced Optimization

slide-7
SLIDE 7

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

Rr(y, µ) = ΨT R( ¯ w + Φy, µ) = 0 R ( ¯ w + Φ y )

Zahr and Farhat Hyper-Reduced Optimization

slide-8
SLIDE 8

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

Rr(y, µ) = ΨT R( ¯ w + Φy, µ) = 0 ΨT R

Zahr and Farhat Hyper-Reduced Optimization

slide-9
SLIDE 9

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

Rr(y, µ) = ΨT R( ¯ w + Φy, µ) = 0 Rr = ΨT R ( ¯ w + Φ y )

Zahr and Farhat Hyper-Reduced Optimization

slide-10
SLIDE 10

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

∂Rr ∂y (y, µ) = ΨT ∂R ∂y ( ¯ w + Φy, µ)Φ Φ y

Zahr and Farhat Hyper-Reduced Optimization

slide-11
SLIDE 11

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

∂Rr ∂y (y, µ) = ΨT ∂R ∂y ( ¯ w + Φy, µ)Φ ¯ w + Φ y

Zahr and Farhat Hyper-Reduced Optimization

slide-12
SLIDE 12

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

∂Rr ∂y (y, µ) = ΨT ∂R ∂y ( ¯ w + Φy, µ)Φ

∂R ∂w (

) ¯ w + Φ y

Zahr and Farhat Hyper-Reduced Optimization

slide-13
SLIDE 13

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

∂Rr ∂y (y, µ) = ΨT ∂R ∂y ( ¯ w + Φy, µ)Φ ΨT

∂R ∂w

Φ

Zahr and Farhat Hyper-Reduced Optimization

slide-14
SLIDE 14

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Bottleneck

∂Rr ∂y (y, µ) = ΨT ∂R ∂y ( ¯ w + Φy, µ)Φ

∂Rr ∂y

= ΨT

∂R ∂w (

) Φ ¯ w + Φ y

Zahr and Farhat Hyper-Reduced Optimization

slide-15
SLIDE 15

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Solution: Gappy POD Approximation

Assume nonlinear terms (residual/Jacobian) lie in low-dimensional subspace R(w, µ) ≈ ΦRr(w, µ) where Φ ∈ RN×nR and r : RN × Rp → RnR are the reduced coordinates; nR ≪ N Determine R by solving gappy least-squares problem r(w, µ) = arg min

a∈Rnr ||ZT ΦRa − ZT R(w, µ)||

where Z is a restriction operator Analytical solution r(w, µ) =

  • ZT ΦR

† ZT R(w, µ)

  • Zahr and Farhat

Hyper-Reduced Optimization

slide-16
SLIDE 16

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Gappy POD in Practice

(a) 253 sample nodes (b) 378 sample nodes (c) 505 sample nodes

Zahr and Farhat Hyper-Reduced Optimization

slide-17
SLIDE 17

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Hyper-Reduced Model

Using the Gappy POD approximation, the hyper-reduced governing equations are Rh(y, µ) = ΨT ΦR

  • ZT ΦR

† ZT R( ¯ w + Φy, µ)

  • = 0

where E = ΨT ΦR

  • ZT ΦR

† is known offline and can be precomputed Rr = E ZT R

Zahr and Farhat Hyper-Reduced Optimization

slide-18
SLIDE 18

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Hyper-Reduced Optimization

Using the hyper-reduced model as a surrogate for the HDM in the PDE-constrained optimization, we have the hyper-reduced

  • ptimization problem

minimize

y∈Rn, µ∈Rp

˜ f(y, µ) subject to Rh(y, µ) = 0 where Rh : Rk × Rp → Rk is the hyper-reduced PDE and y ∈ Rk are the reduced coordinates, where k ≪ N.

Zahr and Farhat Hyper-Reduced Optimization

slide-19
SLIDE 19

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Hyper-Reduced Optimization Procedure

  • µ

w

  • y

Φ

HDM HDM RB, Φ ROM Optimizer

Compress

Φ HDM

Update RB ∗

  • HDM

HDM HDM

R O M R O M R O M R O M R O M R O M R O M R O M R O M

µ w

  • y

Φ

Φ

∗ ∗ Zahr and Farhat Hyper-Reduced Optimization

slide-20
SLIDE 20

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Hyper-Reduced Optimization Schematic

  • µ

w

  • y

Φ

Φ r Φ

∗ ∗

  • Zahr and Farhat

Hyper-Reduced Optimization

slide-21
SLIDE 21

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Quasi-1D Euler Flow

Quasi-1D Euler equations: ∂U ∂t + 1 A ∂(AF) ∂x = Q where U =   ρ ρu e   , F =   ρu ρu2 + p (e + p)u   , Q =  

p A ∂A ∂x

  Semi-discretization = ⇒ finite volumes with Roe flux and entropy corrections Full discretization = ⇒ Backward Euler → steady state

Zahr and Farhat Hyper-Reduced Optimization

slide-22
SLIDE 22

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Nozzle Parametrization

Nozzle parametrized with cubic splines using 13 control points and constraints requiring convexity A′′(x) ≥ 0 bounds on A(x) Al(x) ≤ A(x) ≤ Au(x) bounds on A′(x) at inlet/outlet A′(xl) ≤ 0, A′(xr) ≥ 0

0.05 0.1 0.15 0.2 0.25 0.01 0.02 0.03 0.04 0.05 0.06 0.07 x Nozzle Height Nozzle Parametrization Al(x) Au(x) A(x) Spline Points

Zahr and Farhat Hyper-Reduced Optimization

slide-23
SLIDE 23

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Parameter Estimation/Inverse Design

For this problem, the goal is to determine the parameter µ∗ such that the flow achieves some optimal or desired state w∗ minimize

w∈RN, µ∈Rp

||w(µ) − w∗|| subject to R(w, µ) = 0 c(w, µ) ≤ 0 (2) where c are the nozzle constraints. This problem is solved using

the HDM as the governing equation

HDM-based optimization

the HROM as the governing equation

HROM-based optimization

Zahr and Farhat Hyper-Reduced Optimization

slide-24
SLIDE 24

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Objective Function Convergence

(a) Convergence (# HDM Evals)

5 10 15 20 25 30 10 10

1

10

2

10

3

10

4

10

5

10

6

# H DM Evaluations Ob j ective Function HDM - based opt HROM - based opt

(b) Convergence (CPU Time)

500 1000 1500 2000 2500 3000 3500 10 10

1

10

2

10

3

10

4

10

5

10

6

C PU T im e (sec) Ob j ective Function H DM - B ased Opt H ROM - B ased Opt

Zahr and Farhat Hyper-Reduced Optimization

slide-25
SLIDE 25

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Hyper-Reduced Optimization Progression

(a) Parameter (µ) Progression

0.05 0.1 0.15 0.2 0.25 0.01 0.02 0.03 0.04 0.05 0.06 0.07 x Nozzle Height Desired Optimal Initial Guess HROM-Based Iterates HROM-Based Optimal Sample Mesh

(b) Pressure Progression

0.05 0.1 0.15 0.2 0.25 5 10 15 20 25 30 35 40 45 x Pressure (non-dimensionalize) Desired Optimal Initial Guess HROM-Based Iterates HROM-Based Optimal Sample Mesh

Zahr and Farhat Hyper-Reduced Optimization

slide-26
SLIDE 26

PDE-Constrained Optimization HROM-Constrained Optimization Numerical Experiment

Optimization Summary

HDM-Based Opt HROM-Based Opt

  • Rel. Error in µ∗ (%)

1.82 5.26

  • Rel. Error in w∗ (%)

0.11 0.12 # HDM Evals 27 8 # HROM Evals 161 CPU Time (s) 3361.51 2001.74

Zahr and Farhat Hyper-Reduced Optimization