Automatic Running of Abaqus Jobs Sequentially

Automatic Running of Abaqus multiple Jobs sequentially Banner

Sometimes you may need to run several analyses on your Abaqus model. Therefore, you may change some parameters and create different jobs. I mean, you need to run multiple Abaqus jobs. It could take a lot of time, and you may prefer to run all of the jobs when you are not using your computer, like during the night. In this article, we will present comprehensive and graphical step-by-step instructions through that. The computer will be turned on automatically even if it has been turned off. Follow this useful article to learn more about Abaqus jobs and creating an Abaqus batch file.

1. Generating .inp files

After changing any parameter of your model, create a job and then in Job Manager window, instead of selecting Submit, just press Write Input:

abaqus batch file

Repeat that for every job you defined.

Now, you can find as many .inp files in the Working Directory as jobs you defined before:

abaqus queue jobs

abaqus jobs ⭐⭐⭐Free Abaqus Course |10 hours Video  👩‍🎓+1000 Students   ♾️ Lifetime Access

✅ Module by Module Training                                  ✅ Standard/Explicit Analyses Tutorial

✅ Subroutines (UMAT) Training                    …           ✅ Python Scripting Lesson & Examples

…………………………                 …………………….. ……………………   …………………………….

2. Creating a customized batch file for Abaqus jobs

Then, we need to create a .txt file (for example, AutoJobRun.txt), enter some commands, and then save the file and change its ending to .bat. First, right click on any empty space and select New > New Text Document:

abaqus batch run

Now, Open the created file. You must enter a line like the following for each job:

call Abaqus job=job_name interactive

Where you replace job_name with your selected name for every job:

abaqus jobs

The phrase interactive is really important to run Abaqus jobs sequentially and after completing the former job.

Close the file and Save it. Now, we should change its extension to .bat. If you can not see the extension of the files (in Windows 8 and upper), just go to View tab > Options > Change folder and search options. Then, in the opened window, go to the View tab and uncheck the Hide extensions for known file types

Disabling Hide Extensions | Abaqus batch file

Now we have a file named AutoJobRun.bat.

This .bat ending file is called a batch file. A batch file is a script file in Microsoft Windows. It consists of a series of commands to be executed by Windows, stored in a plain text file. Here, you have created an Abaqus batch file.

3. Using Windows Task Scheduler to automate running Abaqus jobs

Find the Task Scheduler app in Windows and run it. On the left panel, choose Create Task…

Task Scheduler App

Then, in the appeared window, type a name for your task and a description if you wish. Also, select Run whether the user is logged in or not and tick Run with the highest privileges. You should select Windows 10 in Configure for: menu.

Create Task General Tab Setting / Abaqus batch file

Then, switch to the Triggers tab, select New, and choose the desired day and time to Start running jobs automatically:

Create Task Triggers Tab Setting | Abaqus jobs - Abaqus multiple jobs

Switch to the Actions tab, select New, and Browse for batch file we created before:

Create Task Actions Tab Setting | Abaqus jobs - Abaqus multiple jobs

And finally, switch to the Conditions tab and tick the Wake the computer to run this task option:

Create Task Condition Tab Setting

With this selection, even if the computer is shut down, it will wake at the selected time. However, I suggest to Hibernate your computer and plugging it in.

Press OK. If the program asks for your account Password, type it.
There is a more simple method to create the task. If you are sure that your computer will be turned on and you would logged in before the specified time, you can use that:

Q&A: How can I run an (or several) Abaqus job automatically?

I hope you have got enough information about Abaqus jobs and running Abaqus multiple jobs; if you need some more information about Abaqus tutorials, please visit our Abaqus tutorial page.

abaqus jobs ⭐⭐⭐Free Abaqus Course |10 hours Video  👩‍🎓+1000 Students   ♾️ Lifetime Access

✅ Module by Module Training                                  ✅ Standard/Explicit Analyses Tutorial

✅ Subroutines (UMAT) Training                    …           ✅ Python Scripting Lesson & Examples

…………………………                 …………………………….. ……………   …………………………….

2 thoughts on “Automatic Running of Abaqus Jobs Sequentially

  1. Avatar of Katlyn Verna Katlyn Verna says:

    fabulous article

  2. Avatar of Corene Ernst Whitney Corene Ernst Whitney says:

    If you desire to grow your experience just keep visiting this website and be updated with the latest news posted here.

Leave a Reply