Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

How to insert a quaternary semiconductor alloy (GaInAsP) through lumapi?

    • Duarte Silva
      Subscriber

      I want to be able to create GaInAsP alloys in lumerical CHARGE programmatically, particularly through the Python API. How can it be done?

    • Guilin Sun
      Ansys Employee

      You will need to know how to add such alloy using Lumerical script, then use Python to set it.

      https://optics.ansys.com/hc/en-us/articles/360034398514-Tips-for-creating-a-new-alloy-material

      https://optics.ansys.com/hc/en-us/articles/360034404974-addmodelmaterial-Script-command 

      https://optics.ansys.com/hc/en-us/articles/360034924933-addmaterialproperties

      please post any further questions in the Photonics forum: /forum/forums/forum/discuss-simulation/photonics/

       

    • Duarte Silva
      Subscriber

      Indeed, but the problem is that I have not found a way top insert it even within lumerical scripting. Is it possible?

    • Guilin Sun
      Ansys Employee

      It seems there is no direct script to insert alloy. But you can set some alloy materials that you want to use, and use

      addmaterialproperties

      to the "materials" folder, and in the "model" you can assign material to a geometry. Using Lumapi to assign the "model".

      However the api is not fully developed so please try and see if it works. 

       

    • Duarte Silva
      Subscriber

      I understand. What I was trying to avoid was to have to search all the references to the 4 materials since you already have all the work done. What I was doing so far was to add the InP material and then alter the bandgap and mobilities, but there are many other quantities. It would be very useful to be able to use your database that fluently. This is useful when one wants to scan various concentrations of the alloys.

    • Guilin Sun
      Ansys Employee

      You can use "set" to modify most material properties: https://optics.ansys.com/hc/en-us/articles/360034919213-Creating-and-modifying-electrical-materials-from-a-script 

Viewing 5 reply threads
  • The topic ‘How to insert a quaternary semiconductor alloy (GaInAsP) through lumapi?’ is closed to new replies.