(Solved) Bulk time history data from HyperStudy for use in HyperGraph
Hi,
Is there a simple method of obtaining all of the time history data from multiple runs from a DOE in HyperStudy so that it can be easily plotted in HyperGraph? I understand it is possible to select multiple time history files in HyperGraph and that you can plot data curves simultaneously that way, but when there are a lot of runs this process becomes tedious as each time history file is in its own sub-folder in its own run folder. Just wondering if it's possible to - or if anyone has found a method of - dealing with a large number of time history files and manipulating/plotting them in HyperGraph without needing to go into each run folder individually while selecting multiple files.
Thanks in advance for your time and help.
Answers
-
Hi,
I was able to find a method that works well enough: after opening the "multiple file plotting" window in HyperGraph, select the file directory that contains all of the run folders (e.g. .../approaches/doe_1 as in the attached photo). It is then possible to use the File-Filter by typing in the exact file name of the time history file and hitting 'enter' (I found I couldn't simply search with "T01" but had to use the full file name. Thankfully, all time history files are the same name). All of the time history files should appear (it will show the path as well, so you know which run each file is associated with).
It did take quite a while to load all of the files and froze a couple of times, but eventually, all of the files ended up in the 'selected file set'.
0 -
Autumn said:
Hi,
I was able to find a method that works well enough: after opening the "multiple file plotting" window in HyperGraph, select the file directory that contains all of the run folders (e.g. .../approaches/doe_1 as in the attached photo). It is then possible to use the File-Filter by typing in the exact file name of the time history file and hitting 'enter' (I found I couldn't simply search with "T01" but had to use the full file name. Thankfully, all time history files are the same name). All of the time history files should appear (it will show the path as well, so you know which run each file is associated with).
It did take quite a while to load all of the files and froze a couple of times, but eventually, all of the files ended up in the 'selected file set'.
Hello,
Thanks for sharing the tip you found. I confirm this is the easiest way to get multiplot in HG session. Another way would be to register a User Utility in HyperStudy, but it would require a script creation.
Regards,
0 -
Hello Automn,
The multiple File loading is one of the the 2 recommended approaches to plot several files in HyperGraph from a HyperStudy structure.
In order to quickly differentiate your different DOE runs, you may use the Use Prefix/Suffix option, and Set Directory Level2. This should add the name of each run as prefix or suffix of each curve.
The Multiple File Loading is the best way if you just need to plot some curves without having to apply operations on your curves.
Now, if you need to realize some operations on your curves in HyperGraph, you may use the Report Template/Flexible Reports (Flexible Reports is the new name of Reprtor Template in 2021) in HyperGraph instead:
1) import one of your result in HyperGraph
2) Plot the Desired Plots, create your derived curves
Steps 3 and 4 below are optional. You can use them if you want to label each curve with the name of the DOE run
3) Open the Parameter Browser from tp menu View -> Browsers -> HyperWorks -> Parameter
4) Expand the entities in the folder, select all curves, pick Name and enter a first name
5) Save your Template Report/Flexible Report
6) Load your template file, and change your source file. if you used Step 3 and 4, you will also be able to change curve names. Use the Overlay mode to plot the curves in the same window
Best Regards,
Michael
0 -
Michael Herve_21439 said:
Hello Automn,
The multiple File loading is one of the the 2 recommended approaches to plot several files in HyperGraph from a HyperStudy structure.
In order to quickly differentiate your different DOE runs, you may use the Use Prefix/Suffix option, and Set Directory Level2. This should add the name of each run as prefix or suffix of each curve.
The Multiple File Loading is the best way if you just need to plot some curves without having to apply operations on your curves.
Now, if you need to realize some operations on your curves in HyperGraph, you may use the Report Template/Flexible Reports (Flexible Reports is the new name of Reprtor Template in 2021) in HyperGraph instead:
1) import one of your result in HyperGraph
2) Plot the Desired Plots, create your derived curves
Steps 3 and 4 below are optional. You can use them if you want to label each curve with the name of the DOE run
3) Open the Parameter Browser from tp menu View -> Browsers -> HyperWorks -> Parameter
4) Expand the entities in the folder, select all curves, pick Name and enter a first name
5) Save your Template Report/Flexible Report
6) Load your template file, and change your source file. if you used Step 3 and 4, you will also be able to change curve names. Use the Overlay mode to plot the curves in the same window
Best Regards,
Michael
These tips are really useful!
Thank you for this additional information!
0