Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addchargemesh

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Adds a mesh constraint (override region) to the 'CHARGE' simulation environment in DEVICE.  A CHARGE solver region must be present in the objects tree for this command to work.

 

Supported Product: DEVICE

 

Syntax

Description

addchargemesh;

Adds a mesh constraint to the 'CHARGE' simulation environment.

This function does not return any data.

 

Example

The following script commands will add a mesh constraint to the CHARGE solver region in DEVICE, name it, set its dimension, and set the maximum edge length for any element within the volume.

addchargesolver;  # this command should be used if there is not CHARGE solver present in the objects tree

addchargemesh;

set("name","mesh_SCR");

 

# set dimension

set("x",0);

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

set("y",0);

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

set("z",0);

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

 

# restrict maximum edge length for elements

set("max edge length",5e-9);

 

See Also

Adding Objects, addchargesolver, set

Copyright Lumerical Inc. | Privacy | Site Map