×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

how I start Abaqus/Solver with Python-Script ?

how I start Abaqus/Solver with Python-Script ?

how I start Abaqus/Solver with Python-Script ?

(OP)
Hello everyone,

I want to automize some calculation steps.
For this purpose I have to start the solver with
a python script.

Does anyone knows how to manage this ?

operating system is Win2000 with Abaqus V6.4-2

Thanks in advance

Tamlin

RE: how I start Abaqus/Solver with Python-Script ?

I don't know about Solver exactly but I link my Python code with ABAQUS by running a parametric study in each iteration of my analysis.

RE: how I start Abaqus/Solver with Python-Script ?

(OP)
Hello smg2,

I've solved my problem thanks to Linux with a shell-scipt.

RE: how I start Abaqus/Solver with Python-Script ?

Hello,

check out the 'ABAQUS Scripting User's Manual' and 'the ABAQUS Scripting Reference Manual'. The Python Scripting Interface is quite well documented.

Here some code snipplet how to create and start a job:
----
import part
import material
import section
import job
import mesh
import assembly
import interaction
import load

# get the current modelname
CurrentModelName = session.sessionState[session.currentViewportName]['modelName']
# interact with the user for the name of the job
jobname=getInput(prompt='Job Name?:',default=CurrentModelName)
# interact with the user for some useful description of the odb
odbdescription = getInput(prompt='ODB Description?:',default='some useful description')
# now make the job
job = mdb.Job(name=jobname,model=CurrentModelName,description=odbdescription)
# start the job
job.submit()
---

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources