1 #==============================================================================
2 # GSS example: N-channle MOSFET simulation with InsulatorContact boundary type
3 # The drain electrode is biased by 3V VDC from a 0.1k resistence.
4 # Gate electrode is stimulated by 3V VDC and a 10mV sinusoidal source at 1MHz.
5 # We do the transient simulation here.
6 #==============================================================================
10 #------------------------------------------------------------------------------
11 # some voltage sources are needed here.
12 vsource Type = VDC ID = GND Tdelay=0 Vconst=0
13 vsource Type = VDC ID = VCC Tdelay=0 Vconst=3
14 vsource Type = VDC ID = VGATE Tdelay=0 Vconst=3
15 vsource Type = VSIN ID = Vs Tdelay=0 Vamp=1e-2 Freq=1e6 # 1MHz
17 #------------------------------------------------------------------------------
18 # specify boundary condition.
19 boundary Type = InsulatorContact ID = ISGATE \
20 Eps=3.9 Thickness=0.2e-6 WorkFunction=4.7
21 boundary Type = OhmicContact ID = OMSOURCE \
22 Res=0 Cap=0 Ind=0 Heat.Transfer=1e4
23 boundary Type = OhmicContact ID = OMDRAIN \
24 Res=100 Cap=0 Ind=0 Heat.Transfer=1e4
25 boundary Type = OhmicContact ID = OMSUB \
26 Res=0 Cap=0 Ind=0 Heat.Transfer=1e4 EXT.Temp=300
28 #------------------------------------------------------------------------------
29 # drive command, specify the solving process.
31 IMPORT CoreFile=mos_bias.cgns
33 ATTACH Electrode=ISGATE VApp=VGATE VApp=Vs
34 ATTACH Electrode=OMDRAIN VApp=VCC
35 # specify DDM method with basic newton
36 METHOD Type = DDML2E Scheme = Newton NS=Basic LS=TFQMR Damping=Potential
38 # do transient simulation of VGATE=3V
39 SOLVE Type=STEADYSTATE
40 SOLVE Type=TRANSIENT IVRecord=OMDRAIN IVFile=ivt.txt \
41 TStart=0 TStep=1e-8 TStop = 2e-6
42 PLOT Variable=Potential Measure=Linear AzAngle=240 ElAngle=40
43 PLOT Variable=ElecDensity Measure=Linear AzAngle=240 ElAngle=40
44 PLOT Variable=HoleDensity Measure=Linear AzAngle=100 ElAngle=40
45 PLOT Variable=Temperature Measure=Linear AzAngle=40 ElAngle=40