Re: [Meep-discuss] Coordinate transform and nonlinear materials

2020-12-16 Thread Nikolaos Matthaiakakis
Thank you very much for the reply. I will try to implement it this way and will 
provide updates if successful.


Sent: 15 December 2020 23:43

Subject: Re: [Meep-discuss] Coordinate transform and nonlinear materials

You have to modify the math to handle nonlinear materials in transformation 
optics; there was a recent paper on this:

https://www.nature.com/articles/s41598-018-22215-x



___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Coordinate transform and nonlinear materials

2020-12-15 Thread Steven G. Johnson
You have to modify the math to handle nonlinear materials in transformation 
optics; there was a recent paper on this:

https://www.nature.com/articles/s41598-018-22215-x 



___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Coordinate transform and nonlinear materials

2020-12-15 Thread Nikolaos Matthaiakakis
Thank you for the reply, I see that in the code now. So it would not work with 
simple diagonal chi3 tensors? I am pretty new to nonlinear optics (and meep to 
be honest). Wouldn’t it be ok with the non-diagonal values as zero?

I guess that means that I cannot use the coordinate transform when trying to 
simulate 3rd harmonic generation in graphene for example.

This is going to make things a bit challenging.

From: Andrew Stone<mailto:andrewston...@gmail.com>
Sent: 15 December 2020 21:39
To: Nikolaos Matthaiakakis<mailto:nikolao...@outlook.com>
Cc: meep-discuss@ab-initio.mit.edu<mailto:meep-discuss@ab-initio.mit.edu>
Subject: Re: [Meep-discuss] Coordinate transform and nonlinear materials

No. Using the transform function would transform all other properties of the 
material, but leave the nonlinearities unchanged. While I do not have 
experience, an examination of the code 
(https://github.com/NanoComp/meep/blob/8ac118ae57161a365bec36acdab776048030a089/python/geom.py#L443)
 shows that the "transform" function operates only on Susceptibilities, 
permittivities, permeabilities, and conductivities, consistent with the 
documentation. Fully implementing the "transform" function for nonlinear 
materials is also not possible at present since only diagonal chi tensors are 
supported.

On Tue, Dec 15, 2020 at 9:56 AM Nikolaos Matthaiakakis 
mailto:nikolao...@outlook.com>> wrote:
Dear all,

I was wondering if anyone has experience with using the coordinate transform 
with nonlinear materials (materials with chi3 etc).

https://meep.readthedocs.io/en/latest/Python_User_Interface/#medium

https://meep.readthedocs.io/en/latest/Units_and_Nonlinearity/

Would the transform(self, m) function work in this case (for example for third 
harmonic generation)?

Thank you

Best wishes
Nikolaos

___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu<mailto:meep-discuss@ab-initio.mit.edu>
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Coordinate transform and nonlinear materials

2020-12-15 Thread Andrew Stone
No. Using the transform function would transform all other properties of
the material, but leave the nonlinearities unchanged. While I do not have
experience, an examination of the code (
https://github.com/NanoComp/meep/blob/8ac118ae57161a365bec36acdab776048030a089/python/geom.py#L443)
shows
that the "transform" function operates only on Susceptibilities,
permittivities, permeabilities, and conductivities, consistent with the
documentation. Fully implementing the "transform" function for nonlinear
materials is also not possible at present since only diagonal chi tensors
are supported.


On Tue, Dec 15, 2020 at 9:56 AM Nikolaos Matthaiakakis <
nikolao...@outlook.com> wrote:

> Dear all,
>
>
>
> I was wondering if anyone has experience with using the coordinate
> transform with nonlinear materials (materials with *chi3 *etc).
>
>
>
> https://meep.readthedocs.io/en/latest/Python_User_Interface/#medium
>
>
>
> https://meep.readthedocs.io/en/latest/Units_and_Nonlinearity/
>
>
>
> Would the transform(self, m) function work in this case (for example for
> third harmonic generation)?
>
>
>
> Thank you
>
>
>
> Best wishes
>
> Nikolaos
>
>
> ___
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss