tidy3d icon indicating copy to clipboard operation
tidy3d copied to clipboard

Automatic setup of path integrals

Open dmarek-flex opened this issue 1 year ago • 3 comments

As simulations become more complex, setting up the path integrals for each port will become tedious! We should implement a method that automatically creates path integrals from very simple user input. For example, defining a port should only require the user to specify a port plane along with the structures representing the positive terminal and the negative terminal (ground reference). Then, using the geometry of the chosen structures we should be able to automatically define both integrals needed for computing voltage and current.

dmarek-flex avatar Jun 03 '24 13:06 dmarek-flex

The contour integrals needed by current computations can also be improved. Ideally we want the path around the conductor to be as close as possible to the surface. This will require access to the Yee grid and possibly depend on the conformal mesh strategy used. @weiliangjin2021 I am curious if the magnetic field of a Yee cell that has been modified by conformal meshing could still be used for these computations, or would a buffer cell be needed?

dmarek-flex avatar Jun 03 '24 13:06 dmarek-flex

I am curious if the magnetic field of a Yee cell that has been modified by conformal meshing could still be used for these computations, or would a buffer cell be needed?

For those cells, its permeability is also affected (no longer 1). In that regard, best to avoid crossing material interfaces?

weiliangjin2021 avatar Jun 03 '24 16:06 weiliangjin2021

Ok, so we need the closest cells that do not intersect with the surfaces of material interfaces.

dmarek-flex avatar Jun 03 '24 17:06 dmarek-flex

@dmarek-flex updates on this? was it solved by #1904 ?

tylerflex avatar Dec 06 '24 20:12 tylerflex

No, not resolved yet

dmarek-flex avatar Dec 06 '24 21:12 dmarek-flex