Skip to content

Error when doing adjoint optimization with fabrication constraint #2598

Answered by oskooi
satadrudas asked this question in Q&A
Discussion options

You must be logged in to vote

There is a part of the code as follows where a condition is given that , if beta>=beta_thresh, beta=0. Could someone please explain why is the beta considered zero there? Shouldn't it be some large value to binarize it?

The reason for setting beta = 0 in the MaterialGrid definition for large beta is described in "important item" six of the tutorial:

The subpixel-smoothing feature of the `MaterialGrid` is necessary whenever the β parameter of the projection 
function is large (> ~50) and thus the design is binary (or nearly so). Without subpixel smoothing, then the 
gradients are nearly zero except for u≈η±1/β where the derivatives and second derivatives blow up, causing 
optimization al…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by satadrudas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants