extract_kpis
Extract key performance indicators from Abaqus ODB files by defining queries for field outputs, aggregations, and regions. Get a structured Markdown KPI report for simulation results.
Instructions
Extract KPIs from an ODB file using declarative queries.
queries is a JSON array of query objects, each with:
query_id (str): unique identifier for this KPI
field (str): field output name, e.g. "S", "U", "RF", "PEEQ", "NT"
component (str, optional): e.g. "Mises", "U1", "S11", "RF2"
invariant (str, optional): e.g. "Mises", "MaxPrincipal", "Tresca"
step (str, optional): step name, default first step
frame (str, optional): "last", "first", or frame index, default "last"
aggregation (str, optional): max, min, sum, avg, range, abs_max, default "max"
region (str, optional): node/element set name, default ALL
Example queries JSON: [ {"query_id": "max_stress", "field": "S", "invariant": "Mises", "aggregation": "max"}, {"query_id": "max_disp", "field": "U", "component": "Magnitude", "aggregation": "max"}, {"query_id": "rf_sum", "field": "RF", "component": "RF2", "aggregation": "sum", "region": "FIXED_END"} ]
Returns a structured Markdown KPI report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queries | Yes | ||
| timeout | No | ||
| odb_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |