Periodic simulation with a complex refractive index for the layers
58 views
Skip to first unread message
cédric Rousseau
unread,
Sep 17, 2024, 3:48:48 AM9/17/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smuthi
Hello everyone, I have been starting with Smuthi for a few weeks now. After a few successes, I am now facing my first question, for which I can't find the answer in the documentation or the examples. Is it possible to set periodic conditions with complex refractive indices for the layers?
Because when I run the periodic example simulations "fifteen_periodic_spheres_in_slab.py" with a complex refractive index, the code stops on its own after 30 seconds without any error message.
A personal code that I created by streamlining the example code gives me the following error with the arctan2() function, which does not accept complex numbers as input. This raises my question about the feasibility of such a simulation.
Thanks and regards,
Rousseau Cédric.
Loris Cavenaile
unread,
Sep 24, 2024, 5:19:54 AM9/24/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Smuthi
Hello, I am currently working on the exact same topic for my dissertation and am deeply invested in the subject matter. I am eager to see the responses and insights that emerge, as they will undoubtedly contribute to my own understanding and research. I look forward to further discussion and exploration of this fascinating area.
Thanks and Regards, Loris Cavenaile
Krzysztof Czajkowski
unread,
Sep 24, 2024, 5:52:31 AM9/24/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Loris Cavenaile, Smuthi
Hi,
I think there are two different levels of difficulty depending how you
pose your problem. Do the particles need to be embedded in the layer
with complex RI or is it just one of the layers in which there aren't
any particles? I would guess that the latter case should be rather
straightforward, but the former is a bit tricky in terms of T-matrix for
the particles and the Ewald sum if the particles are embedded in a
medium with complex RI.
Best,
Krzysztof