×
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

USING *TREAD command

USING *TREAD command

USING *TREAD command

(OP)
Hi,
I'm using *tread command but it don't work, I don't no why. An error message appears *TREAD cannot open file Data.txt.
For my Data.txt file, it is an Excel file that I saved as Unicode file. Is it the problem?
Lyes.

RE: USING *TREAD command

Hi,
most likely the file isn't formatted like ANSYS wants, or you haven't specified a format (it works like in Fortran, a bit cryptic to be honest...) before importing.

Regards

RE: USING *TREAD command

Lyes,
Try saving the file as a *.txt file which is TAB DELIMITED in Excel.  Ansys is picky about how it reads input sometimes but this should work

Good luck,
-Brian

RE: USING *TREAD command

Hi,
in fact Ansys doesn't write/read tabulation-delimited files but rather fixed-width columns files. This also can be achieved with Excel, as Brian says.
Please note that the column width depends upon the item and upon the in/out file (for example, a NLIST file doesn't have the same column width as a results file), so in my opinion, in order to know how Ansys wants the input to be formatted, the best way is to issue a corresponding output command.

Regards

RE: USING *TREAD command

(OP)
Hi,
thank you for your help, the problem that I had was the format of my file! I didn't give the right number of column. But now, every thing is OK!!!
thanks for your help.
Lyes

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