1 #==============================================================================
2 # GSS example: PN Diode simulation
3 # On this step, we will do mixed-type transient calculation with NGSPICE
4 #==============================================================================
6 set Carrier = pn # specify carrier type support p,n or pn
7 set Z.width = 100 # device width in Z dimension. Unit:um
8 set LatticeTemp = 3e2 # specify initial temperature of device. Unit:K
11 #------------------------------------------------------------------------------
12 # no voltage source is needed.
14 #------------------------------------------------------------------------------
15 # specify boundary condition.
16 boundary Type = OhmicContact ID = Anode Res=0 Cap=0 Ind=0
17 boundary Type = OhmicContact ID = Cathode Res=0 Cap=0 Ind=0
19 #------------------------------------------------------------------------------
20 # Import CGNS file generated at first step
21 IMPORT CoreFile=pn.cgns
23 METHOD Type=DDML1MIX Scheme=Newton NS=LineSearch LS=LU ServerPort=17001