Please enable JavaScript to view this site.

Knowledge Base

Adds a mode source to the simulation environment for FDTD Solutions.  For MODE Solutions, adds an eigenmode (FDE) solver region to the simulation environment.

 

Supported Product: FDTD, MODE

 

Note: The 'addmode' command is deprecated in MODE Solutions and will be removed in future releases. Please refer to addfde as a replacement.

 

Syntax

Description

addmode;

For FDTD Solutions:

Add a mode source to the simulation environment.

This function does not return any data.

addmode;

For MODE Solutions:

Add an eigenmode solver to the simulation environment.

 

Example

The following script commands will add a mode source in FDTD and set its dimension and injection axis.

addmode;

set("injection axis","x");

set("x",0);

set("y",0);

set("y span",5e-6);

set("z",0);

set("z span",10e-6);

 

The following script commands will add an eigenmode (FDE) solver region in MODE Solutions on the XY plane and calculate the eigen modes.

addmode;

set("solver type",3);

set("x",0);

set("x span",2e-6);

set("y",0);

set("y span",5e-6);

set("z",0);

findmodes;

 

See Also

Adding Objects, set, updatesourcemode, findmodes

Copyright Lumerical Inc. | Privacy | Site Map