Skip to content

This Python script automates Abaqus job submission using a single .inp file and multiple .for user subroutines. It creates a job for each .for file, allowing batch testing of different subroutines on the same model.

License

Notifications You must be signed in to change notification settings

tufailmab/Abaqus-OneInp-MultiFor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abaqus_oneInp_MultiFor

This project provides a Python script to automate the batch submission of Abaqus jobs using a single .inp input file and multiple .for user subroutines. It is ideal for testing different Fortran subroutine variations on the same model setup.

Watch this video for a quick overview and demonstration of how to automate the batch submission of Abaqus jobs using a single .inp input file and multiple .for user subroutines:

Video Demo

Features

  • Batch Execution: Automatically creates and submits Abaqus jobs for each .for file found in the current directory.
  • Single Input Model: Uses one common .inp file for all simulations.
  • Clean Job Naming: Automatically generates safe job names based on the input and subroutine filenames.
  • Execution Monitoring: Waits for each job to complete before starting the next.

Usage Instructions

  1. Place one .inp file and all your desired .for files in the same directory as the script.
  2. Ensure only one .inp file exists in the folder.
  3. Run the script using Abaqus Python:
    abaqus python oneInp_multiFor.py
  4. The script will:
    • Validate that exactly one .inp file is present
    • Loop through all .for files
    • Create and submit a job for each subroutine
    • Wait for each job to finish before proceeding

Requirements

  • Abaqus with Python scripting support
  • Exactly one valid .inp file
  • Multiple valid .for user subroutine files

License

This project is licensed under the MIT License. Feel free to use, modify, and redistribute. Credit is appreciated.

Developer Info

  • Developer: Engr. Tufail Mabood
  • Contact: WhatsApp
  • Note: If you need help, feel free to contact me. I'm happy to guide you.

About

This Python script automates Abaqus job submission using a single .inp file and multiple .for user subroutines. It creates a job for each .for file, allowing batch testing of different subroutines on the same model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published