Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Python script in ABAQUS

Iman@123

Mechanical
Feb 19, 2025
7
I'm trying to simulate wear using Abaqus CEA; I couldn't use subroutines, so I'm trying to learn how to use python script.
Is it used to create the geometry and the output file or is it used after I draw the geometry, specified the properties, mesh and boundary conditions?
 
Replies continue below

Recommended for you

The usage of python in ABAQUS can be for both pre - processing and post - processing (I mean comple pre - processing and complete post - processing).

You can model the geometry, create the material, BC's, mesh etc etc and anything and everything using Python in ABAQUS.

Example 1: The command ' m.rectangle(point1=(-w/2, -h/2), point2=(w/2,h/2)) ' will help me create a rectangle in the sketch.

Example 2: The command ' p.generateMesh() ' will mesh my model.

You can build you entire model using python commands. Fun tip: If you construct your geometry using variables like b, w and h (for breadth, width and height), you can write a 'for' loop and create multiple parts with varying dimensions all with one click.

Best Regards,

Vishakh Rajendran.
 

Part and Inventory Search

Sponsor