Python Integration for ABAQUS

Agastiya RV, Application Engineer - Simulation Sep 27th, 2022

ABAQUS – A suite of powerful engineering simulation programs, developed on the finite element method, which solves problems ranging from relatively simple linear analyses like beam analysis to the most challenging nonlinear simulations like crashworthiness of a car.

Why use Scripting?

The main and fundamental purpose of scripting is to access the functionality of ABAQUS/CAE. It is an Application Programming Interface (API) to the models and data used by ABAQUS. This is basically the extension of Python Object-Oriented Programming and hence the scripts are called Python Scripts.

Using this API, user can do the following:

  • Create and/or modify the model like Parts, Materials, Boundary Conditions, etc.,
  • Create, modify, and submit the analysis jobs
  • Read and write an ABAQUS output
  • Visualize the results of an analysis

Advantages of using Scripting over GUI

  • Automate the repetitive jobs.

    The best instance for this is material modelling. The user can create a material model script ready and utilize it multiple times in creating the materials inside the GUI. Instead of creating the material with all its properties every time, the user can just run the script and import the material at one go.

  • Performing a Parametric Study.

    The user can create a script that modifies the geometry and analyzes the same every time incrementally. Along with this, the same script can be used to read and display the output for every change in the geometry.

  • Accessing the Output data

    In general, ABAQUS provides the user with good quality and quantity of output data. If needed, the user can modify and/or create a new output parameter through the scripts and visualize the results.

  • User can create and modify the model database that are interactively created while working in ABAQUS.

Comparison of Material modelling in ABAQUS using GUI and Scripting

GUI Method: The regular and general way of creating a material model in ABAQUS.

Figure 1: Conductivity of Steel 5140

Figure 2: Density of Steel 5140

Figure 3: Dependent variables

Figure 4: Specific heat of Steel 5140

Figure 5: User Defined Field

Scripting method for creating a material model in ABAQUS

Figure 6: Material Model script of Steel 5140

As we can observe from the above images, instead of defining the material with individual data in each window and repeat the process, the user can import one script file and create the same material at a single instance.

Along with this, the user can also import multiple materials at a time into the ABAQUS environment using scripting. The example is as follows.

Figure 7: Script for importing multiple materials

We Urge You To Call Us For Any Doubts & Clarifications That You May Have. We Are Eager to Talk To You

Call Us: +91 7406663589

Karnataka & Goa





For SOLIDWORKS Product Enquiry Contact:

AUTHOR: Agastiya RV, Application Engineer - Simulation

How useful was this?

Click on a star below to rate us out of 5 stars

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Leave a Reply

Your email address will not be published. Required fields are marked *