Photonics

Photonics

Topics related to Lumerical and more.

FEEM solver Mesh Lock option

    • martinmi
      Subscriber

      Hi all, 

      I get an error. As I expected, I need to first use switchtolayout() and then use select("FEEM") and set("mesh lock", 1). The problem is that Mesh Lock cannot be turned on manually when you are in Layout mode. That’s why, when I try to set("mesh lock", 1) in Layout mode, I do not get any errors, but I am also not setting the Mesh Lock on.

      Can someone tell me how to activate Mesh Lock not manually, but with Python code, so that after I simulate, I can turn Mesh Lock on in my script?

      Thanks a lot for the help.

      Best regards, 

      Martin 

       

    • martinmi
      Subscriber

      Hi all, 

      I just found what I was looking for. If anyone else is struggling with the same problem you need first.

      1. Set the FEEM Solver and boundary conditions 
      2. run first meh("FEEM")
      3. then run the set("mesh lock", 1)

      Best regards, 

      Martin 

    • Kirill
      Forum Moderator

      Dear Martin,

      I'm glad you have found the solution. Thank you for sharing!
      Please consider marking the question as 'resolved.'

      Best regards,
      Kirill

Viewing 2 reply threads
  • You must be logged in to reply to this topic.