Skip to content

tufailmab/Abaqus-Batch-Submit-Job

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Batch Job Submission for Abaqus

This project provides a Python-based solution for submitting Abaqus jobs for all .inp files in the current directory. The script automates the process by creating and running batch files for each job.

Cite this Tool: DOI

Features

  • Automated Job Submission: Submits Abaqus jobs for all .inp files in the current directory.
  • User Input for CPUs: Prompts the user to specify the number of CPUs for each job.
  • Batch File Creation: Creates a .bat file for each .inp file.
  • Command Execution: Runs the Abaqus command using the specified number of CPUs.

Conceptual Workflow

The figure below illustrates the overall workflow of the batch job submission process implemented by this tool, from detecting Abaqus input files to automatically creating and executing batch scripts for each simulation.

Conceptual Workflow

Conceptual workflow of the Abaqus batch job submission tool.

Usage Instructions

  1. Place your .inp files in the directory where the script is located.
  2. Run the script using:
    python submit_jobs.py
  3. When prompted, enter the number of CPUs to use for each job (between 1 and 4).
  4. The script will create and run a .bat file for each .inp file.

Requirements

The following Python packages are required:

  • os
  • subprocess

These libraries are part of the Python Standard Library, so no additional installation is required.

License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this software under the terms of the MIT License. If you use this software in your work, please provide appropriate credit to the developer.

Developer Information

  • Developer: Tufail Mabood
  • Contact: WhatsApp
  • Note: This tool is open-source. Feel free to modify it and share improvements.

About

This Python script automates the process of submitting Abaqus jobs for .inp files in the current directory. It creates a .bat file for each .inp file and runs the Abaqus command using the specified number of CPUs. No matter how many input files you have in your current directory.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages