I've developed this tool that demonstrates how to use an Excel file to modify a model setup in Mechanical. It is available on the Ansys Github, on this link: https://github.com/ansys/ACE-demo-excel_template_for_mechanical_model_setup
This repository provides the code to a demo of using an Excel file to modify a model setup in Mechanical. Several features are exposed:
- Generic contact settings: The values defined in this tab will modify all contacts of specific type. Ie, all "bonded" contacts will receive the settings provided in line 2 of this Excel tab.
- Specific contact settings: Contacts which name contains the strings entered in column A of this tab receive the settings of this line.
- Analysis settings, step controls: This enables to provide number of steps and settings for each step.
- Analysis settings, other controls: This provides definition of analysis settings that are not step dependent.