×
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

write element result table to file

write element result table to file

write element result table to file

(OP)
Can anyone help me create ascii files of element result tables? I'm presently manually entering the commands to:

SET,NEXT               % set the next load step
ETAB,REFL              % refill the table
PRETAB,NAME1,NAME@,... % display the table
[File > Save As...], enter <filename.ext>

and repeat for all load steps. i tried entering the input commands in an input file, but the tables do not display unless the PRETAB command is enterred in the gui command line.

There's GOT to be a more efficient way to collect element result tables from multiple load steps.

If there are other approaches, such as obtaining ascii files containing all results data that i can mine with matlab, i'm all ears...

thanks!

RE: write element result table to file

Put the following into a text file and read in using FILE --> Read input as... (this would be after you've entered /post1):

! -------------------------------------------------
! MACRO TO PORT ETABLE TO OUTPUT FILE
! FROM EACH RESULTS SET
! -------------------------------------------------

filename1='etable1
filename2='etable2'
etc...
etc...


SET,1               % set the next load step
ETAB,REFL              % the table
/output,filename1,out
PRETAB,NAME1,NAME@,... % display the table
/out

SET,2               % set the next load step
ETAB,REFL              % the table
/output,filename2,out
PRETAB,NAME1,NAME@,... % display the table
/out

etc etc.

Remember to fill the etable once before issuing the refill command.

Cheers,

-- drej --

RE: write element result table to file

(OP)
Drej,

Thank you, this is exactly what i needed.

cheers to you

oldmanK

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