Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

exporting data from ansys

Status
Not open for further replies.

maxibonne

Mechanical
Joined
Oct 5, 2008
Messages
29
Location
MT
i would like to export data from a Path, into notepad. i can't find from the path operations menu which is the command. any help please?
 
In GUI:
List -> results -> path data -> file -> save as..

In script:
/OUTPUT,filename,extension, ! redirects output to file
PRPATH,_UX,_UY ! prints path data
/OUTPUT ! resets output redirection

but both solutions result in text file divided into pages.

The other way is to save values from all path points to a variable and export them into file:

*CFOPEN,filename,ext,,APPEND

*do,k,1,path_division
PSEL,itemname,pathname
*get,variable,PATH,0,ITEM,itemname,pathpt,k
*end

*vwrite,variable
%f

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top