1 #==============================================================================
2 # GSS example: Zener Diode simulation
3 # On this step, we will first calculate the forward IV curve by voltage
4 # and current sewwps. Then we will compute reverse breakdown IV curve.
5 #==============================================================================
7 set Carrier = pn # specify carrier type support p,n or pn
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=diode_zener.cgns
23 #------------------------------------------------------------------------------
25 # sewwp with voltage boundary condition
26 METHOD Type=DDML2E Scheme=Newton NS=Basic LS=BCGS ImpactIonization=Off BandBandTunneling=On
27 SOLVE Type=DCSWEEP VScan=Anode IVRecord=Anode IVRecord=Cathode \
28 IVFile=ivb.txt VStart=0 VStep=-0.05 VStop=-10
29 # note: the first column of IVFile is the voltage of electrode, unit:V
30 # the second column is current, unit:mA.