pyANSYS Installation procedure for Linux environment
We are using Ansys mechanical and fluent of version 2022R2 in HPC linux machine
Do we have pyANSYS incorporated with the above package or do we need to install separately?
If we need to install separately, could you please share the procedure to install in linux machine.
We could only find for Windows (https://dpf.docs.pyansys.com/version/stable/getting_started/index.html)
Also please share pre-requisites launch job in pyANSYS.
Thanks.
Answers
-
Hi @Siva-Kumar SEKAR , PyAnsys works in client-server mode (for most of the packages). The server is shipped with the standard installation, but you will have to install the client part (ie the one you install from pip install, see https://dpf.docs.pyansys.com/version/stable/getting_started/install.html).
0 -
Hello Pernelle
Thank you for the installation procedure.
We have installed pyANSYS in our linux environment.Could you please share pyANSYS sample commands to launch a simulation job?
Thanks.
0 -
Hi @Siva-Kumar SEKAR , each documentation of each PyAnsys package shows how to do that. Note - before you referenced a link to the PyDPF documentation. PyDPF does not _simulate _anything, it extracts data from files (usually, result files) and enables manipulating and plotting this data.
0 -
Hello @Pernelle Marone-Hitz ,
Thank you for your feedback.
Can you share the license requirement for pyANSYS?
Thanks
0 -
Hi @Siva-Kumar SEKAR , PyAnsys itself does not consume a license. The Ansys products that you call through PyAnsys will. For PyDPF, the license consumption will depend on whether you're using Entry or Premium operator. This is explained in the PyDPF documentation.
0 -
Please I have a question about using pyansys on Linux HPC
from the cheat sheet for pymechanical, I can use the code below to find where AnsysWBU.exe is located on Windows computer;
from ansys.mechanical.core import find_mechanical
wb_exe = find_mechanical(241)[0]
'Ansys Inc\v241\aisol\bin\winx64\AnsysWBU.exe'
On Linux I have tried to do same code:
from ansys.mechanical.core import find_mechanical
wb_exe = find_mechanical(232)[0]
but it returns an empty string:
I have checked the folder
/Ansys Inc/v232/aisol/bin/linx64/*
but I did not fine the AnsysWBU.exe
My question then is, is there a different way to find the .exe file or is this file different for Linux?
Thank you in advance
0 -
@CollinsJnr Please create a new post for this as the topics are different. Thank you
0