Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addemabsorptionmonitor

Scroll Prev Top Next More

Adds an absorption monitor to the 'DGTD' solver in DEVICE.  The monitor reports the power absorbed within the monitor volume.  A DGTD solver region must be present in the objects tree for this command to work.

 

Supported Product: DEVICE

 

Syntax

Description

addemabsorptionmonitor;

Adds an absorption monitor to the 'DGTD' solver.

 

This function does not return any data.

 

Example 1

The following script commands will add an absorption monitor to the 'DGTD' solver already present in the objects tree and print all available properties of the monitor.

 

addemabsorptionmonitor;

?set;

 

Example 2

The following script commands will add an absorption monitor to the 'DGTD' solver, change its name, set its frequency span to be the same as the source, and assign it to a solid named "nanoparticle".

 

addemabsorptionmonitor; 

set("name","Pabs");

 

# set the frequency range based on the source settings

set("use source limits",1);

set("reference source","plane_wave");  

 

# set the assigned volume

set("volume type","solid");

set("volume solid","nanoparticle");

 

NOTE: The script above assumes that there is already a solid named "nanoparticle" and a source named "plane_wave" present in the objects tree.

 

See Also

adddgtdsolver, addemfieldmonitor, addemfieldtimemonitor

Copyright Lumerical Inc. | Privacy | Site Map