Tanay Paul
unread,Aug 21, 2025, 7:15:50 PMAug 21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smuthi
Hi all!
I have been trying to simulate core-shell spherical particles, i.e., a spherical core surrounded by a shell of another material. From a previous discussion in this group, I learned that the 'LayeredSpheroid' particle type can be used for this. However, due to limited documentation of the API, I am not completely sure whether my implementation is correct. Below is the way I set it up.
"
smuthi.particles.LayeredSpheroid(position = [rx,ry,rz],
layer_refractive_indices = [part_ref_ID[0], part_ref_ID[1]],
layer_semi_axes_c = [r, d],
layer_semi_axes_a = [r, d],
l_max = 1, m_max = 1)
"
Here, (rx, ry, rz) is the center of the sphere,
r is the core radius,
d is the shell thickness,
part_ref_ID[0] is the refractive index of the core material,
part_ref_ID[1] is the refractive index of the shell material.
My confusion arises for two reasons:
1. During the simulation, the run-time messages included the following, which I wasn't sure whether to be concerned about:
"
Nrank input values:
the input value of Nrank for the layer 1 is 17,
while the estimated value of Nrank from Wiscombe's criterion is 20;
the input value of Nrank for the layer 2 is 17,
while the estimated value of Nrank from Wiscombe's criterion is 20;
Nint input value:
the input value of Nint is 100, while Nint = Ndgs * Nrankpmax,
Ndgs = 15,20,..., and Nrankpmax = 6;
"
2. The extinction cross-section I obtain does not match the experimental value I am trying to reproduce. Similarly, the near-field plots are not as expected.
Could anyone clarify whether my usage of 'LayeredSpheroid' is correct? Am I missing some key point? Also, do I need to explicitly adjust the 'Nrank' values?
Thanks and regards,
Tanay Paul