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