/batch,list /prep7 et,1,plane121,,,1 v_g=0.0 ! Ground Potential v_r=5.0 ! Ring Potential v_c=0.0 ! Collector Potential mp,perx,1,1 ! Free Space mp,perx,2,10 ! Metal /pnum,area,1 rectng,0,5,0,1 ! 1 rectng,3,4,5,6 ! 2 rectng,0,5,1,5 ! 3 rectng,0,3,5,6 ! 4 rectng,4,5,5,6 ! 5 rectng,0,5,6,10 ! 6 rectng,0,5,10,11 ! 7 aadd,2,3,4,5,6 aglue,all /com /com Now A1 is ground, A2 the ring, A7 the collector, and A2 free space /com asel,s,area,,2 aatt,1,1,1 asel,inve aatt,2,1,1 asel,all smrtsize,3 amesh,all !-------------------------------- nsel,s,loc,x,0,5 nsel,r,loc,y,0,1 d,all,volt,v_g !-------------------------------- nsel,s,loc,x,0,5 nsel,r,loc,y,10,11 d,all,volt,v_c !-------------------------------- ! !-------------------------------- finish /solution solve finish /post1 /number,1 plnsol,volt *do,i,1,2 trpoin,i*0.1+2.4,1.5,0,0.1*(-1)**(i-1),0.1*i,0,30,5 *enddo pltrac,elec