go atlas
mesh smooth=1 space.mult=1 width=100
x.m l=0 s=.1
x.m l=10 s=.05
x.m l=15 s=.1
x.m l=20 s=.05
x.m l=30 s=.1
y.m l=-.03 s=.005
y.m l=0 s=.001
y.m l=.015 s=.001
y.m l=.03 s=.001
y.m l=.0325 s=.01
y.m l=.0357 s=.01
y.m l=.0557 s=.01
region num=1 user.material=pentacene x.min=0 x.max=30 y.min=0 y.max=.03
region num=2 material=al2o3 y.min=.03 y.max=.0357
region num=3 material=air x.min=10 x.max=20 y.min=-.03 y.max=0
electrode num=1 name=source x.max=10 y.min=-.03 y.max=0 material=gold
electrode num=2 name=gate x.max=10 y.min=.0357 y.max=0.0557 material=aluminum
electrode num=3 name=drain x.min=20 y.min=-.03 y.max=0 material=gold
material material=pentacene eg300=2.8 nc300=1e21 nv300=1e21 permittivity=4.0 mun=5e-5 mup=.85
material material=al2o3 permittivity=4.5
contact name=source workfun=5.1
contact name=drain workfun=5.1
contact name=gate workfun=4.28
odfects fast dfile=don.dat afile=acc.dat nfa=2.5e18 ntd=1e10 wta=.129 wtd=.5 nga=0 ngd=0 ega=.62 egd=.78 wga=.15 wgd=.15 sigtae=1e-17 sigtah=1e-15 sigtde=1e-15 sigtdh=1e-17 siggae=2e-16 siggah=2e-15 siggda=2e-17 siggdh=2e-16
mobility deltaep.pfmob=1.799e-2 betap.pfmob=7.758e-5
model pfmob.p print
output val.band con.band band.param
save outfile=hagen.str
tonyplot hagen.str
solve init
method carriers=1 hole maxtrap=5
solve vdrain=0
solve vdrain=-.0326
solve vdrain=-.065
solve vdrain=-.1
solve vdrain=-.5
solve vdrain=-1
solve vdrain=-1.5
log outf=idvg.log
solve ac freq=1e6 vgate=0 vstep=.1 vfinal=3 name=gate
log off
tonyplot idvg.log
quit