Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

using python

Status
Not open for further replies.

navigator30

Mechanical
May 1, 2006
24
I´m just a beginner with abaqus and therefor I'm having a big question for the start.

What should I work with creating a model. Should I rather write a python or rather an .inp-file. What are the advantages of these both posibilities.

I've got the impression that the majority of users prefers .inp. Why?

Thanx in advance!
 
Replies continue below

Recommended for you

The majority of users would prefer to use CAE I guess.

.inp files are easier to read and understand than python scripts but can still be awkward without the manual in front of you.

corus
 
The three methodologies you mention (cae, python, inp) are quite different in their utility so I would suggest using the one that suits your needs best...

1. Use ABAQUS/CAE - if you want an interactive GUI driven modeling environment. CAE supports a majority of ABAQUS features, and does so with a feature-based, geometric modeler approach.

2. Use Python - if you want to write a script to drive the ABAQUS/CAE session. Python is an object oriented programming language with unique and powerful features. The ABAQUS Scripting Interface extends python to add ABAQUS specific commands to the language. The usage is very flexible and powerful. For the truly creative you can also use the Python interface to the GUI Toolkit to create customized a UI or even a whole customized application based on CAE. As far as documentation, it is all there. But for a good tip, try the following in the command line interface. When you create an object, eg.:
>>> p = mdb.models['Model-1'].parts['Part-1']

You then type:
>>> p.

Now try hitting the tab key and see what objects/methods are revealed...

3. inp - this is the input to the ABAQUS analysis products (Standard and Explicit) and is not a programming language, but a model definition/description.
 
Thanx!!

I guess I will go forpathon then, hopefully I'll get managed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor