I tried to plot the output of the xyzdipole.py with matlab; so with RaddPatt.m you can plot 3D radiation pattern of an antenna with FDTD and you can compare the results with RaddPattReady.m which show the radiation pattern of 0.47*lambda dipole (z-directed). I also attached some of the results of xyzdiple.py to compare:
out1: this file is a simple sin source in Ez= stimulus UPML, source: sin, I used Phi for NFFF back plane (I had forgotten to change it to PHi + pi) the primarily conditions for UPML coeff
out2: this file is y-directed dipole UPML, source: sin, I used Phi for NFFF back plane (I had forgotten to change it to PHi + pi) the new conditions for UPML coeff
out3: this file is z-directed dipole UPML, source: sin, I used Phi for NFFF back plane (I had forgotten to change it to PHi + pi) the new conditions for UPML coeff
out4: this file is z-directed dipole UPML, source: sin, I used Phi+pi for NFFF back plane; the new conditions for UPML coeff
out5: this file is z-directed dipole non-UPML ((I turned off UPML)) source: sin, I used Phi+pi for NFFF back plane; the new conditions for UPML coeff;
out6: this file is z-directed dipole non-UPML (( turned off UPML)) source: sin, I used Phi+pi for NFFF back plane; the previous conditions for UPML coeff;
for example compare the out6 result (you should use find and replace all of out6 to any other ones in the mfile) as output of RaddPatt.m with RaddPattReady.m.
the comarison is really awfull, I couldn't find the problem, any idea?
or any way to find the problem? (for example, how can I realize the NFFF is ok?)
or may anyone who can download viz, send it to me to compare it; as I think maybe there is any problem with my mfile, I think they could plot the output of python with viz better than me, or... I don't know, any idea to help?