How can I define a nonlinear material?

How can I define a nonlinear material?#

Date

Category

2023-12-05 20:35:00

Mediums

To create nonlinear material, you should specify a tidy3d.NonlinearSusceptibility to the nonlinear_spec parameter of any medium. For example:


medium = tidy3d.Medium(permittivity=2, nonlinear_spec=tidy3d.NonlinearSusceptibility(chi3=1, numiters=5))

Where chi3 is the nonlinear susceptibility, and numiters is the number of iterations for solving nonlinear constitutive relation. Se this notebook for an example on using material nonlinearity.