Hi Andrea,
the line plots generated by postprocessing.graphical_output.show_scattering_cross_section are the azimuthally integrated DSCS, so they don't agree with Fig 4a (which is a slice through the DSCS).
When plotting the DSCS computed with postprocessing.far_field.scattering_cross_section, you can use the following command:
dscs_slice = scs.signal[0,:,0] + scs.signal[1,:,0]
plt.plot(scs.polar_angles, dscs_slice)
It means: TE plus TM polarized DSCS, evaluated at all polar angles and 0th azimuth angle (which you have set to 90°).
This is not well documented in the online manual (sorry), there
however are some hints in the source code how to interpret the
FarField.signal property, see lines
62ff of far_field.py
You may also want to change the incident plane wave to polar_angle=np.pi, because the text says that the incident wave propagates to the negative z-direction.
Note that SMUTHI cannot cope with polar angles larger than 180°,
althouth the paper plots polar angles from 0° to 360°. I believe
that this means one times around the globe, starting at the north
pole. You can get these data for polar angle continuous between 0
... 180° and azimuth angle fixed at 0° and 180°. You will then
need to concatenate these arrays (second in reverse order) to
mimic the plot of the paper.
I have tried with polar angles between 0 and 180 degree and hoped that the result looked like the first half of the data published in the paper, but unfortunately, the plots didn't look alike.
So there must be some other issue, but I cannot find it. Your
script looks correct to me, except for the points mentioned above.
Sorry that I cannot be of more help.
Cheers, Amos
--
Smuthi project repository: https://gitlab.com/AmosEgel/smuthi
Online documentation https://smuthi.readthedocs.io/en/latest/
---
You received this message because you are subscribed to the Google Groups "Smuthi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smuthi+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smuthi/8034170b-7b30-4b1d-9963-ce2235f94946n%40googlegroups.com.
Dear Andrea,
regarding the comparison between your full wave solver on the one hand and Smuthi with and without plane wave coupling on the other hand:
Maybe you could start with an easier goemetry, such as two
spheres aligned exactly above each other. All three results should
then agree.
Then you could go to two flat spheroids (not rotated) packed above each other (z-aligned, with some air gap). Theoretically, the CST result should agree to the plane wave coupling result whereas there may be deviations to the Smuthi result without plane wave coupling.
And finally go to a configuration of rotated and/or shifted
spheroids.
That would help to locate the issue. Note that particles that are
stacked on top of each other (with some air gap) are easier to
handle for the plane wave coupling module, because no rotations
need to be carried out.
Cheers, Amos
To view this discussion on the web visit https://groups.google.com/d/msgid/smuthi/94e7b541-8e91-4651-b747-48ba84eb52a3n%40googlegroups.com.