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!

Post processing -- data retrival

Status
Not open for further replies.

hnng

Civil/Environmental
Aug 17, 2007
38
Hi All,

I want to write "node-number, nodal solution value" using APDL to a specified file. Although I can read that in General postproc->List result->Nodal Sol but I need to execute this from inside the APDL.

Your comments are appreciated.

Regards
 
Replies continue below

Recommended for you

So write an apdl macro to do it then? I don't get what you're trying to ask.
 
Hi Stringmaker,

I have an APDL macro which has a loop and in each loop it solves for some given boundary condition value. Thus I wish to capture node number and corresponding nodal solution value in a file.

A command like *get,t1,NODE,All,TEMP will give me all the temperature at selected nodes but not the corresponding node number with it. My aim is to get a file with following format (which is pretty much the output of General postproc->List result->Nodal Sol):

Node Number, Nodal solution value

My question is, what set of command should I use data in this format.

I hope I made my query clear, let me know if anything else is required.

Regards
 
Hi,
in your example:
PRNSOL,TEMP

Regards
 
How about

*cfopen,file,txt
alls
nnn=ndnext(0)
*dowhile,nnn
*get,t1,NODE,nnn,TEMP ![or better t1=temp(nnn)]
*vwrite,nnn,t1
(F3.0,F12.0)
nnn=ndnext(nnn)
*enddo
*cfclose
 
Thank you all ... now I am able to capture what i needed... thanks a lot.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor