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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4 Adjoint Methods for Shape <strong>Optimization</strong> 99<br />

Gradient Value<br />

-0.0008<br />

-0.001<br />

-0.0012<br />

-0.0014<br />

-0.0016<br />

-0.0018<br />

-0.002<br />

finite differences<br />

direct sensitivity<br />

reduced adjoint<br />

conventional adjoint<br />

-0.0022<br />

1 2 3 4 5<br />

Design Variable<br />

(a)<br />

Hessian Value<br />

0.012<br />

0.01<br />

0.008<br />

0.006<br />

0.004<br />

0.002<br />

0<br />

finite differences<br />

direct-adjoint approach<br />

-0.002<br />

0 5 10 15 20 25<br />

Design Variable<br />

Fig. 4.2 Inverse design <strong>of</strong> a 2D duct (a) objective function gradient values computed<br />

using the metrics-free <strong>and</strong> the conventional adjoint approach, the direct approach <strong>and</strong><br />

finite differences (b) Hessian matrix values using the direct-adjoint approach <strong>and</strong> finite<br />

d<br />

differences. The first five values correspond to the first row <strong>of</strong><br />

2 F<br />

<strong>and</strong> so forth (5<br />

dbidbj columns × 5rows=25values)<br />

solutions which are a direct measure <strong>of</strong> CPU cost. It is clear that the exact<br />

Newton approach converges faster to the optimal solution, at least with this<br />

particular number <strong>of</strong> design variables.<br />

The change in the gradient vector values is shown in Fig. 4.4(a), in semilog<br />

scale. Gradient values are zeroed upon convergence. In Fig. 4.4(b), it is<br />

shown that the Hessian matrix values change slightly from cycle to cycle <strong>and</strong><br />

the greater change occurs during the first optimization cycles.<br />

In Fig. 4.5(a), the initial, reference <strong>and</strong> optimal bump shapes are compared.<br />

The shape computed via the Newton method is shown, although there<br />

are practically no apparent differences between optimal solutions obtained by<br />

any <strong>of</strong> the two methods. The corresponding pressure distributions are also<br />

compared in the same figure, right. The slow convergence <strong>of</strong> steepest descent<br />

<strong>and</strong> conjugate gradient algorithms results (after approximately 200 cycles)<br />

into computations which were not run to convergence; so there are some discrepancies<br />

between the optimal <strong>and</strong> target distributions (not evident, in the<br />

scale <strong>of</strong> the figures shown herein).<br />

4.7.2 Losses Minimization <strong>of</strong> a 2D Compressor<br />

Cascade<br />

The next application example is concerned with the minimization <strong>of</strong> viscous<br />

losses <strong>of</strong> the flow in a 2D compressor cascade through the redesign <strong>of</strong><br />

the airfoil shape. The Navier Stokes equations are solved together with the<br />

Spalart-Allmaras turbulence model for the computation <strong>of</strong> the total pressure<br />

(b)

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

Saved successfully!

Ooh no, something went wrong!