Compact 200 line MATLAB code for inverse design in photonics by topology optimization: tutorial

08/23/2020
by   Rasmus E. Christiansen, et al.
0

We provide a compact 200 line MATLAB code demonstrating how topology optimization (TopOpt) as an inverse design tool may be used in photonics, targeting the design of two-dimensional dielectric metalenses and a metallic reflector as examples. The physics model is solved using the finite element method, and the code utilizes MATLAB's fmincon algorithm to solve the optimization problem. In addition to presenting the code itself, we briefly discuss a number of extensions and provide the code required to implement some of these. Finally, we demonstrate the superiority of using a gradient-based method compared to a genetic-algorithm-based method (using MATLAB's ga algorithm) for solving inverse design problems in photonics. The MATLAB software is freely available in the paper and may be downloaded from https://www.topopt.mek.dtu.dk.

READ FULL TEXT
research
07/16/2021

Topology optimization using the unsmooth variational topology optimization (UNVARTOP) method. An educational implementation in Matlab

This paper presents an efficient and comprehensive MATLAB code to solve ...
research
01/14/2019

Electrical Impedance Tomography based on Genetic Algorithm

In this paper, we applies GA algorithm into Electrical Impedance Tomogra...
research
08/10/2013

Finite Element Model Updating Using Fish School Search Optimization Method

A recent nature inspired optimization algorithm, Fish School Search (FSS...
research
01/25/2022

HoneyTop90: A 90-line MATLAB code for topology optimization using honeycomb tessellation

This paper provides a simple, compact and efficient 90-line pedagogical ...
research
10/07/2020

Evaluating the impact of different types of crossover and selection methods on the convergence of 0/1 Knapsack using Genetic Algorithm

Genetic Algorithm is an evolutionary algorithm and a metaheuristic that ...
research
09/20/2020

Topology Optimization through Differentiable Finite Element Solver

In this paper, a topology optimization framework utilizing automatic dif...
research
05/05/2020

A new generation 99 line Matlab code for compliance Topology Optimization and its extension to 3D

Compact and efficient Matlab implementations of compliance Topology Opti...

Please sign up or login with your details

Forgot password? Click here to reset