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> 87<br />

where U is the vector <strong>of</strong> conservative flow variables, U = � ρ,ρv T ,E � T ,<br />

f inv<br />

k = � ρuk ,ρukv T + pδ T k ,uk(E + p) � T is the vector <strong>of</strong> the inviscid fluxes,<br />

ρ is the local fluid density, uk are the velocity v components, p is pressure,<br />

E = ρe + 1<br />

2 ρv2 is the total energy per unit volume <strong>and</strong> δk is the vector <strong>of</strong><br />

Kronecker symbols. For the sake <strong>of</strong> simplicity, throughout this section which<br />

is exclusively concerned with inviscid flows, the inviscid fluxes f inv<br />

k will be<br />

denoted by fk.<br />

In inverse design problems, the goal is to compute the aerodynamic shape<br />

that produces a given pressure (or any other) distribution over the shape<br />

contour. The term “aerodynamic shape” is used to denote isolated or cascade<br />

airfoils, ducts, etc. (in 2D) or wings, blades, ducts, etc. (in 3D). The objective<br />

function is written as<br />

F = 1<br />

�<br />

(p − ptar)<br />

2<br />

2 dS (4.11)<br />

Sw<br />

where ptar(S) is the target pressure distribution along the solid walls Sw.<br />

The gradient <strong>of</strong> F with respect to the design variables controlling the shape<br />

is expressed as<br />

δF<br />

δbi<br />

= 1<br />

2<br />

�<br />

Sw<br />

�<br />

2 δ(dS)<br />

(p − ptar) + (p − ptar)<br />

δbi Sw<br />

δp<br />

dS . (4.12)<br />

δbi<br />

It is straightforward to derive expressions for δU<br />

δbi<br />

using the so-called direct<br />

approach. Starting from the Euler equations, we obtain<br />

� �<br />

δ ∂fk<br />

=<br />

δbi ∂xk<br />

δ<br />

� �<br />

∂U<br />

Ak = 0 . (4.13)<br />

δbi ∂xk<br />

Equation (4.13) can be solved for the flow sensitivities δU , provided that<br />

� � δbi<br />

δ ∂U<br />

the sensitivities <strong>of</strong> spatial derivatives can be transformed to the<br />

δbi ∂xk�<br />

, which appears in<br />

spatial derivatives <strong>of</strong> flow sensitivities ∂<br />

∂xk<br />

Eq. (4.12), is expressed in terms <strong>of</strong> δU<br />

δbi<br />

� δU<br />

δbi<br />

.Since δp<br />

δbi<br />

,anexpressionfor δF<br />

δbi<br />

can be produced.<br />

Unfortunately, to compute the grid sensitivities that appear in any possible<br />

form <strong>of</strong> Eq. (4.13) (see, for instance, Eq. (4.17) for grid metrics sensitivities)<br />

through finite differences, 2N calls to the grid generation s<strong>of</strong>tware are needed.<br />

The detailed development <strong>and</strong> solution algorithm are omitted.<br />

Alternatively, the partial derivatives <strong>of</strong> Eq. (4.10) with respect to bi<br />

� �<br />

∂ ∂fk<br />

=<br />

∂bi ∂xk<br />

∂<br />

� �<br />

∂U<br />

Ak = 0 (4.14)<br />

∂xk ∂bi<br />

can be used to produce expressions for ∂U . The assumption that the Jacobian<br />

∂bi<br />

matrix derivatives can be omitted is made. Once ∂U<br />

∂bi<br />

computed using<br />

are known, δU<br />

δbi<br />

can be

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

Saved successfully!

Ooh no, something went wrong!