/BATCH /COM,ANSYS RELEASE 8.0 UP20030930 12:04:41 01/20/2006 /input,menust,tmp,'',,,,,,,,,,,,,,,,1 /GRA,POWER /GST,ON /PLO,INFO,3 /GRO,CURL,ON /CPLANE,1 /REPLOT,RESIZE WPSTYLE,,,,,,,,0 /INPUT,'testcase','inp','D:\work\',, 0 /BATCH /COM,ANSYS RELEASE 8.0 UP20030930 12:07:03 01/20/2006 /input,menust,tmp,'',,,,,,,,,,,,,,,,1 /GRA,POWER /GST,ON /PLO,INFO,3 /GRO,CURL,ON /CPLANE,1 /REPLOT,RESIZE WPSTYLE,,,,,,,,0 /INPUT,'testcase','inp','D:\work\',, 0 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:07:39 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /REPLOT,RESIZE /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,grid_wire,1 *SET,grid_hole,5 *SET,grid_thick,1 *SET,grid_loc,50 *SET,dx , grid_wire + grid_hole *SET,dy , grid_wire + grid_hole *SET,dz , 100 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep block,0,dx,0,dy,1,grid_loc ! vol 3 block,0,grid_hole/2.,0,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 4 block,0,grid_hole/2.,grid_hole/2.+grid_wire,dy,grid_loc,grid_loc+grid_thick ! vol 5 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 6 block,grid_hole/2.+grid_wire,dx,grid_hole/2.+grid_wire,dy,grid_loc+grid_thick ! vol 7 block,0,dx,0,dy,grid_loc+grid_thick,dz-1 ! vol 8 space 1 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:08:49 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,grid_wire,1 *SET,grid_hole,5 *SET,grid_thick,1 *SET,grid_loc,50 *SET,dx , grid_wire + grid_hole *SET,dy , grid_wire + grid_hole *SET,dz , 100 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep block,grid_hole/2.,grid_hole/2.+grid_wire,0,dy,grid_loc,grid_loc+grid_thick ! vol 4 block,0,dx,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 5 FINISH /POST1 FINISH /PREP7 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:11:15 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,grid_wire,1 *SET,grid_hole,5 *SET,grid_thick,1 *SET,grid_loc,50 *SET,dx , grid_wire + grid_hole *SET,dy , grid_wire + grid_hole *SET,dz , 100 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector block,grid_hole/2.,grid_hole/2.+grid_wire,0,dy,grid_loc,grid_loc+grid_thick ! vol 3 block,0,grid_hole/2.,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 4 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 5 vadd,3,4,5 vglue,all ! vol 3 is grid /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep vlist, all vglue,6 /rep block,0,dx,0,dy,1,grid_loc ! vol 3 /rep block,0,grid_hole/2.,0,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 4 /rep block,0,grid_hole/2.,grid_hole/2.+grid_wire,dy,grid_loc,grid_loc+grid_thick ! vol 5 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 6 block,grid_hole/2.+grid_wire,dx,grid_hole/2.+grid_wire,dy,grid_loc+grid_thick ! vol 7 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:15:45 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,grid_wire,1 *SET,grid_hole,5 *SET,grid_thick,1 *SET,grid_loc,50 *SET,dx , grid_wire + grid_hole *SET,dy , grid_wire + grid_hole *SET,dz , 100 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector block,grid_hole/2.,grid_hole/2.+grid_wire,0,dy,grid_loc,grid_loc+grid_thick ! vol 3 block,0,grid_hole/2.,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 4 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 5 vadd,3,4,5 vglue,3 ! vol 3 is grid block,0,dx,0,dy,1,grid_loc ! vol 3 block,0,grid_hole/2.,0,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 4 block,0,grid_hole/2.,grid_hole/2.+grid_wire,dy,grid_loc,grid_loc+grid_thick ! vol 5 /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep block,grid_hole/2.+grid_wire,dx,grid_hole/2.+grid_wire,dy,grid_loc+grid_thick ! vol 7 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,dy,grid_loc,grid_loc+grid_thick ! vol 6 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:17:42 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,grid_wire,1 *SET,grid_hole,5 *SET,grid_thick,1 *SET,grid_loc,50 *SET,dx , grid_wire + grid_hole *SET,dy , grid_wire + grid_hole *SET,dz , 100 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector block,grid_hole/2.,grid_hole/2.+grid_wire,0,dy,grid_loc,grid_loc+grid_thick ! vol 3 block,0,grid_hole/2.,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 4 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 5 vadd,3,4,5 /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep block,0,dx,0,dy,1,grid_loc ! vol 3 block,0,grid_hole/2.,0,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 4 block,0,grid_hole/2.,grid_hole/2.+grid_wire,dy,grid_loc,grid_loc+grid_thick ! vol 5 block,grid_hole/2.+grid_wire,dx,grid_hole/2.+grid_wire,dy,grid_loc,grid_loc+grid_thick ! vol 6 block,grid_hole/2.+grid_wire,dx,0,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 7 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:20:14 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\work\',, 0 /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:21:19 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\work\',, 0 /BATCH /COM,ANSYS RELEASE 8.0 UP20030930 12:22:45 01/20/2006 /input,menust,tmp,'',,,,,,,,,,,,,,,,1 /GRA,POWER /GST,ON /PLO,INFO,3 /GRO,CURL,ON /CPLANE,1 /REPLOT,RESIZE WPSTYLE,,,,,,,,0 /INPUT,'testcase','inp','D:\work\',, 0 vlist, all vsel,s,volume,,4 /rep vsel,s,volume,,5 /rep vsel,s,volume,,1,4 /rep vsel,all /rep FLST,3,4,6,ORDE,4 FITEM,3,1 FITEM,3,-2 FITEM,3,4 FITEM,3,-5 FLST,3,4,6,ORDE,4 FITEM,3,1 FITEM,3,-2 FITEM,3,4 FITEM,3,-5 VGEN,5,P51X, , ,6, , , ,0 FLST,3,4,6,ORDE,4 FITEM,3,1 FITEM,3,-2 FITEM,3,4 FITEM,3,-5 VGEN,5,1,21 , ,,6 , , ,0 vlist, all fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:33:00 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /REPLOT,RESIZE /INPUT,'testcase','inp','D:\work\',, 0 FLST,3,4,6,ORDE,4 FITEM,3,1 FITEM,3,-2 FITEM,3,4 FITEM,3,-5 VGEN,5,P51X, , ,6, , , ,0 vlist, all vsel,s,volume,,1,10,4 /rep vsel,s,volume,,1 /rep vsel,s,volume,,5 /rep vsel,s,volume,,1 vsel,r,volume,,3 /rep vsel,s,volume,,1 vsel,a,volume,,3 /rep vsel,a,volume,,7 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:36:31 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\work\',, 0 vlist, all vsel,s,volume,,1,8,2 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:38:18 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\work\',, 0 vlist, all vsel,s,volume,,12 /rep vglue,all vsel,all vglue,all ! ./rep vlist, all fini ! c/el /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:39:53 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\work\',, 0 vlist, all vsel,s,volume,,3 /rep vsel,s,volume,,16 /rep vlist, all vsel,all /rep vlist, all fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 12:42:01 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\work\',, 0 vlist, all vglue,all vlist, all vsel,s,volume,,3 /rep vsel,s,volume,,4 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 15:35:57 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,grid_wire,1 *SET,grid_hole,5 *SET,grid_thick,1 *SET,grid_loc,50 *SET,dx , grid_wire + grid_hole *SET,dy , grid_wire + grid_hole *SET,dz , 100 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,grid_hole/2.,grid_hole/2.+grid_wire,0,dy,grid_loc,grid_loc+grid_thick ! vol 3 block,0,grid_hole/2.,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 4 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 5 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 15:37:47 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','txt','D:\ANSYS Demos\',, 0 /rep /USER, 1 /FOC, 1, -0.255412788101 , 3.09099530003 , 2.18044722811 /VIEW, 1, 0.866751277960 , 0.115852375671 , 0.485098391263 /ANG, 1, 2.57220878478 /FOC, 1, 4.66349738432 , -2.23044866292 , 3.23695610169 /VIEW, 1, 0.525577194682 , -0.838986117071 , 0.140964207486 /ANG, 1, 0.894799274226 /FOC, 1, 2.69540574324 , -4.13052697176 , -0.733947213780 /FOC, 1, 2.76640319678 , -4.12421582947 , -0.961094815752 /DIST, 1, 6.55818993565 /ANG, 1, 3.59479927423 /FOC, 1, 1.68227989212 , -6.14074768944 , -1.07295018084 /VIEW, 1, 0.101977414275 , -0.992600839796 , 0.659103923017E-01 /ANG, 1, 20.7532566232 /FOC, 1, -5.12242750531 , -6.74674173094 , 0.379724654420 /VIEW, 1, -0.551518159526 , -0.824700590857 , 0.125286292758 /ANG, 1, 142.920634685 /FOC, 1, -4.40746608201 , -2.41224479714 , 16.5230203353 /VIEW, 1, -0.701719510740E-01, -0.366294982988E-01, 0.996862165566 /ANG, 1, 108.694778509 /FOC, 1, -2.40811581033 , -1.94880085631 , 16.6807894170 /FOC, 1, -1.03130650607 , -1.27984925149 , 16.5834396472 /VIEW, 1, 0.276781220711E-02, -0.733605962956E-03, 0.999995900511 /ANG, 1, 108.856027435 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 15:48:56 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,grid_wire,1 *SET,grid_hole,5 *SET,grid_thick,1 *SET,grid_loc,50 *SET,dx , grid_wire + grid_hole *SET,dy , grid_wire + grid_hole *SET,dz , 100 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,grid_hole/2.,grid_hole/2.+grid_wire,0,dy,grid_loc,grid_loc+grid_thick ! vol 3 block,0,grid_hole/2.,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 4 block,grid_hole/2.+grid_wire,dx,grid_hole/2.,grid_hole/2.+grid_wire,grid_loc,grid_loc+grid_thick ! vol 5 !vadd,3,4,5 block,0,dx,0,dy,1,grid_loc ! vol 6 block,0,grid_hole/2.,0,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 7 block,0,grid_hole/2.,grid_hole/2.+grid_wire,dy,grid_loc,grid_loc+grid_thick ! vol 8 block,grid_hole/2.+grid_wire,dx,grid_hole/2.+grid_wire,dy,grid_loc,grid_loc+grid_thick ! vol 9 block,grid_hole/2.+grid_wire,dx,0,grid_hole/2.,grid_loc,grid_loc+grid_thick ! vol 10 block,0,dx,0,dy,grid_loc+grid_thick,dz-1 ! vol 11 vadd,3,4,5 vglue,all vadd,3,4,5,13,14,15 vglue,all ! vol 4 is RG, vol 5 is free space FLST,3,4,6,ORDE,4 FITEM,3,1 FITEM,3,-2 FITEM,3,4 FITEM,3,-5 VGEN,2,P51X, , ,6, , , ,0 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 15:52:58 01/20/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 FINISH ! /EXIT,NOSAV /BATCH /COM,ANSYS RELEASE 8.0 UP20030930 13:05:44 01/28/2006 /input,menust,tmp,'',,,,,,,,,,,,,,,,1 /GRA,POWER /GST,ON /PLO,INFO,3 /GRO,CURL,ON /CPLANE,1 /REPLOT,RESIZE WPSTYLE,,,,,,,,0 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Physical COnstants ! mp,perx,1,1 ! mp,perx,2,10 !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:14:44 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /REPLOT,RESIZE !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:17:00 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 ! \ /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep vadd,3,4,5,6,7,8 vglue,all ! vol 3 is free space vlist, all block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,4,5,6 vglue,all ! vol 4 is grid vlist, all fini\ /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:19:15 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 !vglue,all ! vol 3 is free space block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,4,5,6 vglue,all ! vol 4 is grid fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:19:43 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical COnstants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 /VIEW,1,1,1,1 /ANG,1 /REP,FAST /rep vlist, all block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,3,4,5 vlist, all vglue,all vlist, all vglue,all vlist, all vsel,s,volume,,3 /rep vglue,6 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:25:10 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 !vglue,all ! vol 3 is free space block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:30:02 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 /BATCH /COM,ANSYS RELEASE 8.0 UP20030930 13:30:24 01/28/2006 /input,menust,tmp,'',,,,,,,,,,,,,,,,1 /GRA,POWER /GST,ON /PLO,INFO,3 /GRO,CURL,ON /CPLANE,1 /REPLOT,RESIZE WPSTYLE,,,,,,,,0 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 !vglue,all ! vol 3 is free space block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,3,4,5 vlist, all vsel,s,volume,,6,9 /rep vglue,all /rep vlist, all numcmp,volume vlist, all fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:37:48 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 vglue,all ! vol 3 is free space block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,4,5,6 vglue,all ! vol 6 is grid NEED THIS TO BE 4!!!!!!!!!!! numcmp,volume ! renumbers volumes 1-4 vlist, all vsel,s,volume,,4 /rep vsel,s,volume,,3 /rep fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:40:33 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\WORK\',, 0 /rep FLST,3,4,6,ORDE,2 FITEM,3,1 FITEM,3,-4 VGEN,2,P51X, , ,6, , , ,0 vlist, all vsel,s,volume,,1,5,4 /rep vadd,all /rep ! /vsel,s,volume,,2,6,4 vsel,s,volume,,2,6,4 /rep vadd,all vsel,s,volume,,3,7,4 /rep vadd,all vsel,s,volume,,4,8,4 /rep vadd,all vsel,all /rep vglue,all numcmp,volume vlist, all fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:46:10 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 vglue,all block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,4,5,6 vglue,all numcmp,volume ! renumbers volumes 1-4 ! vol 1 is ground ! vol 2 is collector ! vol 3 is grid ! vol 4 is vaccuum !--------- Copy in x-direction !FLST,3,4,6,ORDE,2 !FITEM,3,1 !FITEM,3,-4 VGEN,2,P51X, , ,6, , , ,0 FLST,3,4,6,ORDE,2 FITEM,3,1 FITEM,3,-4 VGEN,2,P51X, , ,6, , , ,0 vlist, all fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:49:14 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 /PREP7 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 vglue,all block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,4,5,6 vglue,all numcmp,volume ! renumbers volumes 1-4 ! vol 1 is ground ! vol 2 is collector ! vol 3 is grid ! vol 4 is vaccuum !--------- Copy in x-direction FLST,3,4,6,ORDE,2 FITEM,3,1 FITEM,3,-4 VGEN,3,P51X, , ,6, , , ,0 fini /cle /COM,ANSYS RELEASE 8.0 UP20030930 13:51:43 01/28/2006 /input,start80,ans,'C:\PROGRAM FILES\ANSYS INC\V80\ANSYS\apdl\',,,,,,,,,,,,,,,,1 /INPUT,'testcase','inp','D:\WORK\',, 0 /rep !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 *SET,xcopies,6 *SET,ycopies,4 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 vglue,all block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,4,5,6 vglue,all numcmp,volume ! renumbers volumes 1-4 ! vol 1 is ground ! vol 2 is collector ! vol 3 is grid ! vol 4 is vaccuum !--------- Copy in x-direction FLST,3,4,6,ORDE,2 FITEM,3,1 FITEM,3,-4 VGEN,xcopies,P51X, , ,dx, , , ,0 /BATCH /COM,ANSYS RELEASE 8.0 UP20030930 13:54:27 01/28/2006 /input,menust,tmp,'',,,,,,,,,,,,,,,,1 /GRA,POWER /GST,ON /PLO,INFO,3 /GRO,CURL,ON /CPLANE,1 /REPLOT,RESIZE WPSTYLE,,,,,,,,0 !-- Voltages *SET,v_g,0.0 ! Ground Potential *SET,v_r,5.0 ! Retarding Grid Potential *SET,v_c,-5.0 ! Collector Potential !-- Geometry *SET,g_wire,1 *SET,g_hole,5 *SET,g_thick,1 *SET,g_loc,50 *SET,dx , g_wire + g_hole *SET,dy , g_wire + g_hole *SET,dz , 100 *SET,xcopies,6 *SET,ycopies,4 /PREP7 et,1,solid123 !-- Physical Constants mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,volume,1 BLOCK,0,dx,0,dy,0,1, ! vol 1 ground BLOCK,0,dx,0,dy,dz-1,dz, ! vol 2 collector /VIEW,1,1,1,1 /ANG,1 /REP,FAST block,0, dx, 0, dy, 1, g_loc ! vol 3 block,0, g_hole/2., 0, g_hole/2., g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, 0, g_hole/2., g_loc, g_loc+g_thick ! vol 6 block,g_hole/2.+g_wire, dx, g_hole/2.+g_wire, dy, g_loc, g_loc+g_thick ! vol 7 block,0, dx, 0, dy, g_loc+g_thick, dz-1 ! vol 8 vadd,3,4,5,6,7,8 vglue,all block,g_hole/2., g_hole/2.+g_wire, 0, dy, g_loc, g_loc+g_thick ! vol 4 block,0, g_hole/2., g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 5 block,g_hole/2.+g_wire, dx, g_hole/2., g_hole/2.+g_wire, g_loc, g_loc+g_thick ! vol 6 vadd,4,5,6 vglue,all numcmp,volume ! renumbers volumes 1-4 ! vol 1 is ground ! vol 2 is collector ! vol 3 is grid ! vol 4 is vaccuum !--------- Copy in x-direction FLST,3,4,6,ORDE,2 FITEM,3,1 FITEM,3,-4 VGEN,xcopies,P51X, , ,dx, , , ,0 /REPLOT,RESIZE !-- Add Ground Plate vsel,s,volume,,1,4*xcopies-3,4 vadd,all !-- Add Collector Plate vsel,s,volume,,2,4*xcopies-2,4 vadd,all !-- Add Grid vsel,s,volume,,3,4*xcopies-1,4 vadd,all !-- Add Free Space vsel,s,volume,,4,4*xcopies,4 vadd,all vsel,all vglue,all numcmp,volume /replot /rep VGEN,ycopies,P51X, , ,,dy , , ,0 /rep FLST,3,4,6,ORDE,2 FITEM,3,1 FITEM,3,-4 VGEN,ycopies,P51X, , , ,dy, , ,0 !-- Add Ground Plate vsel,s,volume,,1,4*ycopies-3,4 vadd,all !-- Add Collector Plate vsel,s,volume,,2,4*ycopies-2,4 vadd,all !-- Add Grid vsel,s,volume,,3,4*ycopies-1,4 vadd,all !-- Add Free Space vsel,s,volume,,4,4*ycopies,4 vadd,all vsel,all vglue,all numcmp,volume /rep vlist, all vsel,s,volume,,1 /rep vsel,a,volume,,3,4 /rep