Ansys Learning Forum Forums Discuss Simulation Photonics define a magneto-optic material using spatial varient refractive index Reply To: define a magneto-optic material using spatial varient refractive index

Guilin Sun
Ansys Employee

The importnk its self defines the geometry and material at the same time. Thus for a cylinderical object you can set its refractive index inside the cylinder and outside you can either set to be backgrould material or other material, depending on the device configuration.

If the geometry is different you will need to define each of them.