Please enable JavaScript to view this site.

Knowledge Base

Adds a port object to the ports group under the FDTD simulation region. A simulation region must be present in order to add a port. For more information about the port object see Ports. This topic addresses the addport command in FDTD Solutions - for information about the INTERCONNECT command, see addport.


Supported Product: FDTD





Adds a port.

This function does not return any data.



The following script adds a FDTD simulation region and port, then sets the name of the port, and selects the port modes and source mode.

# add objects

addfdtd; # add FDTD simulation region

addport; # add port


# set up port

set("name","input_port"); # set the name of the port

seteigensolver("bent waveguide",true); # set the solver to look for modes of a bent waveguide

seteigensolver("bend radius",10e-6); # set bending radius to 10 um

updateportmodes(1:2); # select the first 2 modes of the port


# select the second mode of the port to be the source mode

select("FDTD::ports"); # select the port group

set("source port","input_port");

set("source mode","mode 2");


See Also

Ports, set, geteigensolver, seteigensolver, updateportmodes, clearportmodedata

Copyright Lumerical Inc. | Privacy | Site Map