create_lsdyna_analysis
Add a new LS-DYNA analysis or restart analysis to an Ansys Mechanical model via the scripting API, enabling automated setup of solver systems.
Instructions
Add an LS-DYNA analysis (restart=True: an LS-DYNA Restart analysis) to the Mechanical model via Model.AddLSDynaAnalysis / AddLSDynaRestartAnalysis. The Workbench system itself has template ids LSDYNA and RestartLSDYNA (see create_lsdyna_system_snippet). The new analysis is detected as LS-DYNA. It cannot be deleted through the scripting API (null-reference error), so remove it in the GUI if unwanted. Args: restart
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |