Amrita Pati
Ansys Employee

Hi Atiqur,

  1. This is a bit strange. Are the waveguide simulations running on the two devices exactly same? Are they using the same mesh and material fit?
  2. The materials available in the material database by default are protected. So, you will first have to create a copy of this material and then set the desired properties. You may use the following code to acheive this:
mname = copymaterial("Si (Silicon) - Palik");
setmaterial(mname,"imaginary weight",100);

Here, copymaterial creates a copy of Si and returns the new name of the material. This output is used as one of the arguments of setmaterial to set the fit tolerance and imaginary weight.