How to use Python scripts to make free-body force diagrams in Abaqus

When we use beam elements in our finite element models, it's fairly straight forward to obtain the bending moment diagrams, or other force diagrams (axial, shear). In Abaqus), we only need to ask for the Section Forces output (SF) and there you have it.
However, when our model is made of shell or solid elements, the creation of these diagrams is not so easy. In that case, we have to calculate the summation of nodal forces. For instance, Abaqus provides the free-body forces on a particular view cut of the model, and we can read those values on the screen.
The problem is: how do we extract these values "from the screen" into actual values in a Python script, so that we can visualize them in a plot?
This is what I want to tell you in this video. In addition, there are lots of details embedded in the explanations, and even if you are not too interested in free-body cuts or force diagrams, you will find lots of tips on the use of Python scripting to control Abaqus. By the way, you can download all the scripts to try them yourself and find more details in the blog post: tecnodigitalschool.com/how-to...
0:00 - Intro
0:33 - Basics of free-body cuts in Abaqus
4:59 - Example: Introduction
7:55 - Example: Python script
13:49 - Example: Analysis
16:44 - Final Python script
19:38 - Outro

Пікірлер: 11

  • @funbangla1333
    @funbangla1333 Жыл бұрын

    Thank you for sharing this wonderful process of odb postprocessing

  • @tecnodigitalschool

    @tecnodigitalschool

    Жыл бұрын

    I am very happy to hear that! Thanks!

  • @funbangla1333

    @funbangla1333

    Жыл бұрын

    @@tecnodigitalschool However this process is not feasible when you try to use abaqus python, since abaqusModules cannot be imported in abaqus python. can you suggest something that facilitates this process in abaqus python?

  • @kaptaprism4644
    @kaptaprism464415 күн бұрын

    Hi, thank you for sharing this. You explained it very nicely and in detail. I have a question, not exactly related to this but still you might have an idea. For a plugin I am writing, I am extracting section forces from bolt which i will use for safety calculations. However, the view cut (so body forces) should be aligned with bolt axis. How can i get bolt axis? Is there any easy way you are aware?

  • @tecnodigitalschool

    @tecnodigitalschool

    14 күн бұрын

    You can define a surface (or set of faces) normal to the load axis and get the normal from it.

  • @kaptaprism4644

    @kaptaprism4644

    14 күн бұрын

    @@tecnodigitalschool thank you for quick answer! Do you know the method to get surface normal? I couldn't find it. I can probably get element face normal but surface would be much better.

  • @tecnodigitalschool

    @tecnodigitalschool

    13 күн бұрын

    You can extract the normal from a face. If you have a surface, you can do the following: for face in p.surfaces["MySurface"].faces: print(face.getNormal()) Iterate through the faces of a surface and use getNormal.

  • @sanjeevkumar-id7ij
    @sanjeevkumar-id7ij Жыл бұрын

    Hello Sir, I tried to read data from Excel file using pandas. I did it the way you mentioned in the post, "How to use Python 3 with Abaqus and more". But abacus still shows no module named pandas. Even if we import certain libraries in "app.py" which aren't available in abacus, but still we can't incorporate those libraries in "abq.py". And as soon as we run app.py in python, abaqus shows there isn't any module named pandas. Please help me how to resolve this. Thank you

  • @tecnodigitalschool

    @tecnodigitalschool

    Жыл бұрын

    Hello Sanjeev, I guess you are referring to this blog post: tecnodigitalschool.com/how-to-use-python-3-with-abaqus-and-more/ If you run app.py within Abaqus it will fail, since the Python environment built into Abaqus does not include these Python 3 libraries (pandas, openpyxl, sklearn...). The script app.py is executed from an external Python 3 environment (kzread.info/dash/bejne/hXyXz6xpY5uveps.html). This is the main script and will invoke (through the command line) Abaqus and run a second script (abq.py) that will include all the direct commands to control Abaqus. I hope this is useful for you! Best regards

  • @sanjeevkumar-id7ij

    @sanjeevkumar-id7ij

    Жыл бұрын

    @@tecnodigitalschool I need to pass the arguments from app.py to abq.py. Sir can you please share some part of script to do that. It will be of great help to me. Really need your help

  • @sanjeevkumar-id7ij

    @sanjeevkumar-id7ij

    Жыл бұрын

    And most importantly i am really thankful to hear from you. Means for a lot sir