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!

how I start Abaqus/Solver with Python-Script ?

Status
Not open for further replies.

Tamlin

Structural
Sep 7, 2004
11
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
 
Replies continue below

Recommended for you

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.
 
Hello smg2,

I've solved my problem thanks to Linux with a shell-scipt.
 
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()
---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor