Parametric Study with Python in Abaqus



A parametric study is part of every research to investigate the effect of some parameters on a model or process. Before talking about the product, a brief description is provided to introduce the Abaqus softer and the purpose of python.


Abaqus is an FEA software used to analyze models with high complexity. The provided option by this software creates a great environment for studying various models. Not even solid mechanics but also thermal and fluid mechanic models can be simulated in this software. It is worth mentioning that the fluid mechanic model was separated after Abaqus 6.16 and since version 2017 the company started to develop an independent solver for it. In order to increase the complexity of models, engineers can use FORTRAN to develop subroutine code and Python to create a model by scripting. here more details are provided about programming Python in Abaqus.

Scripting by Python:

Imagine you want to create a part with holes randomly distributed inside it. You need to bring a calculator and a piece of paper to find some random numbers to find the center and radius of those holes. The other option is to use Matlab code or any other coding languages to find those random values. However, after finding those values you still need to create those holes inside your models. You need to modify your part at least one time per each hole. Fortunately, Abaqus provided Python scripting to avoid this. You can easily create your code there and use the provided function to create and modify those holes inside your part. Consequently, you don’t need to do it by clicking and modifying your part. You can develop a code in Python to does the job for you.

More examples to explain Python usage:

1- For the shot peening process you need to shoot more than 100 balls to a designed surface in a short amount of time. You need to place the balls randomly and even with random speed. Thus, you need to use Python code to place and define an initial speed for each ball.

2- You want to do a parametric study to find a critical load for a designed part. You need to change the value and the trend of the applied load and run your model.

3- You want to add material for an AM process. You need to use the element birth technique for each step. The whole model requires more than 30 steps and interactions. Thus, you need to use Python to define them.

Now you know how Python scripting works with Abaqus so it is time to go into more details about this product.

More details about this product:

A parametric study is a method to optimize a process or experiment but creating models for modelling might take a lot of time. In this case, we need Python to make modelling faster. Using Python helps you create a larger model and saves you time. In this video, you will learn how to use Python to create a model with a parametric study in Abaqus. This example is about creating 10 models with different loads applied to the geometry. After changing the load, a job is created and the code runs the job automatically. Since the part involves two holes, there will be a critical point that has the maximum stress. Thus, using a parametric study is helpful to study the load influence on the designed part. This video is good for beginners who want to learn Python because it is a simple example and can be a good reference for starters. By watching this video you will learn how to use and improve your skills in developing code in Python. The video is short so you can learn this in less than 15 minutes and you will have the output and Abaqus CAE file.

 In this video, we avoid giving too many details so you can easily use the product. Here, you can find the following files:

Abaqus files: Python, INP, CAE, and JNL.

Video files: How to create this model.

For more information please send me an Email:




Easy learning

1 review for Parametric Study with Python in Abaqus

  1. HyperLyceum Team (verified owner)

    The files are good to follow but might miss the points

Only logged in customers who have purchased this product may leave a review.