Replies: 2 comments 1 reply
-
After much consideration, I think being able to input all components of the epsilon tensor would be more useful, however, as far as I can tell Meep only allows us to define off-diagonal elements but not individual elements, is there a reason for this? I found an old thread (https://meep-discuss.ab-initio.mit.narkive.com/tF1Ku4ca/anisotropy-in-meep#post2) which gave hints on how to do this with opened questions which I am interested in knowing the answers to: "The easy part was on the libctl side; in the specifications file I If you want an anisotropic material, you can set epsilon to 1 and set (define-class dielectric material-type Resulting in this behavior: meep> (define a (make dielectric (epsilon 3))) On the C side, things get trickier, and I'm a bit lost. There are
public: virtual ~simple_material_function() {} virtual double eps(const vec &r) { return f(r); } I think when using the c++ interface, you define these functions yourself, like this: double eps(const vec &p) { But how do these functions get informed or populated when running meep
|
Beta Was this translation helpful? Give feedback.
-
Physically, you can't just put in a frequency-independent non-symmetric ε tensor into a time-domain simulation, because such a material would not be passive (it would lead to diverging fields). It's for the same reason that you can't just enter a negative ε. Such materials really have to be frequency dependent, which means that they need to correspond in time domain to some sort of model, like the ones implemented in Meep. |
Beta Was this translation helpful? Give feedback.
-
Good morning,
I was looking at the Gyrotropic media tutorial (https://meep.readthedocs.io/en/latest/Python_Tutorials/Gyrotropic_Media/ )
and I would like to know if the parameters chosen for the gyrotropic Lorentzian medium (epsn = 1.5 # background permittivity
f0 = 1.0 # natural frequency, gamma = 1e-6 # damping rate, sn = 0.1 # sigma parameter, b0 = 0.15 ) correspond to a real medium or if they have been chosen randomly?
There is no reference to a specific material and I am trying to understand how to put real life materials in the simulation which are often given in terms of Verdet constants, external magnetic field in Tesla... I find it difficult to make the connection with what Meeps does.
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions