Please enable JavaScript to view this site.

Knowledge Base

Adds a mode expansion monitor to the simulation environment.   In MODE Solutions an active varFDTD region needs to be present for this command to work.

 

Supported Product: FDTD, MODE

 

Syntax

Description

addmodeexpansion;

Adds a mode expansion monitor to the simulation environment.

This function does not return any data.

 

Example

The following script commands will add mode expansion and field monitors and then setup some of the expansion monitor properties.

# add monitors

addmodeexpansion;

set("name","mode_expansion");

addpower;

set("name","field");

 

# set the field monitor to be used by the expansion monitor

select("mode_expansion");

setexpansion("input", "field");

 

# set the expansion monitor mode solver properties

if (true) {

 # select fundamental, fundamental TE or fundamental TM mode

 set("mode selection","fundamental mode");

} else {

 # alternately, set expansion monitor mode solver properties, 

 # rather than one of the 'fundamental modes

 set("mode selection","user select");  # use the 'user select' option

 seteigensolver("use max index",0);   # specify a custom value for 'n'

 seteigensolver("n",1.1);

 updatemodes(3);             # select the 3rd mode

}

 

See Also

Adding Objects, set, Using Mode Expansion Monitors, setexpansion, removeexpansion, updatemodes, seteigensolver, geteigensolver

Copyright Lumerical Inc. | Privacy | Site Map