×
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

Save .lis file in ANSYS 13.0

Save .lis file in ANSYS 13.0

Save .lis file in ANSYS 13.0

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

RE: Save .lis file in ANSYS 13.0

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
--
http://engineeringliberty.wordpress.com

RE: Save .lis file in ANSYS 13.0

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

RE: Save .lis file in ANSYS 13.0

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: 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