DOE and Optimisation

Hello,
I'm trying to run an optimisation within a DOE under Hyperstudy/Hypermesh. Initially I've tried running the optimisation inside the DOE tool under Hypermesh but that was giving me way too many runs (I believe it was creating a run for each iteration of my variable, which was not exactly what I wanted)
I ran an optimisation deck inside the DOE, so I ended up with _des.h3d files and design variables values inside the .out file. However, they are not what Hyperstudy expects when it's looking at .h3d files or .out files, so I'm having a hard time extracting the values I need from the optimisations. Is there a way to extract different things from my DOE files ?
I'm trying to extract these values:
Design Volume Fraction = 9.18989E-02 Mass = 1.29506E-02
100 2 3.655488E+01 5.275339E+04 5.275339E+04 1.000000E+00
5 EQATN comb 100 -- -- 2.823E+00 MAX
So I'm looking for 3 things to extract, all from the .out file. Do I need to create a custom script or is there something already implemented ?
Thank you.
Answers
-
mass could be directly extracted from the .out file.
The others might be trickier.
You could try using the 'ASCII extract' option on data source extraction. With this you define some keyword to be found into the .out file and from there you could try to extract data.
Or maybe it would be easier to create a custom python script in order to extract the desired data.
0 -
Hi @ChrisV,
Regardless of whether one uses Design Explorer or HyperStudy, if a .fem file with an optimization setup is being executed in a DOE study, it will perform an optimization in each of the DOE runs. As Design Explorer is based on HyperStudy which is being executed in the background.
If the quantities/values to be extracted are not there in the .out file & are present in some other file format which cannot be read by HyperStudy, then one has to use an 'Operator Model' in HyperStudy as the second model which will be leveraging a Compose, Python, TCL etc. script to extract the required quantities/values from a specific file format & then exporting the results in a .txt file for HyperStudy to read it using the 'File Assistant' option.
We do not have any scripts for such use-case as it is not a common use-case.
Hence,
Firstly check the file & file format from where the required quantities/values needs to be extracted.
Secondly, if the file containing the results is ASCII-based then HyperStudy can read the required quantities/values similar to the process of reading values (mass, volume etc.) from a .out file.
If the file containing the results is not ASCII-based then 'Operator Model' approach with a Compose, Python, TCL etc. script approach will be required.
Hope that the recommendations provided will be useful.
Many thanks.
Kind Regards
Garima Singh
0