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!

Save .lis file in ANSYS 13.0

Status
Not open for further replies.

QwertyKev

Aerospace
Nov 3, 2011
2
I am fairly new to ANSYS and seem to run up against a roadblock after many hours of searching help files and on-line forums. I seem to be having trouble automating a save operation of a .lis file using the command prompt in ANSYS 13.0. I have reviewed other threads on this issue but none of the solutions seem to work for me. This is my code at this point.

!Print MST and MSB in external Window (element tables)
PRETAB,MST,MSB
/OUTPUT,C:\Users\Name\Desktop\TEST,txt,

Every time I run this code the text file is blank. If someone could point me in the right direction that would be wonderful.

Thanks
 
Replies continue below

Recommended for you

You have to change your output to TEST.txt before you print out your etable results for the output to be stored to file. So, the /OUTPUT command comes first.

//signed//
Christopher K. Hubley
Mechanical Engineer
Sunpower Incorporated
Athens, Ohio
--
 
Okay, I switched the lines around but the end result is still the same (blank text file on the desktop).

!Print MST and MSB in external Window (element tables)
/OUTPUT,C:\Users\Name\Desktop\TEST,txt,
PRETAB,MST,MSB

Something tells me I need another line of code somewhere else, but I am not sure what or where. Any help with this would be much appreciated.
 
Yes indeed you may have - your code doesn't show an ETABLE having been defined, although you refer to labels MST and MSB. You need to first define the element table (ETAB) (along with labels) before you can print it using PRETAB.

Something like:

Code:
/POST1

ESEL,S,....   ! select the elements for the ETABLE
ETAB,....     ! define items to be placed in ETABLE

/OUTPUT,C:\Users\Name\Desktop\TEST,txt,
PRETAB,MST,MSB

/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