XANSYS Message: 92867 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: [APDL] *VREAD
Author: ANSYS User Discussion List
Date: 2008-04-16 22:03:33

Hello all,

First off, I would like to thank xansys moderators, who are working hard to
make it better for us.

Then, I recently ran into a problem where I wanted to import a text data
into an array and decided to use *VREAD. I noticed this command fills the
the array by column, but I needed to import the file as it is. For example,
say I have a data file (data.txt) that contains:

1 2 3
4 5 6
7 8 9

When I read it by *VREAD (*VREAD,myArray(1,1,1), data,txt,,3,,1,) it filled
the array as follows.

myArray =

1 4 7
2 5 8
3 6 9

So, I had to transpose the matrix by *mfun command each time I import
external data. Also, I didn't quite understand how Label, and n1, n2, n3
fields work in *VREAD command.

My question is: does anybody know if it is possible to read in matrix by row
using *VREAD?

Thanks all for the response,
--
Shakhrukh Ismonov
Ph.D. Student
ME Dept. MSU


Posts possibly associated with message #92867AuthorDateScore
40991[APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
40992Re: [APDL] *vread with mixed character/number array.Dave Conover2002/08/22 
40993Re: [APDL] *vread with mixed character/number array.Peter Frei2002/08/22 
40994Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
40995Re: [APDL] *vread with mixed character/number array.Ashok2002/08/22 
40996Re: [APDL] *vread with mixed character/number array.Gordon May2002/08/22 
40997Re: [APDL] *vread with mixed character/number arrayBob Weathers2002/08/22 
40998Re: [APDL] *vread with mixed character/number array.Peter Frei2002/08/22 
40999Re: [APDL] *vread with mixed character/number array.Ian Prentice2002/08/22 
41002Re: [APDL] *vread with mixed character/number array.Don Shaffer2002/08/22 
41011Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/22 
41013Re: [APDL] *vread with mixed character/number array.John Swanson2002/08/22 
41014Re: [APDL] *vread with mixed character/number arrayBob Weathers2002/08/22 
41077Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/26 
41079Re: [APDL] *vread with mixed character/number array.John Swanson2002/08/26 
41080Re: [APDL] *vread with mixed character/number array.Ashok2002/08/26 
41083Re: [APDL] *vread with mixed character/number array.John Crawford2002/08/26 
41084Re: [APDL] *vread with mixed character/number array.Bob Weathers2002/08/26 
41086Re: [APDL] *vread with mixed character/number array.Ashok2002/08/26 
41093Re: [APDL] *vread with mixed character/number array.John Crawford2002/08/26 
41101Re: [APDL] *vread with mixed character/number array.Joe Metrisin2002/08/26 
41103Re: [APDL] *vread with mixed character/number array.Eric Miller2002/08/265
41106Re: [APDL] *vread with mixed character/number array.Fernand Thomassy2002/08/26 
41110Re: [APDL] *vread with mixed character/number array.Eric Miller2002/08/26 
41112Re: [APDL] *vread with mixed character/number array.Dan Bohlen2002/08/26 
41126Re: [APDL] *vread with mixed character/number arrayBob Weathers2002/08/26 
41161Re: [APDL] *vread with mixed character/number arrayJohn Swanson2002/08/27 
41162Re: [APDL] *vread with mixed character/number arrayBob Weathers2002/08/27 
41178Re: [APDL] *vread with mixed character/number arrayJohn Swanson2002/08/27 
41213Re: [APDL] *vread with mixed character/number arrayJohn Swanson2002/08/28 
41216Re: [APDL] *vread with mixed character/number arrayMartin Liddle2002/08/28 
41237Re: [APDL] *vread with mixed character/number arrayBob Weathers2002/08/28 
41239Re: [APDL] *vread with mixed character/number arrayJohn Swanson2002/08/28 
41242Re: [APDL] *vread with mixed character/number arrayJoe Metrisin2002/08/28 
41271Re: [APDL] *vread with mixed character/number arrayFernand Thomassy2002/08/29 
41273Re: [APDL] *vread with mixed character/number arrayJohn Swanson2002/08/29 
74244Re: [APDL] *vread for character parametersSreeram, Kiran (GE Energy)2005/01/27 
74245Re: [APDL] *vread for character parametersSreeram, Kiran (GE Energy)2005/01/27 
92867[APDL] *VREADANSYS User Discussion List 2008/04/16 
92868Re: [APDL] *VREADFernand Thomassy2008/04/16