Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

adduniformheat

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

Adds a constant heat source to the HEAT solver region.  The input is defined as the net heat input to the volume in units of Watt.  The uniform heat source can either be 2D or 3D.  The heat input per unit volume (W/m3) is calculated by dividing the net input power by the volume of the (3D) source.  In the case of a 2D source the volume of the source is defined by setting the length in the third dimension equal to either the "equivalent length" of the source or the "norm length" of the HEAT solver.

 

Supported Product: DEVICE

 

Syntax

Description

adduniformheat;

Adds a constant heat source to the simulation environment.

This function does not return any data.

 

Example

The following script adds a 3D uniform heat source to the HEAT solver, sets its dimension, and assigns a net input power.

adduniformheat;  # the dafult format of a newly created heat source is 3D

set("x",0);

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

set("y",0);

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

set("z",0);

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

set("total power",1e-4);  #  Pin = 0.1 mW

 

The following script adds a 2D y-normal uniform heat source to the HEAT solver, sets its dimension, forces the length in the third dimension to be equal to the "norm length" of the HEAT solver, and assigns a net input power.

adduniformheat;  

set("source type",2);  # 1 = 2D x-normal, 2 = 2D y-normal, 3 = 2D z-normal, 4 = 3D

set("use solver norm length",1);

set("x",0);

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

set("y",0);

set("z",0);

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

set("total power",1e-4);  #  Pin = 0.1 mW

 

See Also

Adding Objects, set, addimportheat

Copyright Lumerical Inc. | Privacy | Site Map