TAGGED: RCWA
-
-
August 14, 2024 at 12:39 pmChangjin SonSubscriber
Hi, I'm using RCWA to simulate my periodic structure.
I use the 'RCWA field monitor' in the simulation to see the field distribution inside my structure.
For multiple data sets, I would like to use Python script but I couldn't find any commands for the 'RCWA field monitor'.
How can I add the monitor in the Python script?
-
August 15, 2024 at 7:40 pmAmrita PatiAnsys Employee
Hi Changjin,Â
My understanding is that the script command for adding an RCWA monitor has not been documented yet. I will check with the team and try to publish it soon. But you can use the addrcwafieldmonitor() function for adding the monitor, next you can use set() function to set the monitor properties, and then you can use the getresult() function to extract the relevant datasets as you would do in an FDTD simulation.Â
For example, you may use something like for adding the RCWA monitor:
rcwa = lumapi.FDTD(filename="my_RCWA_file.fsp")#If there is an existing simulation file, pass it as an argument
rcwa.addrcwa()
rcwa.addrcwafieldmonitor()Please feel free to let me know if you come across any difficulties.
Regards,
Amrita -
August 21, 2024 at 2:22 pmChangjin SonSubscriber
Hi Amrita,
Thank you a lot! It works well.
Best regards,
Changjin Son
-
- You must be logged in to reply to this topic.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
-
1416
-
599
-
591
-
565
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.