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!

Saving a specific value to file

Status
Not open for further replies.

AbsolutValu

Mechanical
May 22, 2009
1
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?

 
Replies continue below

Recommended for you

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 for details on how to make best use of Eng-Tips.com
 
Edit: small mistake in my code.

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



------------
See faq569-1083 for details on how to make best use of Eng-Tips.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor