|
[Sponsors] |
May 26, 2024, 04:49 |
Automate Ansys Workbench
|
#1 |
New Member
Lucas
Join Date: May 2024
Posts: 2
Rep Power: 0 |
Hello,
i have some problems to automate Ansys. I am completly new to Ansys by the way. My task is to simulate a large number of centrifugal compressors. For that i have a Matlab tool, that generates me the needed .inf files for Turbogrid. Afer that i want CFX to calculate the efficiency. Now i need to automate Ansys to make the same steps for all the generated .inf files. The best way i found so far, is to create a session file in the Workbench and record my steps. Is there a better way than this? And is it possible to control this from Python? Any help is appreciated. |
|
May 26, 2024, 05:50 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Make sure you are talking about the correct software names.
ANSYS Workbench = Tool used to control all ANSYS products (from FEA to CFD, electro magnetics and everything else) CFX Pre = pre processor for CFX. CFX Pre can use session files, workbench cannot. Are you actually using CFX-Pre?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 29, 2024, 07:17 |
|
#3 |
New Member
Lucas
Join Date: May 2024
Posts: 2
Rep Power: 0 |
Thank you for answering.
I got that term wrong, i recorded a journal in the workbench, where i set up a trubogrid and a cfx instance. That works atleast if i use the same .inf file again, didnt testet what happens when i open another .inf file with the same journal. As far as i know i can adjust the journal file in text editor after recording it. Is there a list of commands i can use, for example to change a setting in CFX-Pre without recording the whole journal again? Couldnt find anything like that in the Ansys help documents. My method now would be, that, after the first iteration, i open this journal file with python and change the path to my next .inf file in it and start the journal again. I just dont know if that is the easiest way, or if i just dont know about a feature that would help me. |
|
May 29, 2024, 07:26 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
I use workbench as little as possible. I use the CFX tools stand alone almost always as you have much more control over what is going on, and it crashes less.
If you are using turbogrid, CFX-Pre and the CFX-Solver then I would automate that myself using a batch file (if you are windows) or the equivalent in LINUX. All these tools can be called from the command line, and controlled using session files, CCL and other methods.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
Tags |
ansys, automation, cfx, worbench |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys Installation on Docker Container | mohsen.shiea | ANSYS | 11 | March 14, 2024 12:18 |
Run Ansys Journal Files in an opened Workbench from an external Python Script | LStar | ANSYS | 2 | March 27, 2023 03:42 |
Possibility to use Ansys workbench for coupling Fluent and Maxwell in Two computers | vanhoivanbinh | ANSYS | 6 | December 15, 2022 07:37 |
polarization of permanent magnets in cylindrical coordinate system in ansys workbench | J.sepaseh | Electromagnetics | 0 | December 19, 2019 14:34 |
Pro/E to ANSYS Parameterization Guide | Trues | ANSYS | 4 | April 18, 2018 06:52 |