Skip to content

This Python script automates the submission of Abaqus jobs for all .inp files in the current directory using a single .for user subroutine. It creates and runs a job for each input file, making it easy to batch process multiple simulations with the same Fortran logic. No matter how many input files you have, it handles them all, one by one.

License

Notifications You must be signed in to change notification settings

tufailmab/Abaqus-MultiInp-OneFor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abaqus_MultiInp_oneFor

This project provides a Python script to automate the batch submission of Abaqus jobs using multiple .inp files with a single .for user subroutine. It is ideal for scenarios where you want to test or simulate different models using the same custom material behavior or user logic implemented in Fortran.

Features

  • Batch Execution: Automatically creates and submits Abaqus jobs for each .inp file found in the current directory.
  • Single Subroutine: Uses one .for file as the user subroutine for all simulations.
  • Clean Job Naming: Automatically generates safe job names for each combination of input and subroutine.
  • Execution Monitoring: Waits for each job to complete before moving on to the next.

Usage Instructions

  1. Place all your .inp files and a single .for file in the same folder as the script.
  2. Run the script from within that directory using Abaqus Python:
    abaqus python WithSubroutine.py
  3. The script will:
    • Validate the presence of exactly one .for file
    • Create a job for each .inp file using that subroutine
    • Submit the jobs and wait for completion

Requirements

  • Abaqus with Python scripting enabled
  • One valid .for file
  • Multiple valid .inp files

License

This project is licensed under the MIT License. You are free to use, modify, and distribute this tool as you like. Please give credit if you build upon it.

Developer Info

  • Developer: Your Name
  • Contact: WhatsApp
  • Note: Contributions and improvements are welcome!

About

This Python script automates the submission of Abaqus jobs for all .inp files in the current directory using a single .for user subroutine. It creates and runs a job for each input file, making it easy to batch process multiple simulations with the same Fortran logic. No matter how many input files you have, it handles them all, one by one.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published