NanoComp / meep

free finite-difference time-domain (FDTD) software for electromagnetic simulations
GNU General Public License v2.0
1.21k stars 618 forks source link

Parametric Optimization #2848

Open kfateme opened 3 months ago

kfateme commented 3 months ago

Hi all,

is it possible to optimize the design area in our structure by using Parametric Optimization (changing the edges of the design area like the attached photo) instead of using Topology? Is there any tutorial for that?

Thank you.

12

oskooi commented 3 months ago

is it possible to optimize the design area in our structure by using Parametric Optimization

We are currently working on a tutorial demonstration for shape optimization, see #2792. Also related is #2820.

stevengj commented 3 months ago

Note also that you can do shape optimization with the density-based TopOpt feature, simply by setting the projection parameter β to infinity, using the new subpixel-smoothed projection (#2741). This is by far the easiest way to do what you depict in your image above, and in fact we have a similar example in our upcoming paper.

(In this approach, the material "density" field, after smoothing/filtering, is essentially treated as a level set to parameterize the shape.)