Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting nodal solution

Status
Not open for further replies.
Feb 9, 2017
2
Guys, thanks in advance for whom help me.
I am doing an Ansys transient simulation on APDL. Everything was fine, till I need to export my nodal solution. I've looking everywhere how to do it but I still don't and I believe is sth really stupid. That's why ...
I did a transient solution where I have the temperature of the model, I can plot the temperature variation of one node (using nsol and plvar), but I need this variation on a file. I tried creating an array with dim and using vget with a do loop, I can do it for different nodes, cuz I can change the loop for different nodes, but for some reason, I can't for a single node, I can't access the different temperatures during the time, which means that I create an array with the same value in all the rows. I want a file with the temperature changes in time, the same result as I had plotting it. How can I export it?


!***Code to plot at a single node
nodal_solar=node(0.157,0,0.005)
nsol,2,nodal_solar,temp,,X+
plvar,2

I just want those results in a file.
 
Replies continue below

Recommended for you

Guys,

I found it... for those who had the same issue: After you plot your transient solution, access TimeHist Postpro in main menu, The time history Variables windows will open, select the solution and click on list data. Pretty simple and it worked for me. Thanks
 
You can use the vget command to put a variable into an array vector. Then use *vwrite to write the vector to a text file. Make sure you use vget and not *vget. *vget i for use in POST1, vget is used in POST26.

Rick Fischer
Principal Engineer
Argonne National Laboratory
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor