CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Python compatibility with CFx (https://www.cfd-online.com/Forums/cfx/222711-python-compatibility-cfx.html)

jmex December 5, 2019 06:05

Python compatibility with CFx
 
Hello experts,


I have basic understanding of python 3.x version. I am looking for re-meshing technique for my problem. Is python 3.x version compatible to program? Or should i work with 2.x version.

Little confused here to start my work on the version of file.
Kindly suggest,
Thanks,

ghorrocks December 5, 2019 15:45

CFX and ANSYS does not support python. At least not directly - CFX can be driven by the command line and you can send command line commands through python if you like. Alternately, I frequently use python to generate a batch, script or session text file to run CFX. But that is about all you can do.

jmex December 5, 2019 21:09

Okay thanks for your reply ghorrocks. I believe python version doesn't matter then, as python will execute changes in the file outside cfx and then cfx will run the file as per changes made.

jmex January 2, 2020 02:28

i have been trying with python but facing issue in cfx solver.
The error that i am facing is



Quote:

Meshmod: Call to user defined mesh modifications failed. exited with return code 2.

what does this mean?

ghorrocks January 2, 2020 04:56

No idea. Giving us some context of what you are doing might help.


All times are GMT -4. The time now is 11:36.