Photonics

Photonics

About loading files of type lsp

    • 2212296
      Subscriber

      Hi guys, I'm drawing a structure with more elements, the structure is divided into parts and loaded into the simulation environment one by one. However, I ran into a tricky problem. After I loaded the first part, when loading the second part, I found that the already loaded first part has been automatically deleted. The result is that only the last part of the structure appears in the simulation. This is too bad. Hope you can help me solve this problem.

    • 2212296
      Subscriber

       

    • 2212296
      Subscriber

      After the program run, only the structures loaded by 'afilm_3.fsp' exist, and 'afilm_1.fsp' and 'afilm_2.fsp' have been deleted. How can I keep afilm_1.fsp', 'afilm_2.fsp', and 'afilm_3.fsp' present at the same time?

    • Guilin Sun
      Ansys Employee

      You are right that one GUI can only hold one file. You want to simulate them sequntially, right? if so, please use

      addjob

      runjobs

      please refer

      https://optics.ansys.com/hc/en-us/articles/360034410714-addjob-Script-command

      https://optics.ansys.com/hc/en-us/articles/360034931373-runjobs-Script-command

      this way it will run all the loadded files provided you add them into the simulation queque.

       

      • 2212296
        Subscriber

        Hi, I took your suggestion. Yes, it works in some ways. This seems to emulate each individual fsp file, and there is no connection between them. However, my job is to do a simulation of a large structure. The structure was so big that I had to split it into several parts (several fsp files). I hope that after running several fsp files, they coexist and combine into this big structure.

      • 2212296
        Subscriber

        Also, I'm trying to write small structs into the 'object library' so that I can export small structs to compose a big struct. But that doesn't seem to be allowed.

        I don't know if my thoughts are clearly expressed. Hope to get your help. thank you very much.

      • 2212296
        Subscriber

        I'm very sorry to bother you again. Although I've been trying to figure this out these days. However, it didn't work. Hope you can give me some advice. Sincerely.

    • Guilin Sun
      Ansys Employee

      One large device in general can only be deviced into section along the propagation direction, eg, cascading. please refer this exmple: https://optics.ansys.com/hc/en-us/articles/360034383034-Using-monitor-data-to-define-the-spatial-field-profile-of-a-source-in-FDTD

      Doing so we assume there is no cavity effect by the two parts.

      One large device can only be simulated by distributed parallel simulation: https://optics.ansys.com/hc/en-us/articles/360026321353-Distributed-computing

      in one file.

      • 2212296
        Subscriber

        Thank you very much for your reply, your work is very meaningful.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.