PDA

View Full Version : Running Abaqus script using DOS command or through Matlab



chethangouder
2010-06-21, 03:25
Dear Friends,

I am trying to run a abaqus script through matlab. I am using the DOS command abaqus script= scriptfile.py, but nothing is happening . Should i add a line in the script file to refer to the input file ?. If , so , what should it be .I am new to abaqus , please help

Thanks in advance

Best Regards

Jorgen
2010-06-21, 05:48
Are you sure you want to use a "script" file? If all you want to do is to run a single Abaqus simulation then it is better to use the command:

abaqus job=filename.inp

-Jorgen

chethangouder
2010-06-21, 07:17
Dear Sir,

I want to run a script file also

Thanks and Regards

Jorgen
2010-06-21, 18:57
Try the following:

abaqus python [script file name]

-Jorgen

akbarzadeh
2013-04-21, 02:14
Try the following:


-Jorgen
Hi, all.
I have problem in calling abaqus script from windows batch file or matlab either it's possible.
when I work by abaqus CAE vissualization module the python command restore in file with name "abaqus.rpy".
Then I close abaqus window and then open it. After that I change this file name to "abaqus.py" and by "file>run script" run it again.
I need to do this process several times without opening abaqus CAE. Is it possible call "abaqus.py" by batch file or from matlab.If you have any ideas, this would be very appreciated.

Thanks,

Akbarzadeh