Photonics

Photonics

How to set mesh order from script?

    • Guanhui Wang
      Ansys Employee
      Hello, I am trying to simulate a core shell structure by using the hemisphere shape of the particles. Here i need to give the mesh order to the core and as as well as to the shell particles. could any one suggest that how to add mesh order command to the properties of the hemisphere. Thank you for any help.n
    • Guanhui Wang
      Ansys Employee
      Here is a script that you can use:nselect(rectangle);nset(override mesh order from material database,1);nset(mesh order,1); nPlease see the links below for more information:nhttps://kb.lumerical.com/en/index.html?ref_scripts_tutorial_set_object.html 226nI hope this answered your question. If you had further questions, please share your simulation file or illustrate how you want to set the mesh order for different objects and I will be glad to be of a help.n
Viewing 1 reply thread
  • You must be logged in to reply to this topic.