CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Structural Mechanics

ANSYS Mechanical automatic shutdown

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2020, 10:27
Default ANSYS Mechanical automatic shutdown
  #1
New Member
 
Join Date: Feb 2020
Location: Switzerland
Posts: 2
Rep Power: 0
Lyra is on a distinguished road
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.
Lyra is offline   Reply With Quote

Old   February 12, 2020, 09:55
Default
  #2
Senior Member
 
Gweher's Avatar
 
Gwenael H.
Join Date: Mar 2011
Location: Switzerland
Posts: 392
Rep Power: 20
Gweher will become famous soon enough
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.
Gweher is offline   Reply With Quote

Old   February 19, 2020, 08:36
Default
  #3
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
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.
evcelica is offline   Reply With Quote

Reply

Tags
ansys mechanical, automation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:38.