[Solved] Python script for emailing ABAQUS status
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]abaqus_run_then_email.py[/FONT].
As an example, type the following at the command prompt:
[FONT=Courier New]abaqus_run_then_email.py double job=file.inp[/FONT]
The [FONT=Courier New]abaqus_run_then_email.py[/FONT] file needs to be updated (as described in the file) with your email server information.
- Jorgen
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
Martin
- How to model viscous fluid in ABAQUS7 months ago
- UANISOHYPER_INV and SIGINI working together8 months ago
- Wave properties in dynamic structural analysis12 months ago
- Non homogenous strain in uniaxial Testcase in ABAQUS12 months ago
- Abaqus error running VUMAT - ...package.exe aborted with system error code 10737415111 year ago
- 21 Forums
- 3,869 Topics
- 13.2 K Posts
- 20 Online
- 29.4 K Members