|
[Sponsors] |
April 18, 2005, 13:54 |
vread not storing all vertices
|
#1 |
Guest
Posts: n/a
|
I am having a bit of a problem with the vread command. I have a .vrt file with 97168 xyz vertex coordinates to be read in. When I try vread, here is the output that I get:
vread,vertices.vrt,0,all,,code READ VERTICES FROM FILE vertices.vrt USING OFFSET = 0 STORE VERTICES 1 THROUGH 999999999 97168 VERTICES READ IN FROM FILE vertices.vrt MAXIMUM VERTEX NUMBER IS NOW 99 99 IS MAXIMUM VERTEX NUMBER IN FILE So, it seems as though it is reading in all of the vertices, but only keeping 99 of them, as only 99 appear when I try to plot them. Is this a problem with the format of my (self-generated) .vrt file? or does it relate to something I am doing while trying to read in? I appreciate the time and help. -Chris |
|
April 18, 2005, 14:23 |
Re: vread not storing all vertices
|
#2 |
Guest
Posts: n/a
|
The likeliest source is the format of your file. Try working with a small group (1-200) of vertices. Are you trying to read ascii or binary? If ascii, you should be able to copy the fortran format statement right out of the manual and use it. Binary is even simpler (same numbers, no format). You might also try constructing a program to read what you have written.
|
|
April 18, 2005, 14:52 |
Re: vread not storing all vertices
|
#3 |
Guest
Posts: n/a
|
I am, in fact using ascii. I did not find any documentation in what I have regarding formatting with vread. could you direct me to that? I have simply been creating arbitrary vertices and using vertex write to see the format of that output and try to match it for my input.
Regarding fortran, I was having difficulties with some duplicate vertices in terms of handling/formatting/deleting some of these. Therefore, I currently have a perl script to create my .vrt file. I can't see how this would create a problem, aside from the formatting, but if there is something in the manual, that may clear things up. Thanks for the help, Steve. -Chris |
|
April 18, 2005, 22:06 |
Re: vread not storing all vertices
|
#4 |
Guest
Posts: n/a
|
U can try to close the file of .vrt after you write someting to it or read from it. I hope it will help U. Good luck!
|
|
April 19, 2005, 12:31 |
Re: vread not storing all vertices
|
#5 |
Guest
Posts: n/a
|
If you look at the help for either VREAD or VWRITE, the format is included.
|
|
May 18, 2005, 02:48 |
Re: vread not storing all vertices
|
#6 |
Guest
Posts: n/a
|
increase maxvrt number and try it again
|
|
May 18, 2005, 02:50 |
Re: vread not storing all vertices
|
#7 |
Guest
Posts: n/a
|
Give this command, MEMO MXSTOR, and in crease the number and try it again
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Storing Surface Area of each cell in a file? | Markus Alzon | FLUENT | 0 | June 21, 2007 08:38 |
storing variable value at a particular point | prabhu | CFX | 4 | June 20, 2006 19:50 |
Storing vectors with C_UDMI | nicolas | FLUENT | 4 | February 16, 2005 05:31 |
Storing animations of pathlines &particle tracks | Rodrigo | FLUENT | 4 | August 12, 2004 10:40 |
data storing with c++ | yfyap | Main CFD Forum | 7 | April 27, 2001 10:43 |