×
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

ANSYS Transient Analysis Results for All Nodes for Matlab

ANSYS Transient Analysis Results for All Nodes for Matlab

ANSYS Transient Analysis Results for All Nodes for Matlab

(OP)
Hello everyone,

I have spent too much time on this matter as it is, therefore decided to ask for help.

I am running a transient analysis with 500 steps where I apply a tone burst on a beam, and I would like - at the end of my simulation - to retrieve all results for all nodes and convert it into a .dat or .txt file. This means no headers and nothing of the sort.

I believe I must use /Post26, but because it can only store 200 variables at a time, I have to store 200 nodes at a time, meaning writing the following code many, many times:

NSEL,S,LOC,X,0,10*L/DivL    
NSEL,R,LOC,Y,-He,He  
*VGET,NODENUM1,NODE,0,NLIST
*GET,NUM_NODES1,NODE,0,COUNT

*DO,I,1,NUM_NODES1,1
 ANSOL,I+1,NODENUM1(I),EPEL,X,EPELX_I+1
 STORE,MERGE
 PRVAR,2,
 LINES,1000  
 PRVAR,2,
 XVAR,1  
 PLVAR,2,
 FILLDATA,191,,,,1,1
 REALVAR,191,191
*ENDDO

*DIM,S1,,STEPS,NUM_NODES1,0     !Define temporary array
*DIM,TIME,,STEPS,1,0
VGET,TIME,1,,
*DO,J,1,NUM_NODES1,1
 VGET,S1(1,J),J+1, ,   
*ENDDO

NSEL, ALL


Is there a easier way to do this without having to repeat code and still presenting results in a proper manner to be used on Matlab?

Thanks in advance.

NNMB

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