TAGGED: lumapi, Lumerical-CHARGE, material-properties
-
-
October 11, 2023 at 3:10 pm
Duarte Silva
SubscriberI want to be able to create GaInAsP alloys in lumerical CHARGE programmatically, particularly through the Python API. How can it be done?
-
October 13, 2023 at 5:05 pm
Guilin Sun
Ansys EmployeeYou 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: https://forum.ansys.com/forums/forum/discuss-simulation/photonics/
-
October 17, 2023 at 1:08 pm
Duarte Silva
SubscriberIndeed, but the problem is that I have not found a way top insert it even within lumerical scripting. Is it possible?
-
October 17, 2023 at 3:30 pm
Guilin Sun
Ansys EmployeeIt 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.
-
October 17, 2023 at 4:06 pm
Duarte Silva
SubscriberI 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.
-
October 17, 2023 at 4:41 pm
Guilin Sun
Ansys EmployeeYou 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
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Licensing – Request name does not exist in the licensing pool
- 2022 R1 Ansys Mechanical APDL: QXcbConnection: Failed to initialize XRandr
- error “ansyslmd: Cannot connect to license server system. (-15,10032)
- The analysis systems in Workbench are missing
- Student license renewal
- Mechanical APDL Launcher Options
- how to open files created from newer version by using the older version of ansys
- Problems using 2022/R2
- Results Probe in ANSYS Workbench
- Unable to delete system in Ansys Workbench
-
8808
-
4658
-
3151
-
1680
-
1470
© 2023 Copyright ANSYS, Inc. All rights reserved.