Home Forums FDTD Defining Polynomial Waveguide as z(x)

Viewing 1 reply thread
  • Author
    Posts
    • #12682
      thoekman
      Participant

      Thanks for taking the time to read my question! I’m working on a curved waveguide simulation and was wondering if the polynomial waveguide is limited to being a function of z (meaning x(z)), or if it is possible to switch it to z(x). This would allow me to produce the shapes I need!

      Otherwise are there no parametric descriptions of waveguide path lines? How do you define the shape of a waveguide using VBscript?

      I’m using the free download of the OptiWave FDTD software.

      Thank you in advance.

    • #12847
      Aurelien Duval
      Participant

      Hi,

      Here is an example of a pattern generate by VB script. This one is a bit complex as it relies on subroutines to generate the patterns, but you can reuse parts of it to suit your needs.

      The idea is simply to create 3D blocks of small size (more or less the size of your FDTD grid) at regular intervals along the dimensions you need. This will create a “staircased” approximation of your design and will be usable in FDTD.

      Aurelien

      Attachments:
Viewing 1 reply thread
  • You must be logged in to reply to this topic.