Automatic Differentiation

Automatic Differentiation

Update: 2018-05-24
Share

Description

Gudrun talks with Asher Zarth. He finished his Master thesis in the Lattice Boltzmann Research group at the Karlsruhe Institute for Technology (KIT) in April 2018.

Lattice Boltzmann methods (LBM) are an established method of computational fluid dynamics. Also, the solution of temperature-dependent problems - modeled by the Boussinesq approximation - with LBM has been done for some time. Moreover, LBM have been used to solve optimization problems, including parameter identification, shape optimization and topology optimization. Usual optimization approaches for partial differential equations are strongly based on using the corresponding adjoint problem. Especially since this method provides the sensitivities of quantities in the optimization process as well. This is very helpful. But it is also very hard to find the adjoint problem for each new problem. This needs a lot of experience and deep mathematical understanding.

For that, Asher uses automatic differentiation (AD) instead, which is very flexible and user friendly. His algorithm combines an extension of LBM to porous media models as part of the shape optimization framework. The main idea of that framework is to use the permeability as a geometric design parameter instead of a rigid object which changes its shape in the iterative process. The optimization itself is carried out with line search methods, whereby the sensitivities are calculated by AD instead of using the adjoint problem.

The method benefits from a straighforward and extensible implementation as the use of AD provides a way to obtain accurate derivatives with little knowledge of the mathematical formulation of the problem. Furthermore, the simplicity of the AD system allows optimization to be easily integrated into existing simulations - for example in the software package OpenLB which Asher used in his thesis.

One example to test the algorithm is the shape of an object under Stokes flow such that the drag becomes minimal. It is known that it looks like an american football ball. The new algorithm converges fast to that shape.

References

Comments 
loading
In Channel
Bayesian Learning

Bayesian Learning

2025-05-0235:02

Spectral Geometry

Spectral Geometry

2022-06-0140:36

Allyship

Allyship

2022-01-2753:23

Waveguides

Waveguides

2020-02-0631:31

Pattern Formation

Pattern Formation

2020-01-1630:07

Linear Sampling

Linear Sampling

2020-01-0947:40

Peaked Waves

Peaked Waves

2019-10-3136:19

Cancer Research

Cancer Research

2019-10-1724:06

Batteries

Batteries

2019-07-1156:57

Portrait of Science

Portrait of Science

2019-02-2201:06:20

Energy Markets

Energy Markets

2018-12-2101:05:00

Inno2Grid

Inno2Grid

2018-12-0635:44

Micro Grids

Micro Grids

2018-11-0931:56

SimScale

SimScale

2018-10-1136:44

Mechanical Engineering

Mechanical Engineering

2018-08-0253:29

Dynamical Sampling

Dynamical Sampling

2018-07-1233:23

Algebraic Geometry

Algebraic Geometry

2018-06-2851:28

loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Automatic Differentiation

Automatic Differentiation

A.Zarth & G.Thäter