the Electric field looks some strange


dear all
hello,now I have run a simulation of Device and want to get the electric field distribution in the region I define.When I check the plot,it looks very strange,as show below.
Can anyone help me how to modify the programme and get the right plot of the electric field(which is square).Hope to get your feedback.Thanks a lot .1.ldev (4.9 MB)
(I have deleted the metal contatct because the file is too large,if you test the file,you can add the metal,thanks)


Hi @jbwei, the reason your electric field looks rounded is because the doping profile you get from the diffusion doping object is rounded.

If you replace the diffusion doping objects with constant doping objects then the doping profile would be square and that will make the electric field profile look square as well.