Skip to main content

add a python script to an input file

Submitted by Sarah A. Eassa on

hi all

please I need to know if I can add a python script to an already written input file in abaqus ( for certain additions) , and how would i do that?

Thanks in advance :)

There is no thing like adding a (Python) script to an input file. But for your purpose, what you may need is to read the input file via Python script and perform the required changes to the same input file.

Please let us know what exactly you need to do if the above doesn't answer your query.

 

Regards

Wed, 08/19/2015 - 19:58 Permalink

You may read the input file as a regular text file and add/insert commands wherever necessary. OR

You may use the scripting functionality keywordBlock at the end of your python script to add stuff to the input file just created by the script.

Fri, 08/21/2015 - 02:35 Permalink