-
-
December 2, 2021 at 10:59 pmiqnloSubscriber
Hi there
I'm doing parameters sweep with an EME solver and I want to save the mode profile of each loop. May I ask which command shall I use if I want to save the mode profile of cell(3) of the EME result? I want to save the jpg format pictures. Thank you so much!
December 3, 2021 at 10:58 pmKyleAnsys Employee
The videos on these pages (from our online scripting course) describe how to get results from simulations and plot them:
https://support.lumerical.com/hc/en-us/articles/360045464713
https://support.lumerical.com/hc/en-us/articles/360045464653
The mode fields can be obtained with this command:
getresult("EME::Cells::cell_3", "mode fields");
Are you using the parameter sweep utility? I think you should be able to save the images in each iteration if you put the commands in the model analysis script, which will run automatically at each iteration of the sweep:
Otherwise, the files from each iteration are saved in a subfolder. You could write a script file that opens each file with the load command and then saves the images.
December 5, 2021 at 4:15 pmiqnloSubscriberThis works! Thanks a lot!!!
Viewing 2 reply threads- The topic ‘Save mode profile by command’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- 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
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
- Absorption cross-section of AuNR excited by prism-based TIR
Top Contributors-
1341
-
594
-
591
-
530
-
366
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.