|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Feb 2020
Location: Switzerland
Posts: 2
Rep Power: 0 ![]() |
Hi everyone,
is there a way to automate the saving and shutdown of Ansys Mechanical/Workbench once the solver is done calculating (either successfully or not)? Most of the times I leave my simulations running for the entire afternoon/night or during the weekend and it would be nice to find a way to automatically shut Ansys down so to leave the license available to other colleagues again. I was looking for ACT scripts, macros, APDL commands but i didn't find anything. Any tip? Thanks in advance. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Gwenael H.
Join Date: Mar 2011
Location: Switzerland
Posts: 392
Rep Power: 19 ![]() |
Hello Lyra,
This is absolutely possible. There are different options that you could follow. I usually have a small python script listing the different WB project I want to solve, and a .bat file that start WB.exe and passing the "list of argument" from the .py file. Check the API / scripting documentation in the help as it may change between versions from Ansys. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,132
Rep Power: 22 ![]() |
Here is an easy way:
Write the solver input file to a working directory from workbench. Close workbench. Open APDL, and solve your input file in batch mode. |
|
![]() |
![]() |
![]() |
Tags |
ansys mechanical, automation |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys - Electrical power is greater than mechanical power in claw pole alternator | JohnZ34 | ANSYS | 0 | April 10, 2019 18:46 |
Ansys outputs obviously wrong result on a simple static mechanical problem, why? | cli21 | Structural Mechanics | 6 | March 23, 2017 13:40 |
Ansys Mechanical 12-15 | Sam Khan | Structural Mechanics | 0 | May 12, 2016 22:30 |
ANSYS CFX an automatic geometry modelling | Nurzhan | CFX | 4 | December 3, 2014 22:29 |
Simple fluid simulations in Ansys Mechanical. | lamboram | ANSYS | 0 | June 15, 2014 02:54 |