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
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 ?
RE: how I start Abaqus/Solver with Python-Script ?
I've solved my problem thanks to Linux with a shell-scipt.
RE: how I start Abaqus/Solver with Python-Script ?
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()
---