×
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

Post processing -- data retrival

Post processing -- data retrival

Post processing -- data retrival

(OP)
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

RE: Post processing -- data retrival

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

RE: Post processing -- data retrival

(OP)
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

RE: Post processing -- data retrival

Hi,
in your example:
PRNSOL,TEMP

Regards

RE: Post processing -- data retrival

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

RE: Post processing -- data retrival

(OP)
Thank you all ... now I am able to capture what i needed... thanks a lot.

Regards

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