Skip to content

Ressources, updates and assignments of the Abaqus/Python course in the winter term 2023/24.

Notifications You must be signed in to change notification settings

mpletz/abaqus_python_ws2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abaqus/Python course in the winter term 2022/23

Scripts and resources for the Abaqus/Python seminar. The script of the course exists in pdf and html form. We will go through the crucial steps for automating Abaqus CAE models using Python. Each of the participants will then apply those skills to an example that she/he presents in the final unit.

We decided to meet up on Thursdays from 1 pm to 4 pm (dates). If you cannot come to one of the dates, please let me know and complete the assignments of this unit on your own.

You need a laptop with Abaqus and an editor like Visual Studio Code, Atom, or Spyder on it. Later on, a Python installation including modules like NumPy and matplotlib would be nice, e.g. by installing Anaconda.

Unit 1, 2023-10-05

  • Record Abaqus CAE commands: .rpy, .jnl, or macro-files.
  • Running scripts in Abaqus
  • Some general statements and header for Abaqus Python script (import, Mdb(), etc.)
  • Looked at some projects from the last years

Exercise

Create a sketch with a wavy surface using a spline.

Unit 2, 2023-10-19

  • Repeated stuff from unit 1
  • Looked at selecting things in Abaqus including masks, findAt, bounding boxes and using other properties of the entities
  • Defined the assignment of the first homework

Homework 1 (until unit 3, Nov. 9th)

Extend the Abaqus/Python script to do the following things:

  • Use the sketch from unit 1 to create a planar part
  • cut the geometry at half of the waves' height
  • create sets for the bottom, left, right edge. Create one set of the upper halve of the waves and the lower half of the waves. Give the sets names that you can easily remember and use in the further model creation

Extra effort (optional): Create separate sets for the upper and lower bumps and call them 'top-bump-01', ... Note that you can fill a string with zeros from the left using '5'.zfill(3) --> '005'

Unit 3, 2023-11-16

  • Overview of results in the odb file and how to extract that
  • Created contour plot images together
  • Looked into modeling & criterions for projects & you shared your ideas

Unit 4, 2023-11-23

  • Continued to look into the model evaluation
  • Started with chapter 4 (pdf) or chapter 5 (online), where we discussed how to assemble a scripted model.
  • the monitor cable did not work, so the practical use of evaluation is put into the ...

Homework 2 (until Dec. 7th)

Further evaluate the odb we created from the inp ile in unit 3:

  • Evaluate the history output and write it into a dat file: there is output of the contour integrals written to the odb: see how to obtain that.
  • (for the motivated ones): Create a path that starts at the crack tip and evaluate stresses in the direction of the last crack increment. Export these data and plot it with the tool of your choice.

Unit 5, 2023-12-07

Finished with going through the script including deleting unwanted files and working in subfolders. Brought Abaqus/Python cheatsheets that can be also found online.

Discussed your final project ideas and drew model sketches for them.

Unit 6, 2023-12-14

Continue to work on your projects, I will provide feedback on your homework that you can consider in the scripts you will develop in your projects.


Some resources that can help you with problems you might have using or scripting Abaqus

  • 3DS Platform(you can register with a unileoben.ac.at address): the Abaqus documentation, some tips and resources for Abaqus
  • Jorgen Bergström with his homepage PolymerFEM, e.g. with a nice into to FEM: much on material models, but on general FEM theory. Also a forum that can help you.
  • Ronald Wagner's YouTube chanel: General FEM, user subroutines, some Abaqus/Python
  • Miguel Herráez with some free content: mostly Abaqus/Python, tips & tricks like this one

About

Ressources, updates and assignments of the Abaqus/Python course in the winter term 2023/24.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published