Renaud,
In my experience parsing the OP2, I use the following key to store access superelements (and the general result):
(subcase_id, analysis_code, sort_method(), optimization_count, ogs_id, superelement_adaptivity_index, pval_step)
The flags I use and why are:
- analysis_code: a static result/preload with the same subcase id as a transient/frequency case (integer 1-10)
- sort_method: SORT1 and SORT2 flag (this happens when you have OUTPUT plots; integer 1/2)
- optimization_count: a counter for SOL200 optimization that's necessary as you may be optimizing on a curve fitted model (a subset of elements) to speed up optimization.(incremented when you find R1TABRG; integer)
- ogs_id : The OGS surface/volume flag, which is required if you have 2+ OGS results (from the OGS info table; integer)
- superelement_adaptivity_index: the name of the superelement or mesh adaptation step (comes from the subtitle; string)
-
pval_step : the name of the PVAL or STEP (comes from the subtitle; string)
There is an additional reduction step to compress the following key down into the subcase id if all the other flags are the same. It's not the ideal interface, but at least you can access it.
Do you by chance have a capabilities list for FeResPost? I probably need to make a complete list of capability for pyNastran. Maybe we can iterate on that so we both have one?
Steve