Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

USING *TREAD command

Status
Not open for further replies.

hacinilyes

Materials
Jul 26, 2006
14
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.
 
Replies continue below

Recommended for you

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
 
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
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor