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")=="