Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Lumerical help, dielectric slab waveguide › Reply To: Lumerical help, dielectric slab waveguide
		
		
				
		
		
		
		
		
		
		
			January 31, 2024 at 11:12 am		
	
			Subscriber		
		
	Dear Amrita,
May I ask how an FDE could be added to the simulation via the script so the FDE adjusts its size as the layers are sweeped?
I've found an example script to add an FDE but that has a fixed size and won't change, which is the following:
addfde;
set("solver type",3);
set("x",0);
set("x span",2e-6);
set("y",0);
set("y span",5e-6);
set("z",0);
findmodes;Kind Regards,
Marton