User login


You are here

add a python script to an input file

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.



thanks for your reply

how can I read the input file via python? do you mean to change the input file to python language? how?


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.

Thanks nskatim :)


Subscribe to Comments for "add a python script to an input file"

Recent comments

More comments


Subscribe to Syndicate