abaqus input-file continuous execution script.
Project description
runabq
runabq is the execution script for abaqus jobs in current directory. Runs the input files in the current directory continuously.
Installation
To use the runabq package in a virtual environment, do the following. This is the case when the name of the virtual environment is abq.
Anaconda
$ conda create -n abq python
$ conda activate abq
$ git clone https://github.com/simulation-lab/runabq.git
$ cd runabq
$ pip install -e .
venv
$ python3 -m venv abq
$ . abq/Scripts/activate
$ git clone https://github.com/simulation-lab/runabq.git
$ cd runabq
$ pip install -e .
Usage
If there is a lot of Abaqus input data you want to execute in the current directory, execute the following command. Use the latest Abaqus version. That is, it executes the'abaqus' command internally.
$ runabq
Use the specify abaqus version.
$ runabq -v 2020
Use user subroutines and CPUs.
$ runabq user=sub.f cpus=5
Help
$ runabq --help
Enter code = "a" to execute all the input files in the current directory.
$ runabq
files list:
1: job1.inp
2: job2.inp
3: job3.inp
a: all
x: exit
code = a
If you want to execute only a specific input file, enter numbers separated by ",".
$ runabq
files list:
1: job1.inp
2: job2.inp
3: job3.inp
4: test1.inp
5: test2.inp
a: all
x: exit
code = 1, 4
For consecutive numbers, enter the first and last numbers separated by ":".
$ runabq
files list:
1: case1.inp
2: case2.inp
3: case3.inp
4: job1.inp
5: job2.inp
a: all
x: exit
code = 1:3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.