March 12, 2021 at 8:02 pmShin-Sung KimAnsys Employee
If you have a large number of simulations that contain certain results, you might want to use a script to open each simulation file and save the results into a file of one of the supported formats (See the File formats tab).
The example script below shows how to extract broadband transmission results from multiple files and save them into a *.txt file that is very versatile and can be imported by many 3rd party tools.
Note that the data is first saved into a matrix, that is easier to manipulate. After the data is collected from all simulation files, the matrix is saved into a *.txt file where each column represents Transmission results from one simulation file. The very first column then represents the frequency/x axis data and it assumes that the dimension of all datasets is identical.Viewing 0 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
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
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error on Lumerical device
- Using a license file on a new license server
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: Diverging Simulations
- Ansys Insight: Transmission results greater than one
- Ansys Insight: About override mesh in FDTD: its use and settings
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- Ansys Insight: Convergence issues in CHARGE
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.