haiiliin / abqpy

Type Hints for Abaqus/Python Scripting
https://haiiliin.github.io/abqpy/
MIT License
195 stars 34 forks source link
abaqus python

abqpy 2024

tests rtd coveralls python abaqus Crowdin

Read this in other languages: English, 简体中文.

Type hints for Abaqus/Python scripting

abqpy is a Python package providing type hints for Python scripting of Abaqus, you can use it to write your Python script of Abaqus fluently, even without doing anything in Abaqus. It also provides some simple APIs to execute the Abaqus commands so that you can run your Python script to build the model, submit the job and extract the output data in just one Python script, even without opening the Abaqus/CAE.

Quick Start

Make sure and are installed on your computer, open cmd or terminal, type:

pip install -U abqpy==2024.*  # change the major version to match your Abaqus version

Then, open your Abaqus/Python script in your favorite IDE with Python language support, run the script with Python 3.7+ (just do it!), see the magic happens. For more information, please refer to the documentation.

Pull Requests are Welcome

Since abqpy is reconstructed from the official Abaqus documentation, many of the docstrings are not well formatted, for example, the Raises section, the math equations, the attributes of the objects, due to the limitation of my time, those things are left behind, if anyone is willing to make any contributions, please feel free to create your pull requests.

Please refer CONTRIBUTING for contribution guidelines.

Screenshots

screenshot

screenshot