Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Project 05: Stokes Distributed Control

University of Pisa

Goal

Implement a simple linear-quadratic optimal control problem governed by the stationary Stokes equations.

This project introduces vector-valued states, incompressibility, and block preconditioning.

Mathematical Formulation

Let Ω⊂Rd\Omega\subset\mathbb R^d, d=2d=2 or 3. The state is velocity-pressure (y,π)(y,\pi), and the control uu is a distributed body force. Minimize

J(y,u)=12∥y−yd∥L2(Ω)d2+α2∥u∥L2(Ω)d2J(y,u) = \frac12\|y-y_d\|_{L^2(\Omega)^d}^2 + \frac\alpha2\|u\|_{L^2(\Omega)^d}^2

subject to

{−νΔy+∇π=u+fin Ω,∇⋅y=0in Ω,y=0on ∂Ω.\begin{cases} -\nu\Delta y+\nabla\pi=u+f & \text{in }\Omega,\\ \nabla\cdot y=0 & \text{in }\Omega,\\ y=0 & \text{on }\partial\Omega. \end{cases}

The adjoint variables are (p,λ)(p,\lambda) and satisfy

{−νΔp+∇λ=y−ydin Ω,∇⋅p=0in Ω,p=0on ∂Ω.\begin{cases} -\nu\Delta p+\nabla\lambda=y-y_d & \text{in }\Omega,\\ \nabla\cdot p=0 & \text{in }\Omega,\\ p=0 & \text{on }\partial\Omega. \end{cases}

The control equation is

αu−p=0.\alpha u-p=0.

For box constraints on each velocity component,

ua≤u≤ub,u_a\le u\le u_b,

replace the last equation by the variational inequality

(αu−p,v−u)L2(Ω)d≥0∀v∈Uad.(\alpha u-p,v-u)_{L^2(\Omega)^d}\ge 0 \qquad \forall v\in U_{ad}.

Implementation Hints

Relevant Examples

Deliverables