Automatic Running of Abaqus Multiple 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:

Write Input for jobs / Abaqus jobs - Abaqus multiple jobs Repeat that for every job you defined.

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

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:

Create txt file for Abaqus batch filesNow, 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:

call abaqus to run jobs in txt fileThe 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 fileNow 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.

Have you started simulation in Abaqus recently? I recommend you download these free tutorials here!  FREE ABAQUS TUTORIAL  

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 AppThen, in the appeared window, type a name for your task and a description if you wish. Also, select Run whether user is logged or not and tick Run with highest privileges. You should select Windows 10 in Configure for: menu.

Create Task General Tab Setting / Abaqus batch fileThen, switch to 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 jobsSwitch to Actions tab, select New and Browse for batch file we created before:

Create Task Actions Tab Setting | Abaqus jobs - Abaqus multiple jobsAnd finally switch to Conditions tab and tick the Wake the computer to run this task option:

Create Task Condition Tab SettingWith this selection, even if the computer is shut down, it will wake at the selected time. However, I suggest to Hibernate your computer and plugged it in.

Press OK. If program ask 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.

2 thoughts on “Automatic Running of Abaqus Multiple Jobs Sequentially

  1. Katlyn Verna says:

    fabulous article

  2. 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