-1

I converted the *.jnl into *.py file. I want to run this *.py file from python without opening abaqus. How can this be done?

devinxxxd
  • 63
  • 2
  • 10

1 Answers1

0

Python scripts written to use the abaqus module must be run with the Python distributed with the Abaqus install. You can do that a number of ways, and the preferred way usually depends on what your script is doing. Usually, you'll want to run Abaqus/CAE in noGUI mode:

abaqus cae noGUI=script.py
brady
  • 2,227
  • 16
  • 18
  • Can the script file be run from python ? – devinxxxd Mar 25 '20 at 01:10
  • Yes, the above command runs the script with the Python installed with Abaqus. You cannot run scripts that use the `abaqus` module with a standard Python install. – brady Mar 25 '20 at 21:12