Photonics

Photonics

There Must be two Bounds Error

    • akoral19
      Subscriber

      Hi,

      I'm trying to simulate the "Inverse design of a Y-splitter topology optimization" by changing the given pixel sizes to 20 nm to 50 nm. But I'm receiving the following error. How can we solve this error?

    • Taylor Robertson
      Ansys Employee
      Hello akoral19,nnThis error is because the bounds variable needs to be an array of tuplets the same length as the parameters, with each tuplet defining the min and max values that each parameter can take. The simplest way doing that is to use the same bounds for each tuplet and multiply by an integer. Then the geometry function, initial parameters, and bounds are passed to the lumopt geometry classnnbounds = [(0.2e-6, 1.2e-6)] * initial_points_y.sizennpolygon = FunctionDefinedPolygon(func = splitter,n initial_params = initial_points_y,n bounds = bounds,n ...
    • akoral19
      Subscriber
      Thank you for your quick answer but I could not find the part that the bounds parameter defined. Can you please tell me where I can find it?n
Viewing 2 reply threads
  • You must be logged in to reply to this topic.