![]() This article illustrates use of the *TREAD command, and differences in where data is placed in a Table Array when a 2-column CSV file is read, versus a multi-column CSV file. ![]() Users might use *TREAD to enter CSV file data, even if the ultimate use for the data was not in a Table Array. A CSV file is easily written from an EXCEL spreadsheet, or by other software. 0.123e-2 versus 0.00123), plus, a variety of numbers of digits of accuracy is supported. *TREAD loads data into a Table Array, and is flexible in whether the data is in floating point or exponential format (e.g. The *TREAD command can read data from a Comma Separated Variable (CSV) file, without a format statement. *VREAD loads data into a numerical Array and requires a file with data in a fixed format specified by the format statement. *VREAD, like *VWRITE, requires a format statement to follow immediately. The *VREAD and *TREAD commands read numerical data from an ASCII text file. More complex data structures are possible, but not discussed in this document. ![]() The most common data reading needs include numbers from a two-column 2D table, or from a multiple-column 2D table. The *TREAD Command and Comma-Separated Values (CSV)Įngineers using TREAD command in Ansys or the *VREAD command to get data into Ansys Mechanical APDL, sometimes get stuck in the process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |