×
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

Parametric Study Scripting

Parametric Study Scripting

Parametric Study Scripting

(OP)
I am having a difficult time writing a python script file that will run a parametric study. The examples in the documentation are not wanting to run either.

Does anyone know of a place were I can see some examples of script or if there are any books out there that will be of assistant?

Thanks

RE: Parametric Study Scripting

What is the error you are getting when you try to run the examples in the documentation (assuming that you are getting an error)?

RE: Parametric Study Scripting

(OP)
I'm am trying to run the example:  Parametric study of a linear elastic pipeline under in-plane bending which is 1.1.3 in the abaqus example problems manual in the 6.9 documentation. The procedure I am using to run the file is as follows. I put all the .inp files and the .psf file in the same fold then set my working directory to this location. I try to run the script by going to file->run script and select the .psf file.

The error message I get is on line 52 of the .psf file and is "NameError: name 'ParStudy' is not defined"

RE: Parametric Study Scripting

I've never worked with these before but if you run it from the command line it looks like it works. I got the same error when I ran it through the CAE.

The command is: abaqus script=elbowtest

this syntax came from the analysis users manual 3.2.6

HTH Dan

RE: Parametric Study Scripting

(OP)
That worked.

Thanks

RE: Parametric Study Scripting

or execfile('nameOfScript.py') in the Abaqus CAE environment

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