Dear Neil,
Thanks for your interest in the ADDA
code and the trust that you assume to it for testing the SVM.
I guess, there are two questions here:
how to get the most out of standard ADDA for your scattering
problem, and whether cudoid dipoles can hep.
Let's start with the second:
Short answer: maybe, since there are
some reasons for both yes and no. In principle, cuboid dipoles
shine when the smallest particle dimension is much smaller than
the wavelength, such as an example in the corresponding paper:
In your
case the minimum size is only a bit smaller than the wavelength
(I am not sure about specific definition of C in your formula).
Thus, if voxel size is, say, 1/20 of this minimum size, than you
may try to increase its lateral sizes, but the latter must still
stay smaller than the wavelength. So you can try an aspect ratio
of two or three. If you however, will need to decrease the
voxels size even further, you may try to keep the lateral sizes
fixed and decrease only the z-dimension of the voxel (thus,
increasing its aspect ratio). Such voxels (moderately oblate)
should also better describe the shape of the spheroid, thus
decreasing the shape errors. The latter may be dominant in your
cases (at least for phase function, especially at
backscattering)
To try it, use:
-shape ellipsoid 1 0.1 -rect_dip 3 3 1
-pol igt_so -int igt_so -dpl 15 -m ... -size ...
dpl will correspond to the largest
dimension of the voxel, so it will be better along z. Switching to
IGT_SO formulation is critical, so you need to use the latest
1.5.0-alpha3 version. And you definitely need to test your
workflow on some smaller test cases along the lines discussed
below (note, however, that optimal aspect ratio of voxels will
depend on this size). If you try it, I will also be interested in
the results.
Concerning the first one. Overall,
your combination of m and x should not cause serious accuracy or
convergence problems. When using cubical voxels, try FCD
formulation (-pol fcd -int fcd) and (optionally) BCGS2 iterative
solver (-iter bcgs2, but default qmr is probably fine for such
moderate sizes). Then I recommend, first, trying to get good
agreement for smaller size (e.g., 15) and fixed orientation. Then
you can go to really large dpl and compare with the reference. If
the agreement is still not achieved, look at DDA results for
different dpl values (try, e.g., plotting Cext or S11(at some
fixed angle) versus 1/dpl. If the DDA smoothly converge, but the
value is far from reference, that is a strong indication that
either there is a problem with SVM or one of the method has wrong
input parameters (i.e. shape, etc. is not what you aimed for).
After agreement for this case is
achieved, add orientation averaging, but employ all possible
optimizations for axisymmetric particles mentioned in ADDA manual
(and also in the file avg_params.dat). And then increase the size
to the one you need. For even larger sizes, you may need to go to
the cluster and, at some size, iterative solver will stop
converging (but I believe you are still quite far from that).
Finally, if the above doesn't
help, get back to me, I may think of something else. Also, Paul
Bouillon is currently working on weighted discretization, which
may significantly improve the accuracy for your case. He has
presently presented it at:
Bouillon P.
and Yurkin M.A. Implementation of the weighted discretization in
the ADDA code, Laser
Interaction with Particles (LIP) and Laser Induced Incandecence
(LII) 2026, 5–10 July 2026, Rouen, France,
pp. 213–216. (PDF, slides)
but the code currently works only for
spheres and cylinders. Spheroids are next on his list to
implement, so if you have a nice application in mind, let us know
- it will motivate Paul to do it faster.
Maxim.
P.S. This answer has been forwarded to your e-mail address for
your convenience. However, if you want to continue the discussion
please reply to the group's e-mail. You are also advised to check
the corresponding discussion thread at
http://groups.google.com/group/adda-discuss and/or subscribe to it
to receive automatic notifications, since other answers/comments
will not be necessarily forwarded to your e-mail.