When simulating a cylindrical solar cell in Silvaco ATLAS, I get the following error:
Electrode shortened in A-direction.
Can somebody please point to the cause of this error?
A snippet of the code is show below for reference:
*************************************************************************
go atlas
# Solar cell example number 7
# This example is based on the reference:
#
# Korster, L.J.A., Smits, E.C.P., Mihailetchi, V.D., and Blom, P.W.M.
# "Device model for the operation of polymer/fullerene bulk heterojunction
# solar cell", Physical Review B, Vol. 72, (2005) pp. 085205-1, 085205-9.
#
set my_length= 3.0
set my_rad=1.0*$my_length
set my_filename="Cylindrical_BHJOSC_Kostmod_26_1_15.log"
mesh cylindrical three.d
r.mesh l=0 spacing=0.05
r.mesh l=0.1*$my_rad spacing=0.01
r.mesh l=0.4*$my_rad spacing=0.05
r.mesh l=1.0*$my_rad spacing=0.01
# for angle and angle division
a.m l=0 spac=30
a.m l=360 spac=30
#changed from 360 to 180 to 120 to 60 to 120 to 150 to 360
# for z-direction
z.mesh l=0 spacing=0.01
z.mesh l=$my_length*0.1 spacing=0.01
z.mesh l=$my_length*0.2 spacing=0.025
z.mesh l=$my_length*0.95 spacing=0.05
z.mesh l=$my_length spacing=0.25
#
# For organic solar cells we define only a single organic region that
# represents a bulk heterojunction (BHJ) material.
region num=1 material=Organic a.min=0 a.max=360 z.min=0 z.max=$my_length r.min=0 r.max=$my_rad
# Here we define the top and bottom electrodes which we define workfunctions
# in order to provice a build-in field for separation of electrons and holes.
#
electrode name=cathode a.min=0 a.max=360 r.min=0 r.max=0 z.min=0 z.max=0
electrode name=anode a.min=0 a.max=360 r.min=$my_rad r.max=$my_rad z.min=$my_length z.max=$my_length
contact num=1 workf=1.0
contact num=2 workf=3.1
save outf=test_cylindrical_koster_26_1_15_2040.str
*******************************************************************************************************