CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Python compatibility with CFx

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2019, 07:05
Default Python compatibility with CFx
  #1
Member
 
Jigs
Join Date: Sep 2017
Location: Pune
Posts: 42
Rep Power: 9
jmex is on a distinguished road
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,
jmex is offline   Reply With Quote

Old   December 5, 2019, 16:45
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 5, 2019, 22:09
Default
  #3
Member
 
Jigs
Join Date: Sep 2017
Location: Pune
Posts: 42
Rep Power: 9
jmex is on a distinguished road
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 is offline   Reply With Quote

Old   January 2, 2020, 03:28
Default
  #4
Member
 
Jigs
Join Date: Sep 2017
Location: Pune
Posts: 42
Rep Power: 9
jmex is on a distinguished road
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?
jmex is offline   Reply With Quote

Old   January 2, 2020, 05:56
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
No idea. Giving us some context of what you are doing might help.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
cfx, compatibility, python


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
CFX Treatment of Laminar and Turbulent Flows Jade M CFX 18 September 15, 2022 08:08
[OpenFOAM] paraview v4 - building with python - OF2.3.0, PVv4, Python 2.7 aylalisa ParaView 4 June 13, 2014 09:52
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 14:22
PhD using CFX Rui CFX 9 May 28, 2007 06:59
FSI using CFX and ANSYS Bi Chang CFX 2 May 10, 2005 05:47


All times are GMT -4. The time now is 13:19.