×
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

ABAQUS + iSight. How to plot and re-plot automatically the same graph?
2

ABAQUS + iSight. How to plot and re-plot automatically the same graph?

ABAQUS + iSight. How to plot and re-plot automatically the same graph?

(OP)
Hello,
I'm running some analysis in Abaqus in order to study the buckling and post buckling behaviour of a simple beam. My goal is to change some parameters and plot the result of the last step (which is composed by n increments). As you can imagine, running hundreds of analysis and plotting every time the same graph, take a lot of time. For this reason I am trying to use iSight. In this way I can run a parametric study very easily.
Now the question is: how can I plot the graphs that I need by means of iSight? I mean, with Isight I just submit many times the same job with different parameters, and I want to plot the same graph as I do with a single analysis.

Thanks a lot for your help

RE: ABAQUS + iSight. How to plot and re-plot automatically the same graph?

You could include a component in your iSight workflow that runs a script after the Abaqus job has finished. That script could extract some values from the odb directly or it opens the odb in the Viewer, makes a plot and saves it as image and/or xy-data on the hard disk.

RE: ABAQUS + iSight. How to plot and re-plot automatically the same graph?

(OP)
HI Mustaine3, thanks,
is it possible to add a component which runs a Python script? Because when I add the component "Script" and I copy the text in Python (a text I copy from the file abaqus.rpy just after having created a report from the Abaqus Viewer), it gives me error and does not read the file . Is there something I do wrongly?

RE: ABAQUS + iSight. How to plot and re-plot automatically the same graph?

Create a script in a separate file and test before that it is working as desired.

In iSight you can use a component to run a OS command line. With "abaqus python scriptname.py" you can execute the script in every loop.

RE: ABAQUS + iSight. How to plot and re-plot automatically the same graph?

Under typical conditions, you do not really need ISight for a simple parametric study. There is a *Parameter card available in Abaqus that lets you run Abaqus jobs in a parameter space. If you do need ISight, then writing a Python script, as suggested above, is your best bet.

Are you new to this forum? If so, please read these FAQ:

http://www.eng-tips.com/faqs.cfm?fid=376
http://www.eng-tips.com/faqs.cfm?fid=1083

RE: ABAQUS + iSight. How to plot and re-plot automatically the same graph?

(OP)
HI IceBreakerSours,
Actually I tried already to use the *parameter card. The problem I have, maybe you can help me, is that, by writing a .psf file, I am not able to plot (or to "print") the result for each increment. This is my psf file:
dy = ParStudy(par='dy1', name='Istatedy')
dy.define(CONTINUOUS, par='dy1', domain=(-0.7, -1))
dy.sample(NUMBER, par='dy1', number=2)
dy.combine(MESH)
dy.generate(template='Istatedy')
dy.execute(ALL)
dy.output(file=ODB, instance='Part-1-1', request=FIELD)
dy.gather(results='n4_u', variable='U', node=4, step=4, inc=15)
dy.report(PRINT, par='dy1', results=('n4_u.2'))

if I indicate one increment , for example inc=15, it gives me just the displacement of the node 4 for the increment 15. if "inc" is missed, it gives me the results just of the last increment, by default. And I do not know how to tell python to print me a table with the results of each increment in order to plot the result of the entire step.
For this reason I'm trying to understand whether by means of iSight I can a be able to plot my graphs.
Please let me know if you could give me some more suggestions

RE: ABAQUS + iSight. How to plot and re-plot automatically the same graph?

OoOoo I had not heard of the parameter card before, I'll be looking into that.

Personally I would script the whole thing with Python & batch files.
Model generation and reading results from the ODB files & writing custom output done via the Python API and job scheduling via a batch file.
Then use MatPlotLib or similar to plot any results needed.

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