Adjoint equation

An adjoint equation is a linear differential equation, usually derived from its primal equation using integration by parts. Gradient values with respect to a particular quantity of interest can be efficiently calculated by solving the adjoint equation. Methods based on solution of adjoint equations are used in wing shape optimization, fluid flow control and uncertainty quantification.

## Example: Advection-Diffusion PDE

Consider the following linear, scalar advection-diffusion equation for the primal solution u(x→), in the domain Ω with Dirichlet boundary conditions:

∇⋅(c→u−μ∇u)=f,x→∈Ω,u=b,x→∈∂Ω.

Let the output of interest be the following linear functional:

J(u)=∫Ωgu dV.

Derive the weak form by multiplying the primal equation with a weighting function w(x→) and performing integration by parts:

B(u,w)=L(w),

where,

B(u,w)=∫Ωw∇⋅(c→u−μ∇u)dV=∫∂Ωw(c→u−μ∇u)⋅n→dA−∫Ω∇w⋅(c→u−μ∇u)dV,(Integration by parts)L(w)=∫Ωwf dV.

Then, consider an infinitesimal perturbation to L(w) which produces an infinitesimal change in u as follows:

B(u+u′,w)=L(w)+L′(w)B(u′,w)=L′(w).

Note that the solution perturbation u′ must vanish at the boundary, since the Dirichlet boundary condition does not admit variations on ∂Ω.

Using the weak form above and the definition of the adjoint ψ(x→) given below:

L′(ψ)=J(u′)B(u′,ψ)=J(u′),

we obtain:

∫∂Ωψ(c→u′−μ∇u′)⋅n→dA−∫Ω∇ψ⋅(c→u′−μ∇u′)dV=∫Ωgu′ dV.

Next, use integration by parts to transfer derivatives of u′ into derivatives of ψ:

∫∂Ωψ(c→u′−μ∇u′)⋅n→dA−∫Ω∇ψ⋅(c→u′−μ∇u′)dV−∫Ωgu′ dV=0∫∂Ωψ(c→u′−μ∇u′)⋅n→dA+∫Ωu′(−c→⋅∇ψ)dV+∫Ω∇u′⋅(μ∇ψ)dV−∫Ωgu′ dV=0∫∂Ωψ(c→u′−μ∇u′)⋅n→dA+∫Ωu′(−c→⋅∇ψ)dV+∫∂Ωu′(μ∇ψ)⋅n→dA−∫Ωu′∇⋅(μ∇ψ)dV−∫Ωgu′ dV=0(Repeating integration by parts on diffusion volume term)∫Ωu′[−c→⋅∇ψ−∇⋅(μ∇ψ)−g]dV+∫∂Ωψ(c→u′−μ∇u′)⋅n→dA+∫∂Ωu′(μ∇ψ)⋅n→dA=0.

The adjoint PDE and its boundary conditions can be deduced from the last equation above. Since u′ is generally non-zero within the domain Ω, it is required that [−c→⋅∇ψ−∇⋅(μ∇ψ)−g] be zero in Ω, in order for the volume term to vanish. Similarly, since the primal flux (c→u′−μ∇u′)⋅n→ is generally non-zero at the boundary, we require ψ to be zero there in order for the first boundary term to vanish. The second boundary term vanishes trivially since the primal boundary condition requires u′=0 at the boundary.

Therefore, the adjoint problem is given by:

−c→⋅∇ψ−∇⋅(μ∇ψ)=g,x→∈Ω,ψ=0,x→∈∂Ω.

Note that the advection term reverses the sign of the convective velocity c→ in the adjoint equation, whereas the diffusion term remains self-adjoint.

## See also

* Adjoint state method
* Costate equations

## References

* Jameson, Antony (1988). "Aerodynamic Design via Control Theory". Journal of Scientific Computing 3 (3): 233–260. doi:10.1007/BF01061285.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Adjoint equation. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Adjoint_equation&oldid=4222"