Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Import CSV data into table array using *TREAD in ADPL

Status
Not open for further replies.

AlexanderDewar

Mechanical
Joined
Apr 20, 2012
Messages
5
Location
GB
Hi,

I have two single column, 151 row files, time.csv (attached) and pressure.csv. I wish to import this into ANSYS/LS-DYNA so I can apply a varying pressure to a surface. I have tried the following:

*DIM,time,table,151,1
*TREAD,time,time,txt

*DIM,pressure,table,151,1
*TREAD,pressure,pressure,csv

I get the error: *TREAD end-of-file in data read.

I have also tried *VREAD, but I'm afraid I don't know the Fortran format code:

*DIM,pressure,array,151,1
*VREAD,pressure,pressure,csv
(1F4.9)

And I get: (1F4.9) is not a recognised begin command, abbreviation or macro.

Thanking you in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top