April 20, 2022 at 7:32 pmschinta3Subscriber
This may be a basic question. Is there a simple way to automatically save the data of all monitors after a simulation finishes?
I know this is possible through scripting to run through the simulation and get all monitor data, or put it into the model>analysis group., but is there a way to make this automatic during a sweep? I.e. auto-save every file to matlab?April 26, 2022 at 8:00 pmTaylor RobertsonAnsys EmployeeI think the best way to do this would be to add a script to the ::model analysis tab that collects and save the results you want. If you then create any result here, and make this a result that the sweep collects; then after the sweep simulations have finished it will trigger the analysis script to run, which will save the monitor results to a .mat file
April 26, 2022 at 8:10 pmschinta3SubscriberI see, so this is not possible without the GUI? I.e. if I run the sweep manually by 'saving to files' on a cluster and running them individually?
April 26, 2022 at 11:25 pmTaylor RobertsonAnsys EmployeeOf course you can save to files and then submit these as batch jobs on the cluster but you would still need the GUI to save the results, and possibly even generate results if they are from a structure group for example. What I would recommend is saving to files, and then submitting the jobs to cluster. Once the simulations have run then you could load from files. If you include the model analysis after you loaded from files then the results would be saved as a set of .mat files.
April 30, 2022 at 12:29 amschinta3SubscriberHello
One more question. I am using the fdtd-solutions command line option with Xwindows forwarding on an HPC node. However, the window closes and the .lsf script stops running after ~6min. The error is attached. No output file for the error/exit code from FDTD is given. Is this from an error thrown in Lumerical
or the cluster set up.
May 2, 2022 at 9:19 pmTaylor RobertsonAnsys Employee
I've never seen that error before, but it seems like it is related X server node? Running an lsf file requires the CAD, which is graphics application. I would check with your IT department that you can launch a graphics instance on these compute nodes. It is usually trivial to launch engine jobs on these nodes, but there are issues with running lsf without display capabillities. Maybe you could run the lsf locally and submit the jobs to the HPC using the job manager.
Viewing 5 reply threads
Ansys Innovation Space
- The topic ‘Autosaving’ is closed to new replies.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Why my simulation result is different from published paper or experiment?
- Ansys Insight: Transmission results greater than one
- Ganhemt Project mistake can you help me
- How to calculate the cross-polarization efficiency and phase in FDTD
- save data error
- Simulation of a single pillar of a peltier cooler
- EME : field profile and cell periodicity
- Ansys Insight: Single frequency CW source
- What is the meaning of this error ” Bad termination of…” ?
Top Rated Tags
© 2023 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.