07.02.2013 Views

Optimization and Computational Fluid Dynamics - Department of ...

Optimization and Computational Fluid Dynamics - Department of ...

Optimization and Computational Fluid Dynamics - Department of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

96 Kyriakos C. Giannakoglou <strong>and</strong> Dimitrios I. Papadimitriou<br />

Equations (4.45) can be solved to provide d2 U<br />

dbidbj<br />

at the cost <strong>of</strong> N(N+1)<br />

2<br />

equiv-<br />

alent flow solutions. Instead, one may form the second derivative <strong>of</strong> the (new)<br />

augmented objective function ˆ F by introducing (new) adjoint variables ˆ Ψn,<br />

as follows<br />

d 2 ˆ F<br />

dbidbj<br />

= d2 F<br />

dbidbj<br />

d 2 Rn<br />

+ ˆ Ψn . (4.46)<br />

dbidbj<br />

Substituting Eqs. (4.44) <strong>and</strong> (4.45) in Eq. (4.46) <strong>and</strong> rearranging the terms<br />

we obtain<br />

d 2 ˆ F<br />

dbidbj<br />

∂ 2 Rn<br />

= ∂2F +<br />

∂bi∂bj<br />

ˆ Ψn<br />

∂bi∂bj<br />

+ ∂2F dUk<br />

+<br />

∂bi∂Uk dbj<br />

ˆ Ψn<br />

�<br />

∂F<br />

+ +<br />

∂Uk<br />

ˆ ∂Rn<br />

Ψn<br />

∂Uk<br />

+ ∂2F dUk<br />

∂Uk∂Um dbi<br />

∂ 2 Rn<br />

∂bi∂Uk<br />

� d 2 Uk<br />

dbidbj<br />

dUk<br />

dbj<br />

+ ∂2 F<br />

∂Uk∂bj<br />

∂ 2 Rn<br />

dUm<br />

+<br />

dbj<br />

ˆ dUk dUm<br />

Ψn<br />

∂Uk∂Um dbi dbj<br />

∂ 2 Rn<br />

dUk<br />

+<br />

dbi<br />

ˆ dUk<br />

Ψn<br />

∂Uk∂bj dbi<br />

. (4.47)<br />

The term depending on the second derivatives <strong>of</strong> the flow variables (last term)<br />

is eliminated by satisfying the adjoint equations<br />

∂F<br />

∂Uk<br />

+ ˆ ∂Rn<br />

Ψn = 0 (4.48)<br />

∂Uk<br />

at the cost <strong>of</strong> only one equivalent flow solution. The Hessian matrix is finally<br />

expressed as follows<br />

d 2 ˆ F<br />

dbidbj<br />

= ∂2F +<br />

∂bi∂bj<br />

ˆ ∂<br />

Ψn<br />

2 � 2<br />

Rn ∂ F<br />

+ +<br />

∂bi∂bj ∂Uk∂Um<br />

ˆ ∂<br />

Ψn<br />

2 �<br />

Rn dUk dUm<br />

∂Uk∂Um dbi dbj<br />

� 2 ∂ F<br />

+ +<br />

∂bi∂Uk<br />

ˆ ∂<br />

Ψn<br />

2 �<br />

Rn dUk<br />

∂bi∂Uk dbj<br />

� 2 ∂ F<br />

+ +<br />

∂Uk∂bj<br />

ˆ ∂<br />

Ψn<br />

2 �<br />

Rn dUk<br />

. (4.49)<br />

∂Uk∂bj dbi<br />

Thus, using the so-called direct-adjoint approach, the total CPU cost for a<br />

Newton optimization cycle, Eqs. (4.43), is equal to 1+N+1 equivalent flow<br />

solutions (including the solution <strong>of</strong> the flow equations).<br />

4.6.2 Continuous Direct-adjoint Approach for the<br />

Hessian (Inverse Design)<br />

In the continuous approach, the gradient <strong>of</strong> F is given by Eq. (4.12). Starting<br />

from Eq. (4.12), the second derivative <strong>of</strong> F is expressed as follows

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!