Home Forums FDTD Vb script to define dielectric material

Vb script to define dielectric material

Profile Photo
(joined July 2014)
Participant

Hi,
Is it possible to define dielectric material using VB script in OPTI-FDTD?

Thank you for your help and time.

Anish

Responses (1):

    • #12896
      Profile Photo
      Anish Lamichhane
      Participant

      Hi,
      Is it possible to define dielectric material using VB script in OPTI-FDTD?

      Thank you for your help and time.

      Anish

    • #12942
      Profile Photo
      Aurelien Duval
      Participant

      Hi,

      Right now you can set a waveguide or 3D a object’s material properties to a specific material using VB script, but the materials and profiles have to be created by hand in the profiles and materials editor.

      For the next OptiFDTD release (12.1, latter this summer), we implemented a workaround:

      materials and profiles will be described as XML files and you will be able to import them in the profiles and materials designer. It means that if you need a very large number of materials, you can create a script that will generate these materials.
      You can them import them in the project and use them in VB script.

      It’s not yet perfect, but that should help you hopefully 🙂

      Aurelien

Login You must be logged in to reply to this topic.