Hi Conrad,

Question 1:

In the Faraday Effect application example on our knowledge base, we start out with diagonally anisotropic materials based on the properties of the material without applied magnetic fields, then we use a matrix transform grid attribute to apply the desired polarization rotation to the fields. Similarly for the MOKE example, we start by knowing the effect on the polarization that we want to achieve in the simulation and we set up the matrix transform to apply.

Another reason you may want to use diagonal anisotropy and an applied grid attribute is if you start by knowing the 9 element permittivity tensor of the material that you want to simulate. For anisotropic materials, in the materials database we can directly specify 3 input parameters for diagonal anisotropy, but we can’t directly type in a 3x3 element tensor to represent a permittivity tensor which has off-diagonal elements. Instead, to get around this you can use a diagonalized tensor and apply the appropriate matrix transform grid attribute to simulate a material with general anisotropy. You can figure out a combination of the diagonalized values and the matrix transform to apply given the general permittivity tensor that you want to represent by following the steps outlined in the examples here:

https://kb.lumerical.com/en/index.html?materials_anisotropic_matrix_transformation_grid_attribute.html

Question 2:

Regarding how to control the magnitude of the applied magnetic field H, the change in the polarization angle over a certain distance in the material can first be calculated using the equation

beta = VBd

Where V is the Verdet constant of the material, B is the magnetic flux density (B=mu*H where mu is the permeability of the material), and d is the propagation distance. Once we have calculated the polarization rotation angle that we want to end up with, we then set the unitary matrix which we apply, so this means that the applied H is effectively being set by the unitary matrix which is applied, and this is constant over the simulation time.

If you wanted to include the effect of changing magnetic field over time, since the effect is linear, you could do this by using several simulations - one to represent each different applied H over time.

Question 3:

You can definitely add other objects to the simulation which use materials which are non-magnetic with no problem. If there’s any particular structure that you need help with setting up, let me know!