×
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

Gather results during parametric study

Gather results during parametric study

Gather results during parametric study

(OP)
Hello everybody,

I am working on a quite big parametric study simulating effects of different loads and fiber orientation in the material on a carbon fiber prop-shaft.

I already have a phyton script for a parametric study, however I have problems with extracting the results.
I want to have results over a circumferential path around the shaft. (about 60 elements)

Is it possible to do it with "gather" function? I think only one node/element can be selected with "gather" command.

I have considered a for/while loop, but the results will be written separately and I want a single table.
I cannot use phyton scripts for each of the .odb files after the study because the number of them will be too high. (I have 5 parameters, that are changing - I am dealing with cca 2000 simulations)

Has anyone done this before or has been dealing with this problem?

Thanks for your help,

Best regards,

Gasper

RE: Gather results during parametric study

I've written some scripts that has dealt with quite a few variations. (Not nearly as many though).

If the geometry is constant, just get the element id's - either by using a path or a set that contains the element id's.

Regardless of the number of ODBs, it would still be viable to traverse each odb and drop the desired results into
a global table. Run time is the only concern. Test it on a few first to reduce run-time while developing.

Hint:
globalResultTable = []
for odbName in glob.glob('*.odb'):
odb = openODB(odbName)
odbResult = getResultFromOdb(odb)
globalResultTable.append(odbResult)
odb.close()
writeResultsToFile(globalResultTable)

Hope this helps....

Ebbe

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