Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

Running journal/python file form the command line – ANSYS CFX

    • Jett22
      Subscriber

      Hi everyone,

      I am trying to start a python script in ANSYS Workbench from Windows Command Prompt. This script has python commands which has an automation scheme in it. I am having slight issues with how to do this. Once in Workbench I do: File-->Scripting-->Run Script File...-->(change the file type to python)-->(then select my automation python script) 

      So far I am entering this into cmd: “C:\Program Files\ANSYS Inc\v231\Framework\bin\Win64\RunWB2.exe” -r "C:\Users\jett\Desktop\ANSYStest1\BasicV2\WorkingProject.py"

      I am getting a fatal error. Can someone please explain how to do this?

      Thanks in advance

    • Federico Alzamora Previtali
      Ansys Employee

      Hello,

      what is the error that you are getting? 

      You can find more information on Scripting in Workbench here: Scripting Overview (ansys.com)

Viewing 1 reply thread
  • You must be logged in to reply to this topic.