Batch tool for exporting ANSYS CDB + RST results into AVZ visualization format using ANSYS Mechanical automation.
This tool automates the workflow:
ANSYS DB → CDB → Mechanical → AVZ → AVZM (optional)
It is designed for batch processing of multiple simulation jobs and supports flexible configuration via CLI.
- Batch processing of multiple jobs
- Automatic CDB generation from DB
- Auto-detection of unit system from
/UNITS - RST time-step probing via ANSYS DPF
- Flexible time selection:
LAST,INDEX:n,VALUE:t - Predefined and custom result sets (Total Deformation, Equivalent Stress, Strains)
- Optional AVZM bundle creation
- Fully CLI-driven workflow
Python (CPython)
↓ Generates IronPython script
ANSYS Workbench (RunWB2)
↓ Mechanical execution
AVZ export
.
├── export_avz_from_rst.py # Main CLI tool
├── mech_export_avz.ipy # Mechanical (IronPython) template
├── ExportToAVZ.bat # Quick launch script (Windows)
├── out_list.txt # Example job list
├── .gitignore
└── README.md
- Windows
- ANSYS Workbench / Mechanical
- ANSYS MAPDL
- ANSYS DPF (
ansys.dpf.core) - Environment variable:
ANSYS###_DIR
python export_avz_from_rst.py ^
--base D:\ANSYS_jobs ^
--list out_list.txt ^
--version 241 ^
--units-out BIN ^
--time LAST| Format | Description |
|---|---|
LAST |
Last available step |
INDEX:5 |
Step by index |
VALUE:0.25 |
Closest time value |
0.25 |
Same as VALUE:0.25 |
--results-preset custom ^
--results-list "Total Deformation,Equivalent Stress"ExportToAVZ.bat.avzfiles — one per result.avzmbundle — optional zip archive*_export_status.json— status report per job
mech_export_avz.ipyis required for execution inside Mechanical- The tool does not include ANSYS data files
- Designed for engineering automation workflows
- Compatible with legacy (pre-PyAnsys) workflows (Ansys 2022)
Maxim Liplenko
TBD