• Keine Ergebnisse gefunden

Optimal Control of Two-Phase Flow

N/A
N/A
Protected

Academic year: 2022

Aktie "Optimal Control of Two-Phase Flow"

Copied!
42
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Optimal Control of Two-Phase Flow

Harald Garcke, Michael Hinze, Christian Kahle

RICAM special semester on Optimization WS1: New trends in PDE constrained optimization

14.10. – 18.10.2019

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 1/32

(2)

Optimal control of two-phase flow

Figure:without control

Figure:with control

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 2/32

(3)

Optimal control of two-phase flow

Figure:without control

Figure:with control

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 2/32

(4)

Outline

Setting

The time discrete setting The fully discrete setting Numerical examples

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 3/32

(5)

Outline

Setting

The time discrete setting The fully discrete setting Numerical examples

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 3/32

(6)

Diffuse interface approach

Setting: Two subdomainsΩ1andΩ2separated by unknown Γ. Assumption: Γof small thicknessO() >0and components are mixed

inside.

Representation: Continuous order parameterϕforΩ1andΩ2.

1

2 1

−1 ϕ

Γ

ϕ(x) =1⇔x∈Ω1

ϕ(x) = −1⇔x∈Ω2

−1<ϕ(x) <1⇔x∈Γ

−1 0

˜1 ρ2

˜ ρ1

Γ,O()

21

ϕ ρ2(x)

ρ1(x)

ϕ(x) =ρ1(x)

˜

ρ1 −ρ2(x)

˜ ρ2

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 4/32

(7)

Diffuse interface approach

Setting: Two subdomainsΩ1andΩ2separated by unknown Γ. Assumption: Γof small thicknessO() >0and components are mixed

inside.

Representation: Continuous order parameterϕforΩ1andΩ2.

1

2 1

−1 ϕ

Γ

ϕ(x) =1⇔x∈Ω1

ϕ(x) = −1⇔x∈Ω2

−1<ϕ(x) <1⇔x∈Γ

−1 0

˜1 ρ2

˜ ρ1

Γ,O()

21

ϕ ρ2(x)

ρ1(x)

ϕ(x) =ρ1(x)

˜

ρ1 −ρ2(x)

˜ ρ2

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 4/32

(8)

Diffuse interface approach

Setting: Two subdomainsΩ1andΩ2separated by unknown Γ. Assumption: Γof small thicknessO() >0and components are mixed

inside.

Representation: Continuous order parameterϕforΩ1andΩ2.

1

2 1

−1 ϕ

Γ

ϕ(x) =1⇔x∈Ω1

ϕ(x) = −1⇔x∈Ω2

−1<ϕ(x) <1⇔x∈Γ

−1 0

˜1 ρ2

˜ ρ1

Γ,O()

21

ϕ ρ2(x)

ρ1(x)

ϕ(x) =ρ1(x)

˜

ρ1 −ρ2(x)

˜ ρ2

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 4/32

(9)

The two-phase flow model

[Abels, Garcke, Grün, 2012]

v velocity, ppressure,

ϕphase field variable,µchemical potential

ρ∂tv+ ((ρv+J) ⋅ ∇)v− div(2ηDv) + ∇p= −ϕ∇µ+ρg, divv=0,

tϕ+v⋅ ∇ϕ−div(m∇µ) =0,

−σ∆ϕ+σ1W(ϕ) =µ, where2Dv= ∇v+ (∇v)t, J= −ρ(ϕ)m(ϕ)∇µ.

g gravity,

interfacial width, σ surface tension,

σ=cWσphy s,

ρ(ϕ) density, η(ϕ) viscosity, m(ϕ) mobility.

ϕ 1

−1 1

Ws

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 5/32

(10)

The free energy density W

logarithmic:

Wlog(ϕ) = θ2((1+ϕ)log(1+ϕ) + (1−ϕ)log(1−ϕ)) +θ2ϕ(1−ϕ2), polynomial: Wpoly(ϕ) = 14(1−ϕ2)2,

double-obstacle: W(ϕ) = 12(1−ϕ2)iff∣ϕ∣ ≤1, ∞else, relaxed double-obstacle:

Ws(ϕ) = 12(1− (ξϕ)2) +s2(max(0, ξϕ−1)2+min(0, ξϕ+1)2) +θ.

ϕ 1

−1 1

Wlog

ϕ 1

−1 1

Wpoly

ϕ 1

−1 1

W

ϕ 1

−1 1

Ws

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 6/32

(11)

Functions depending on ϕ

ϕ ρ(ϕ) =

ρ12

2 +ρ2−ρ2 1ϕ

η(ϕ) =

η12

2 +η2−η2 1ϕ

W(ϕ)

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 7/32

(12)

The formal energy inequality

Theorem

Letv , ϕ, µdenote a sufficiently smooth solution (if exists) and let E(t) = ∫1

2ρ(t)∣v(t)∣2dx+σ∫

2∣∇ϕ(t)∣2+1

W(ϕ(t))dx denote the energy of the system. Letv∣∂Ω=0hold.

Then it holds d

dtE(t) = − ∫2η(ϕ)∣Dv∣2dx− ∫m(ϕ)∣∇µ∣2dx+ ∫gv dx,

E(t2) + ∫t1t2m(ϕ(s))∣∇µ(s)∣2dxds+ ∫t1t22η(ϕ(s))∣Dv(s)∣2dxds

=E(t1) + ∫t1t2gv(s)dxds

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 8/32

(13)

Applied Controls

BuV =

si=V1fi(x)uV[i], fi∈L2(Ω)n

BuB=

si=B1gi(x)uB[i], gi∈H1/2(∂Ω)n

ϕ0= BuI=uI

uV ∈L2(0, T;RsV) =UV, uB∈L2(0, T;RsB) =UB,

uI∈ K ∶= {v∈H1(Ω) ∩L(Ω) ∣ ∣v∣ ≤1,(v ,1) =const} =UI, u= (uV, uB, uI) ∈U=UV ×UB×UI.

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 9/32

(14)

The two-phase flow model with controls

v velocity, ppressure,

ϕphase field variable,µchemical potential

ρ∂tv+ ((ρv+J) ⋅ ∇)v−div(2ηDv) + ∇p= −ϕ∇µ+ρg+BuV, divv=0,

tϕ+v⋅ ∇ϕ−div(m∇µ) =0,

−σ∆ϕ+σ1W(ϕ) =µ, where2Dv= ∇v+ (∇v)t,J= −ρ(ϕ)m(ϕ)∇µ, v∣∂Ω=BuB,ϕ(0) =uI.

g gravity,

interfacial width, σ surface tension,

σ=cWσphy s,

ρ(ϕ) density, η(ϕ) viscosity, m(ϕ) mobility.

ϕ 1

−1 1

Ws

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 10/32

(15)

The optimal control problem

The optimal control problem ϕd: desired distribution, αVBI=1

minJ(uI, uV, uB, ϕ) ∶=1

2∥ϕ(T) −ϕd2

2(αI

2∣∇uI2+1Wu(uI)dx αV∥uV2L2(0,T;RsV)B∥uB2L2(0,T;RsB)) s.t. two-phase fluid dynamics,

i.e. ϕ≡ϕ(uV, uB, uI)

(P)

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 11/32

(16)

Outline

Setting

The time discrete setting The fully discrete setting Numerical examples

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 11/32

(17)

A weak formulation

Abbreviate

a(u, v , w) ∶=1

2((u⋅ ∇)v , w) −1

2((u⋅ ∇)w , v) The model satisfies

tρ(ϕ) +div(ρ(ϕ)v+J) = −∇µ⋅ ∇ρ(ϕ) Ifρ(ϕ)is linear (mass conservation)

ρ∂tv+ ((ρv+J) ⋅ ∇)v−div(2ηDv) =µ∇ϕ,

t(ρv) +div(ρv⊗v) +div(v⊗J) −div(2ηDv) =µ∇ϕ.

Then a weak formulation is 1

2(ρ∂tv+∂t(ρv), w) +a(ρv+J, v , w) +2(ηDv , Dw) = (µ∇ϕ, w) ∀w ∈Hσ

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 12/32

(18)

An energy stable time discretization

[Garcke, Hinze, K. 2016]

uk ∶= 1τttk−1k u(t)dt,vk∂Ω= BuBk, ϕ0=uI

1

τ ∫k1k2

2 vk−ρk2vk1)w dx +a(ρk1vk1+Jk1, vk, w) + ∫k1Dvk ∶Dwdx

+ ∫ϕk1∇µk⋅w dx− ∫ρk1g⋅w dx− ∫BuVkw dx=0∀w ∈Hσ(Ω), 1

τ ∫k−ϕk1)Ψ dx− ∫ϕk1vk⋅ ∇Ψdx

+ ∫m∇µk⋅ ∇Ψdx=0∀Ψ∈H1(Ω), σ∫∇ϕk⋅ ∇Φdx− ∫µkΦdx

((W+)k) + (W)k1))Φdx=0∀Φ∈H1(Ω). (CHNSτ)

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 13/32

(19)

Energy inequality

Theorem

Letk≥2,ϕk, µk, vk be a solution to (CHNSτ), anduB≡0.

Then the following energy inequality holds

1

2∫ρk1∣vk2dx+σ∫

2∣∇ϕk2+1

W(ϕk)dx +1

2∫ρk2∣vk−vk12dx+σ

2 ∫∣∇ϕk− ∇ϕk12dx +τ∫k1∣Dvk2dx+τ∫m∣∇µk2dx

≤ 1

2∫ρk2∣vk12dx+σ∫

2∣∇ϕk12+1

W(ϕk1)dx + ∫ρk−1gvk dx+ ∫(BuVk)vk dx

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 14/32

(20)

Existence of a unique solution

Theorem

LetΩdenote a polygonally / polyhedrally bounded Lipschitz domain.

Letvk1∈Hσ(Ω), ϕk2∈H1(Ω) ∩L(Ω), ϕk1∈H1(Ω) ∩L(Ω), andµk1∈W1,3(Ω)be given data. Further letBuVk ∈L2(Ω)n, BukB∈H12(∂Ω), BuI∈H1(Ω) ∩L(Ω)be given data.

Then there exists a weak solutionϕk∈H1(Ω) ∩C(Ω),µk ∈W1,3(Ω), vk ∈Hσ(Ω)to(CHNSτ).

Furthermore, it can be found by Newton’s method.

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 15/32

(21)

Initialization step

Fork=1we solve: v1∂Ω= Bu1B0=uI

1

τ∫10

2 v1−ρ0v0)w dx+a(ρ1v0+J1, v1, w)

+ ∫1Dv1∶Dwdx− ∫µ1∇ϕ0w dx− ∫Bu1Vw dx− ∫ρ0g⋅w =0∀w ∈Hσ(Ω), 1

τ ∫1−ϕ0)Ψdx− ∫ϕ0v0⋅ ∇Ψdx

+ ∫m∇µ1⋅ ∇Ψdx=0∀Ψ∈H1(Ω), σ∫∇ϕ1⋅ ∇Φdx− ∫µ1Φdx

((W+)1) + (W)0))Φdx=0∀Φ∈H1(Ω). (CHNSIτ)

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 16/32

(22)

Stability

Theorem

LetΩdenote a polygonally / polyhedrally boundedLipschitzdomain.

Letv0∈Hσ(Ω),(uI, uV, uB) ∈U be given. Then there exist sequences (vk)Kk=1∈Hσ(Ω)K,(ϕk)Kk=1∈ (H1(Ω) ∩C(Ω))K,(µk)Kk=1∈W1,3(Ω)K such that(vk, ϕk, µk)is the unique solution to (CHNSIτ)for k=1and to(CHNSτ)for k=2, . . . , K. Moreover there holds

∥(vk)Kk=1`(H1())≤C(v0, uI, uV, uB),

∥(ϕk)Kk=1`(H1()∩C())≤C(v0, uI, uV, uB),

∥(µk)Kk=1`(W1,3())≤C(v0, uI, uV, uB).

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 17/32

(23)

Stability in stronger norms

Theorem

LetΩbe polygonally / polyhedrally bounded andconvex or of classC1,1. Letv0∈Hσ(Ω) ∩L(Ω)n,(uI, uV, uB) ∈Ube given. Then there exist sequences(vk)Kk=1∈Hσ(Ω)K,(ϕk)Kk=1∈H2(Ω)K,(µk)Kk=1∈H2(Ω)K such that(vk, ϕk, µk)is the unique solution to (CHNSIτ)for k=1and to(CHNSτ)for k=2, . . . , K. Moreover there holds

∥(vk)Kk=1`(H1())≤C(v0, uI, uV, uB),

∥(ϕk)Kk=1`(H2(Ω))≤C(v0, uI, uV, uB),

∥(µk)Kk=1`(H2())≤C(v0, uI, uV, uB).

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 18/32

(24)

The optimal control problem

Theorem

LetΩbe polygonally / polyhedrally bounded andconvex or of classC1,1. The optimization problem

minJ(uI, uV, uB,(ϕk)Kk=1) ∶=1

2∥ϕK−ϕd2

2(αI

2∣∇uI2+1Wu(uI)dx αV∥uV2L2(0,T;RsV)B∥uB2L2(0,T;RsB)) s.t. (CHNSIτ)and(CHNSτ)

(Pτ) has at least one solution and first order optimality conditions can be derived by Lagrangian calculus.

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 19/32

(25)

Outline

Setting

The time discrete setting The fully discrete setting Numerical examples

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 19/32

(26)

Finite element approximation

Thk triangulation ofΩat time instancetk,

V1k∶= {v∈C(Ω) ∣v∣T∈P1∀T ∈ Thk},

V2k∶= {v∈C(Ω)n∣v∣T ∈ (P2)n∀T ∈ Thk,(di v(v), q) =0∀q∈V1k},

Pk∶H1(Ω) →V1k prolongation, e.g. H1-prolongation.

ϕkh, µkh∈V1k, vhk ∈V2k

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 20/32

(27)

The fully discrete setting

uk ∶= ⨏ttk−1k u(t)dt,vhk∂Ωh(BuBk), ϕ0h=uI

1

τ ∫kh1kh2

2 vhk−ρkh2vhk1)w dx +a(ρkh1vhk1+Jhk1, vhk, w) + ∫kh1Dvhk ∶Dw dx

− ∫µkh∇ϕkh1w dx− ∫ρkh1g⋅w dx− ∫(BuVk)w dx=0∀w ∈V2k, 1

τ ∫kh−Pkϕk−1h )Ψ dx+ ∫(vhk⋅ ∇ϕkh−1)Ψ dx

+ ∫m∇µkh⋅ ∇Ψ dx=0∀Ψ∈V1k, σ∫∇ϕkh⋅ ∇Φdx− ∫µkhΦdx

((W+)kh) + (W)(Pkϕk−h 1))Φdx=0∀Φ∈V1k. (CHNSh)

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 21/32

(28)

Energy inequality in the fully discrete setting

Theorem

Letk≥2,ϕkh, µkh, vhk be a solution to (CHNSh), anduB≡0.

Then the following energy inequality holds

1

2∫ρkh1∣vhk2dx+σ∫

2∣∇ϕkh2+1

W(ϕkh)dx +1

2∫ρkh2∣vhk−vhk12dx+σ

2 ∫∣∇ϕkh− ∇Pkϕk1h2dx +τ∫hk1∣Dvhk2dx+τ∫m∣∇µkh2dx

≤ 1

2∫ρkh2∣vhk12dx+σ∫

2∣∇Pkϕkh12+1

W(Pkϕkh1)dx + ∫ρkh−1gvhk dx+ ∫(BuVk)vhk dx

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 22/32

(29)

Stability in the fully discrete setting

Theorem

LetΩbe polygonally / polyhedrally bounded andconvex.

Letv0∈Hσ(Ω) ∩L(Ω),u∈U be given. Then there exist sequences (vhk)Kk=1∈ (V2k)Kk=1,(ϕkh)Kk=1,(µkh)Kk=1∈ (V1k)Kk=1, such that(vhk, ϕkh, µkh)is the unique solution to(CHNSh)fork =1, . . . , K. Moreover it holds

∥(vhk)Kk=1`(H1())≤C(v0, uI, uV, uB),

∥(ϕkh)Kk=1`(W1,4())≤C(v0, uI, uV, uB),

∥(µkh)Kk=1`(W1,3())≤C(v0, uI, uV, uB).

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 23/32

(30)

The optimal control problem in the fully discrete setting

Theorem

The optimization problem minJ(uI, uV, uB,(ϕkh)Kk=1) ∶=1

2∥ϕKh −ϕd2

2(αI

2∣∇uI2+−1Wu(uI)dx αV∥uV2L2(0,T;RsV)B∥uB2L2(0,T;RsB)) s.t. (CHNSh)

(Ph) has at least one solution and first order optimality conditions can be derived by Lagrangian calculus.

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 24/32

(31)

The limit h → 0

Theorem

Let(uh, vh, ϕh, µh)denote a stationary point of (Ph). Then there exists a stationary point(u, v, ϕ, µ)of (Pτ), such that

uV,h⇀uV ∈UV, uB,h ⇀uB ∈UB, ϕk,h⇀ϕk,∈W1,4(Ω),

uI,h →uI∈H1(Ω), ϕk,h→ϕk,∈H1(Ω), µk,⋆h →µk,⋆∈W1,3(Ω), vhk,⋆→vk,⋆∈Hσ(Ω).

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 25/32

(32)

Outline

Setting

The time discrete setting The fully discrete setting Numerical examples

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 25/32

(33)

Validity of the energy inequality

102 101

100.5

100 E(t) O(t1)

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7

−4

−2 0 ⋅106

ζ

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 26/32

(34)

Rising Bubble, setup

Boundary control, setup from first [Hysing et al, 2009] Benchmark, ρ1=1000,ρ2=100,η1=10, η2=1,σ=15.6, T =1.0

Figure:left to right: ϕ0d, four Ansatzfunctions

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 27/32

(35)

Rising Bubble, results

0 0.2 0.4 0.6 0.8 1

0 5 10 15 20

time

u(t)∥

Strength of control

0 0.2 0.4 0.6 0.8 1

0.5 0.6 0.7 0.8

time Center of mass

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 28/32

(36)

Initial value identification

Optimization with a phase field as control works best with non-smooth free energy densities.

Wu(ϕ) =W(ϕ) =⎧⎪⎪

⎨⎪⎪⎩

1

2(1−ϕ2) if ∣ϕ∣ ≤1,

∞ else.

ϕ 1

−1 1

W

Results in constraint minimization problem

uIH1()∩minL(),uI∣≤1J(uI) Solved by VMPT [Blank, Rupprecht, SICON 2017].

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 29/32

(37)

Initial value problem, setup

Initial value control, setup from second [Hysing et al] Benchmark, ρ1=1000,ρ2=1, η1=10,η2=0.1,σ=1.96,T =1.0

Figure:left to right: ϕd0=uI0= −0.8

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 30/32

(38)

Initial value problem, result

Figure:left to right: uIopt,ϕ(uIopt)at final time with zero level line ofϕd

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 31/32

(39)

Summary

Energy stable time discretization concept for two-phase flow time discrete

fully discrete

Time discrete optimal control of two-phase flow with three kinds of control actions

time discrete fully discrete

Convergence analysis for h→0.

Thank you for your attention. [email protected]

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 32/32

(40)

Summary

Energy stable time discretization concept for two-phase flow time discrete

fully discrete

Time discrete optimal control of two-phase flow with three kinds of control actions

time discrete fully discrete

Convergence analysis for h→0.

Thank you for your attention. [email protected]

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 32/32

(41)

Summary

Energy stable time discretization concept for two-phase flow time discrete

fully discrete

Time discrete optimal control of two-phase flow with three kinds of control actions

time discrete fully discrete

Convergence analysis for h→0.

Thank you for your attention. [email protected]

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 32/32

(42)

Summary

Energy stable time discretization concept for two-phase flow time discrete

fully discrete

Time discrete optimal control of two-phase flow with three kinds of control actions

time discrete fully discrete

Convergence analysis for h→0.

Thank you for your attention.

[email protected]

Christian Kahle Optimal Control of Two-Phase Flow 10/2019 32/32

Referenzen

ÄHNLICHE DOKUMENTE

Time optimal control problems are considered by Kunisch and Wachsmuth [11] and semi-smooth Newton methods for control constrained optimal control problems with L 2 –control costs in

This paper is organized as follows: In Section 2 the semi-smooth Newton method is formulated for an abstract optimal control problem and conditions for superlinear convergence

In [2], the authors investigate the optimal control problem of semilinear multistate systems in the presence of pointwise state constraints, proving the existence of an optimal

This allows to prove local fast convergence of optimization methods (SQP, semi-smooth Newton) as well as convergence rates for finite-element discretizations of optimal

Distributed optimal control problems for the time-dependent and the stationary Navier-Stokes equations subject to pointwise control constraints are considered.. Under a

This will involve the primal and adjoint equations, the maximum principle involving the optimal control, and, the transversality condition, which, to the best of our knowledge

Optimal order algebraic multilevel iteration (AMLI) preconditioners based on recursive application of two-level finite element (FE) methods have been introduced and originally

A priori error analysis T-matrix based multi-particle scattering (adaptive) control of (accuracy of) forward solvers in offline stage Compression of T-matrix: optimal