I want to calculate the extinction spectra of Gold nanospheres of different sizes and in different media and plot the extinction graphs in one graph. How can I do it using parameter sweep?
September 29, 2023 at 4:40 pm
Guilin Sun
Ansys Employee
September 29, 2023 at 8:46 pm
Guilin Sun
Ansys Employee
Somehow my reply was either disappeared or malfunctioned. Here is it again:
September 29, 2023 at 8:51 pm
Guilin Sun
Ansys Employee
September 29, 2023 at 8:53 pm
Guilin Sun
Ansys Employee
Sweeping size parameters are easy: https://optics.ansys.com/hc/en-us/articles/360034922873-Parameter-sweep-utility However, to sweep material, you may need to script in “model”, say you have 2 materials to be swept, you may sweep the material number “nmaterial”, and use script select(“object1”); if(nmaterial==1){ set(“material”,“5CB – Li”); if(get("material")=="") { set("index",index1); } ” if(nmaterial==2){ set(“material”, “Si (Silicon) - Palik”); if(get("material")=="") { set("index",index2); } ” This suggests that the material 1 is ”5CB – Li” or index1, and material 2 is “Si (Silicon) - Palik”. If you know it is dispersive material from the material database, the other “if” can be deleted.
September 29, 2023 at 8:54 pm
Guilin Sun
Ansys Employee
hope this image can be shown correctly:
Viewing 5 reply threads
The topic ‘Extinction spectra of gold nanoparticle’ is closed to new replies.
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.
Please Login to Report Topic
Please Login to Share Feed
Edit Discussion
You are navigating away from the AIS Discovery experience
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.