|
[Sponsors] |
February 11, 2020, 10:27 |
ANSYS Mechanical automatic shutdown
|
#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. |
|
February 12, 2020, 09:55 |
|
#2 |
Senior Member
Gwenael H.
Join Date: Mar 2011
Location: Switzerland
Posts: 392
Rep Power: 20 |
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. |
|
February 19, 2020, 08:36 |
|
#3 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
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 |
|
|
Similar Threads | ||||
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 19:46 |
Ansys outputs obviously wrong result on a simple static mechanical problem, why? | cli21 | Structural Mechanics | 6 | March 23, 2017 14:40 |
Ansys Mechanical 12-15 | Sam Khan | Structural Mechanics | 0 | May 12, 2016 23:30 |
ANSYS CFX an automatic geometry modelling | Nurzhan | CFX | 4 | December 3, 2014 23:29 |
Simple fluid simulations in Ansys Mechanical. | lamboram | ANSYS | 0 | June 15, 2014 03:54 |