CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS (https://www.cfd-online.com/Forums/ansys/)
-   -   Set # processors ANSYS Mechanical using IronPython (https://www.cfd-online.com/Forums/ansys/180883-set-processors-ansys-mechanical-using-ironpython.html)

Warlord December 2, 2016 09:03

Set # processors ANSYS Mechanical using IronPython
 
Hello folks,

I am using Workbench's IronPython interface (Ansys 16.2). Does anyone know how to set the number processors ANSYS Mechanical using IronPython?

I can do the analogous with the FLUENT, but I haven't found a way for Mechanical. For FLUENT I use something like:

Code:

GetSystem(Name="Fluent").GetContainer(ComponentName="Setup").GetFluentLauncherSettings().NumberOfProcessors = 64

Warlord January 25, 2017 08:55

I gave up using Ironpython and decided to run the case only using bash. I have created another thread to explain how I did this.


All times are GMT -4. The time now is 04:16.