×
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

Saving a specific value to file

Saving a specific value to file

Saving a specific value to file

(OP)
After the solution is complete and the results are viewable, what command lines should I use to store a specific value at a specific node to a file?

For example, how do I store the value of stress in the Y direction at Keypoint 11 to a file named results.out?

 

RE: Saving a specific value to file

There are many ways to do this, depending on the format of the output you need (below is the simplest method). Also, remember that you cannot output stress (or any results quantity for that matter) at a keypoint, since this is only a geometric quantity and does not form part of the mathematical model. If you mean NODE 11, rather than keypoint 11, then look at the following.

Go into /post1 and read in your results file. Then create a text file with the following commands:

/out,results,out
nsel,s,node,,11
plns,s,y
alls
/out

Read this text file in using "File => Read input...".

Voila.


------------
See FAQ569-1083: Asking questions the smart way on Eng-Tips fora for details on how to make best use of Eng-Tips.com

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