flexcompute / tidy3d

Fast electromagnetic solver (FDTD) at scale.
https://docs.flexcompute.com/projects/tidy3d/en/latest/
GNU Lesser General Public License v2.1
173 stars 40 forks source link

Example on optical force calculation #1441

Open tomflexcompute opened 6 months ago

tomflexcompute commented 6 months ago

Optical force calculation has been requested by two users and probably more users are interested in it. It seems to me that force calculation in FDTD from integrating Maxwell's stress tensor can be nontrivial in general, but should be doable for simpler geometries like a box.

tylerflex commented 6 months ago

Interesting, so this is basically an interaction between the intensity(r) and the permittivity?

By the way, in the future let's try to assign priority and size to all new issues.

image

I'll go ahead and assume it's medium for both but feel free to edit.

tomflexcompute commented 6 months ago

Interesting, so this is basically an interaction between the intensity(r) and the permittivity?

By the way, in the future let's try to assign priority and size to all new issues. image

I'll go ahead and assume it's medium for both but feel free to edit.

Essentially one can calculate the stress tensor can integrate it over the surfaces. Meep has an example here which is pretty nice.

And thanks for assigning the priority and size. I was wondering where to find the options...

tylerflex commented 6 months ago

And thanks for assigning the priority and size. I was wondering where to find the options...

No worries, it's actually not super easy to find :)