Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus....

6
Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible. It provides a highly flexible layer that enables users to create a lean and mean FEA workflow. Increase productivity with customized scripts that aids pre- and post-processing work or extend functionality that let you do tasks that was previously practically impossible. Key benefits of scripting Automate tedious tasks Productivity gain Richer analyses Maximized token usage Courses Learn Python for Abaqus as an active participant in our hands-on sessions. Our lessons are designed to demontrate key functionality in relevant contexts. Combine several lessons into a course program that is tailored for you day-to-day needs. The beginner sessions are excellent introductions to the world of python scripting. Previous programming experience is a plus, but not an requirement! We offer the following lessons: Export XY data to Excel (Beginner, 1 day) Visualize Axial Forces in Trusses (Beginner, 1 day) Create Geometry from Grid data (Beginner, 1 day) FieldOutputs: Factor Of Safety (Beginner, 1 day) FieldOutput GUI (Intermediate, 2 days) Contact us to discuss other topics or cases! Scripting Services We offer our in-house python scripting experience as a service. We can help you optimize your workflow and develop functionality that will greatly increase your FEA simulation throughput! Our experience has shown us that only a few days of scripting can have major time-saving impacts, so don’t hesitate to contact us! Ebbe Berge Smith +47 98816211 [email protected] www.plm-technology.com Python Scripting for Abaqus PLM Technology is a certified partner of Dassault Systèmes Copyright 2014 PLM Technology | All Rights Reserved

Transcript of Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus....

Page 1: Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible.

Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible. It provides a highly flexible layer that enables users to create a lean and mean FEA workflow. Increase productivity with customized scripts that aids pre- and post-processing work or extend functionality that let you do tasks that was previously practically impossible.

Key benefits of scriptingAutomate tedious tasks Productivity gain Richer analyses Maximized token usage

CoursesLearn Python for Abaqus as an active participant in our hands-on sessions. Our lessons are designed to demontrate key functionality in relevant contexts. Combine several lessons into a course program that is tailored for you day-to-day needs. The beginner sessions are excellent introductions to the world of python scripting. Previous programming experience is a plus, but not an requirement!

We offer the following lessons: Export XY data to Excel (Beginner, 1 day)Visualize Axial Forces in Trusses (Beginner, 1 day)Create Geometry from Grid data (Beginner, 1 day)FieldOutputs: Factor Of Safety (Beginner, 1 day)FieldOutput GUI (Intermediate, 2 days)

Contact us to discuss other topics or cases!

Scripting ServicesWe offer our in-house python scripting experience as a service. We can help you optimize your workflow and develop functionality that will greatly increase your FEA simulation throughput! Our experience has shown us that only a few days of scripting can have major time-saving impacts, so don’t hesitate to contact us!

••••

•••••

Ebbe Berge Smith +47 98816211

[email protected]

Python Scripting for Abaqus

PLM Technology is a certified partner of Dassault SystèmesCopyright 2014 PLM Technology | All Rights Reserved

Page 2: Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible.

3. A GUI is created to let us choose XYdata to copy to the clipboard.

2. Copy data directly to the windows clipboard making copy/paste easier

1. Write text files with comma seperated XY data.

Lesson: Export XY data to Excel

Level: BeginnerDuration: 1 dayKeywords: Excel, File I/O, Tkinter, GUI, Kernel Scripts, PlotsDescription: Create comma separated XY data for applications that uses comma seprated data (e.g Excel in European countries). This lesson shows how to use the Abaqus Scripting Interace (ASI) to access data from the Complete Abaqus Environment (CAE) with only a few lines of Python. Over three steps we advance the usability of the script with powerful features such as copy to clipboard and GUI coding with Tkinter. This is a great introduction to practical python! In this lesson we will:

Python Scripting for Abaqus

Ebbe Berge Smith +47 98816211

[email protected]

PLM Technology is a certified partner of Dassault SystèmesCopyright 2014 PLM Technology | All Rights Reserved

Page 3: Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible.

3. Compute Free Body diagrams for each truss, visualizing tensile or compressive stresses at uniqe nodes

In this lesson we will: 1. Find the currently active ODB in Abaqus/CAE2. Identify the truss elements

Lesson: Visualize Axial Forces in Trusses

Level: BeginnerDuration: 1 dayKeywords: Post-processing, NFORC, Trusses, Odb, Kernel ScriptsDescription: Being able to visualize results on your own terms is a huge benefit for an analyst. In this lesson we will utilize built-in capabilities in the Abaqus/CAE and python scripting to enhance visualization of axial forces in trusses.

Python Scripting for Abaqus

Ebbe Berge Smith +47 98816211

[email protected]

PLM Technology is a certified partner of Dassault SystèmesCopyright 2014 PLM Technology | All Rights Reserved

Page 4: Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible.

3. Read height fields from files containing XYZ data

In this lesson we will: 1. Create part and mesh 2. Compute node positions to create/modify meshes analytically.

Lesson: Create Geometry from Grid data

Level: BeginnerKeywords: Pre-processing, File I/O, Geometry, Nodes, Elements, Kernel ScriptsDuration: 1 dayDescription: Learn how to take control of the nodes in your mesh! Create effective plugins to modify node coordinates from analytical formulaes or from files. Get familiar with the most important fallpits when reading xyz data from files and how to append these values back to Abaqus/CAE using best practices.

Python Scripting for Abaqus

Ebbe Berge Smith +47 98816211

[email protected]

PLM Technology is a certified partner of Dassault SystèmesCopyright 2014 PLM Technology | All Rights Reserved

Page 5: Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible.

In this lesson we will: 1. Compute the Factor Of Safety for Element Centroids2. Compute the Factor Of Safety for Integration Points3. Write the computed fields to an Abaqus Session4. Write the computed fields permanently to a Odb

Lesson: FieldOutputs: Factor Of Safety

Level: BeginnerKeywords: Post-processing, ODB, FieldOutput, Factor Of Safety, Kernel ScriptsDuration: 1 dayDescription: This is our introduction to customized fieldOutputs. We learn how to use the existing fields in abaqus to compute create new fields. In this lesson we will compute a Factor Of Safety, ,which is the Material Yield Strength divided by Design Load. The same techniques can easily be extended to create useful output fields based on specifications.

Python Scripting for Abaqus

Ebbe Berge Smith +47 98816211

[email protected]

PLM Technology is a certified partner of Dassault SystèmesCopyright 2014 PLM Technology | All Rights Reserved

Page 6: Python Scripting for Abaqus - plmtechnology.no · Python scripting is a powerful tool for Abaqus. The Abaqus Scripting Interface (ASI) is a rich set of commands that is readily accessible.

2. Create an lightweight GUIs using Tkinter.

Coeffient of Variance for each element. Top: Maximum Stress in Load Cycle. Lower: Indexed by Steps

Lesson: FieldOutput GUI

Level: IntermediateKeywords: Post-processing, ODB, FieldOutput, Mesh evaluation, In-house tools, GUI Duration: 2 daysDescription: This comprehensive lesson will show you how to significantly extend the Abaqus/CAE post-processing functionality. We will develop a skeleton for an in-house post-processing tool. It will show you how create pre-made fieldOutput functions that can easily be applied to a set of ODBs that will output to both abaqus sessions and permanently to odbs.

In this lesson we wil:1. Create fieldOutputs in both temporarily in the abaqus/Viewer session and permanenlty

Python Scripting for Abaqus

Ebbe Berge Smith +47 98816211

[email protected]

PLM Technology is a certified partner of Dassault SystèmesCopyright 2014 PLM Technology | All Rights Reserved