# Gradient-based methods

### From CFD-Wiki

Shenren CN (Talk | contribs) |
Shenren CN (Talk | contribs) |
||

Line 9: | Line 9: | ||

<math>{R}(U(\alpha),\alpha)=0</math> | <math>{R}(U(\alpha),\alpha)=0</math> | ||

- | The sensitivity of the cost function <math>J</math> with respect to the design variables <math>\alpha</math>, that is <math>\frac{D J }{D \alpha_{i}}</math>, is needed for design purpose. | + | The sensitivity of the cost function <math>J</math> with respect to the design variables <math>\alpha</math>, that is <math>\frac{D J }{D \alpha_{i}}</math>, is needed for design purpose. The following is three main methods to obtain this sensitivity. |

+ | |||

+ | Finite difference method is the most straightforward approach, where the sensitivity is calculated through finite difference, using different cost function values corresponding to different design variable input | ||

+ | |||

+ | <math>\frac{DJ}{D \alpha_{i}}=\frac{J(\lapha_{i}+\delta{\alpha})-J(\alpha_{i})}{\delta \alpha}</math> | ||

- | |||

Linearized method: | Linearized method: | ||

Adjoint method: | Adjoint method: |

## Revision as of 03:19, 24 January 2011

As its name means, gradient-based methods need the gradient of objective functions to design variables. The evaluation of gradient can be achieved by **finite difference method**, **linearized method** or **adjoint method**. Both finite difference method and linearized method has a time-cost proportional to the number of design variables and not suitable for design optimization with a large number of design variables. Apart from that, finite difference method has a notorious disadvantage of subtraction cancellation and is not recommended for practical design application.

Suppose a cost function is defined as follows,

where and are the flow variable vector and the design variable vector respectively. and are implicitly related through the flow equation, which is represented by a residual function driven to zero.

The sensitivity of the cost function with respect to the design variables , that is , is needed for design purpose. The following is three main methods to obtain this sensitivity.

Finite difference method is the most straightforward approach, where the sensitivity is calculated through finite difference, using different cost function values corresponding to different design variable input

**Failed to parse (unknown function\lapha): \frac{DJ}{D \alpha_{i}}=\frac{J(\lapha_{i}+\delta{\alpha})-J(\alpha_{i})}{\delta \alpha}**

Linearized method:

Adjoint method: