Skip to main content

Abaqus python script

How to improve computational efficiency in Abaqus Cae

Submitted by gwqew1314 on

I am building a big model to select some specific elements using Python script in Abaqus Cae. The script runs quickly and the result is as expected in a small model. However, the computational efficiency in a bigger model is very low. The script has run 18 days in a Linux workstation with noGUI command. Are there any methods to set parallel computation in Abaqus cae? Thanks in advance.

Abaqus Python : reading odb file for field frame data

Submitted by sidd04mech on

Hi,

I am running a python script to do some post processing on Abaqus odb file. While running it on Abaqus/Explicite output file I found it was taking more than usual time. And after timing the run I got the surprise that the most time consuming thing what just to read the time value for each frame. I have the script below.

def main():

odb=openOdb('F:/Scripting/.../.../Example.odb') 

stkeys=odb.steps.keys()

stp=odb.steps[stkeys[-1]]

frms=stp.frames

how to run a python script after each increment in abaqus.

Submitted by mayankchouksey09 on
Choose a channel featured in the header of iMechanica

hi,

I am doing static stress analysis. in my problem, I have to update my input file after each increment. so for updating the input file, I have to do some calculation depend on the output of the previous increment result. for these calculations, I have to call the odb file after each increment, do some calculations, update the input file and the process will go on. I have written a python script for the calculations from the odb file but don't know how to use this script after each increment.

 

thank you

ABAQUS, partitioning an edge

Submitted by Navid Moheb on

Hello Everyone,

Does anyone knows how it is possible to partition an edge in one step with multiple points (like multiple datum points or multiple parameter values)? I know how to partition one edge one by one. The problem of doing it one by one is the amount of time that it takes to do that. For example if I want to put 50 points on one edge I have to pick that edge 50 times and partition it, which takes a lot of time.

I am doing the whole process by scripting with Python so I would be glad if the solutions are in scripting format (I am using ABAQUS 2016).

Thanks,

Create simple ODB without submitting a job

Submitted by ajkrell@yahoo.com on
Choose a channel featured in the header of iMechanica

Hello. 

I'm looking to create a simple ODB file using my model in session so that I can display an orientation tensor in a custom field.  I'm able to create an ODB for a 2d part (made of s4 elements), but my system crashes whenever I load the ODB for my 3d part (made of c3d8 elements).

Here is my script. Any help would be greatly appreciated!

 

from abaqusConstants import * 

from odbAccess import *

from textRepr import *

odb = Odb(name='4',

    analysisTitle='derived data',

Abaqus python scripting, booleanmerge section assignment

Submitted by sina_khodaie on

Hey,

 I am writing a python script for modeling aggregates in a concrete cylinder. I have created a all the particles and and specified section properties to them and to the  cylinder.

The procedure I am using is to merge the particles and the cylinder while retaining the boundaries. If the sctions are assigned to the parts before merging, the result is the cylinder with the specified section assignmentsfor each part.

I wrote the code in python but seems like it does not include the section assignment to the new part from merge.

sequential Abaqus input change

Submitted by Hidroxid on

Hello,

 I need to write a python script that changes the inputs in my MDB file and then runs the abaqus code and gets the output and then goes on with another sets of inputs.

Since I am quite a beginner in abaqus-python scripting, does anyone has any clue how to do this automatically, I mean not changing the inputs in every run manually.

Thanks,

Omid