Scripting2 Summary

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Advanced Abaqus Scripting

Abaqus 2018
About this Course

Course objectives

Help students to develop a high level understanding of the Abaqus scripting capabilities and gain some
proficiency.
Organize and present the deeper technical details of Python and the Abaqus Scripting Interface.
Expose the strengths and weaknesses of Abaqus scripting.
Encourage the student to use scripting in new ways.

This advanced seminar will take a deeper dive into:


The Abaqus Scripting Interface (ASI)
The core functionality of the Python language and libraries

Targeted audience
Simulation Analysts

Prerequisites
Experience scripting with Python and Abaqus is recommended.

2 days
Day 1

Lecture 1 Python Core Language: Advanced Topics

Workshop 1 Practice Using a Few More Python Basics


Workshop 2 Working with Exceptions

Lecture 2 Functions, Modules, Packages & Performance

Workshop 3 A Brief Look at the NumPy Module

Lecture 3 Manipulating Strings and Files

Workshop 4 Parsing Files


Workshop 5 Input and Output with the Shelve Module

Lecture 4 Object Oriented Programming

Workshop 6 (Optional) Classes


Workshop 7 (Optional) Special Method Attributes
Day 2

Lecture 5 Abaqus Scripting Interface – Postprocessing

Workshop 8 Create a New Custom Field Output Variable

Lecture 6 Abaqus Scripting Interface – Preprocessing

Workshop 9 Automating a Bottle Top Load Analysis


Workshop 10 Study a Plug-in to Convert Flat Mesh into Cylindrical Shape

Lecture 7 Miscellaneous Topics

Workshop 11 Basic Scripting Style Considerations

Lecture 8 Stretching Horizons


Additional Material

Appendix 1 Optional Topics

Workshop 12 Job Monitoring


Workshop 13 Working with the keywordBlock Object
SIMULIA

SIMULIA is the Dassault Systèmes brand for Realistic Simulation solutions

Portfolio of established, best-in-class products


Abaqus, Isight, Tosca, fe-safe, Simpack

* Included in extended licensing pool


SIMULIA’s Power of the Portfolio

• Routine and Advanced Simulation


• Linear and Nonlinear, Static and Dynamic Realistic Human Simulation
Abaqus • Thermal, Electrical, Acoustics High Speed Crash & Impact
• Extended Physics through Co-simulation Noise & Vibration
• Model Preparation and Visualization

• Process Integration
Material Calibration
• Design Optimization
Isight Workflow Automation
• Parametric Optimization Design Exploration
• Six Sigma and Design of Experiments

• Non-Parametric Optimization Conceptual/Detailed Design


Tosca • Structural and Fluid Flow Optimization Weight, Stiffness, Stress
• Topology, Sizing, Shape, Bead Optimization Pressure Loss Reduction

• Durability Simulation Safety Factors


fe-safe • Low Cycle and High Cycle Fatigue Creep-Fatigue Interaction
• Weld, High Temperature, Non-metallics Weld Fatigue

• 3D Multibody Dynamics Simulation Complete System Analyses


• Mechanical or Mechatronic Systems (Quasi-)Static, Dynamics, NVH
Simpack
• Detailed Transient Simulation (Offline Flex Bodies, Advanced
and Realtime) Contact
Join the Community!

How can you maximize the robust technology of the SIMULIA Portfolio ?

Go to www.3ds.com/slc
to log in or join!
SIMULIA Training

http://www.3ds.com/products-services/simulia/services/training-courses/
Legal Notices

The software described in this documentation is available only under license from Dassault Systèmes
or its subsidiaries and may be used or reproduced only in accordance with the terms of such license.
This documentation and the software described in this documentation are subject to change without
prior notice.
Dassault Systèmes and its subsidiaries shall not be responsible for the consequences of any errors or
omissions that may appear in this documentation.
No part of this documentation may be reproduced or distributed in any form without prior written
permission of Dassault Systèmes or its subsidiaries.
© Dassault Systèmes, 2017
Printed in the United States of America.
Abaqus, the 3DS logo, and SIMULIA are trademarks or registered trademarks of Dassault Systèmes or
its subsidiaries in the US and/or other countries.
Other company, product, and service names may be trademarks or service marks of their respective
owners. For additional information concerning trademarks, copyrights, and licenses, see the Legal
Notices in the SIMULIA User Assistance.
Revision Status

Lecture 1 11/17 Updated for Abaqus 2018


Lecture 2 11/17 Updated for Abaqus 2018
Lecture 3 11/17 Updated for Abaqus 2018
Lecture 4 11/17 Updated for Abaqus 2018
Lecture 5 11/17 Updated for Abaqus 2018
Lecture 6 11/17 Updated for Abaqus 2018
Lecture 7 11/17 Updated for Abaqus 2018
Lecture 8 11/17 Updated for Abaqus 2018
Appendix 1 11/17 Updated for Abaqus 2018
Workshop 1 11/17 Updated for Abaqus 2018
Workshop 2 11/17 Updated for Abaqus 2018
Workshop 3 11/17 Updated for Abaqus 2018
Workshop 4 11/17 Updated for Abaqus 2018
Workshop 5 11/17 Updated for Abaqus 2018
Workshop 6 11/17 Updated for Abaqus 2018
Workshop 7 11/17 Updated for Abaqus 2018
Workshop 8 11/17 Updated for Abaqus 2018
Workshop 9 11/17 Updated for Abaqus 2018
Workshop 10 11/17 Updated for Abaqus 2018
Workshop 11 11/17 Updated for Abaqus 2018
Workshop 12 11/17 Updated for Abaqus 2018
Workshop 13 11/17 Updated for Abaqus 2018
L1.1
Lesson 1: Python Core Language – Advanced Topics

Lesson content:

Quick Overview of Python and ASI Basics


Operators and Expressions
List Comprehension
Utility Functions
www.3ds.com | © Dassault Systèmes

Workshop Preliminaries
Workshop 1: Practice Using a Few More Python Basics
Control Flow: Exceptions
Workshop 2: Working with Exceptions

3 hours
L2.1
Lesson 2: Functions, Modules, Packages & Performance

Lesson content:

Functions
Modules
Python Packages
Performance in Python
www.3ds.com | © Dassault Systèmes

Workshop 3: A Brief Look at the NumPy Module

2 hours
L3.1
Lesson 3: Manipulating Strings and Files

Lesson content:

String Processing
Input and Output
Example: Parsing a File
Manipulating Programs
www.3ds.com | © Dassault Systèmes

Workshop 4: Parsing Files


Workshop 5: Input and Output with the Shelve Module

3 hours
L4.1
Lesson 4: Object Oriented Programming

Lesson content:

Philosophy of Object Oriented Programming


Object Oriented Programming in Python
Special Method Attributes
Workshop 6 (optional): Classes
www.3ds.com | © Dassault Systèmes

Workshop 7 (optional): Special Method Attributes

3 hours
L5.1
Lesson 5: Abaqus Scripting Interface – Postprocessing

Lesson content:

Exploring your Data


The ODB Object
Working with Display Groups
Writing to the ODB
www.3ds.com | © Dassault Systèmes

Examples
Workshop 8: Create a New Custom Field Output Variable

2.5 hours
L6.1
Lesson 6: Abaqus Scripting Interface – Preprocessing

Lesson content:

Common Preprocessing Tasks


Workshop 9: Automating a Bottle Top Load Analysis
Plug-ins
Workshop 10 (Optional): Study a Plug-in to Convert Flat Mesh into Cylindrical Shape
www.3ds.com | © Dassault Systèmes

2 hours
L7.1
Lesson 7: Miscellaneous Topics

Lesson content:

Callback Functions
Custom Data
Scripting Ideas for Productivity
Workshop 11: Basic Scripting Style Considerations
Setting Abaqus Defaults
www.3ds.com | © Dassault Systèmes

C++ instead of Python

3 hours
L8.1
Lesson 8: Stretching Horizons

Lesson content:

Embedding and Interfacing with Legacy Applications


Interfacing via COM Architecture
A Few Words about GUI Customization
Process Automation with Isight
www.3ds.com | © Dassault Systèmes

45 minutes
A1.1
Appendix 1: Optional Topics

Appendix content:

Advanced Data Types


Running Python
Callback Functions
Workshop 12: Job Monitoring
www.3ds.com | © Dassault Systèmes

Working with Keyword Block Objects


Workshop 13: Working with the keywordBlock Object
Parameter Studies

45 minutes

You might also like