Close this search box.
Clear all

[Solved] Python script for emailing ABAQUS status

2 Posts
2 Users
0 Reactions
Posts: 3998
Topic starter
Joined: 5 years ago

Sometimes I am running large simulations that take hours or even days to complete. In some of these cases I would like to be notified as soon as a the simulation finishes.

To make this possible I wrote a simple python script file that first starts ABAQUS, and then when the simulation finishes sends an email with the sta-file attached.

The script file can be used the same way as ABAQUS is used at the command prompt - simply replace [FONT=Courier New]abaqus[/FONT] with [FONT=Courier New][/FONT].

As an example, type the following at the command prompt:

[FONT=Courier New] double job=file.inp[/FONT]

The [FONT=Courier New][/FONT] file needs to be updated (as described in the file) with your email server information.

- Jorgen

1 Reply
Posts: 1
New Member
Joined: 8 years ago

Big thanks for sharing Jorgen,

this comes in realy handy to me as i just got access to upgraded hardware that i will operate remotely. 🙂

Besides it helps me to further upgrade my Python skill which really need some enhancement.

Best Regards


1 Reply