home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / avs / 933 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.1 KB

  1. Path: sparky!uunet!news.larc.nasa.gov!sirius.larc.nasa.gov!txn
  2. From: txn@sirius.larc.nasa.gov (Troung Nguyen)
  3. Newsgroups: comp.graphics.avs
  4. Subject: Novice question, please help! (second post)
  5. Date: 19 Nov 1992 14:18:58 GMT
  6. Organization: NASA Langley Research Center, Hampton, VA  USA
  7. Lines: 70
  8. Distribution: world
  9. Message-ID: <1eg7oiINNnnl@rave.larc.nasa.gov>
  10. NNTP-Posting-Host: sirius.larc.nasa.gov
  11.  
  12.  
  13.   Sorry, my messed up the first post.  If you have trouble 
  14.   reading the first one, please ignore it and use this instead
  15.   Thank you.
  16.  
  17.   Truong Nguyen
  18.   txn@radar0.larc.nasa.gov
  19. ================================================================
  20.  
  21.  
  22.  Hi, I am new to this group and AVS.  I need some advise on the simple 
  23.  problem below.
  24.  
  25.  I am having trouble passing parameters "min_ext" and "max_ext"
  26.  from module "read field" to "field to mesh" in the network below
  27.  
  28.  
  29.        |Read Field|
  30.         |
  31.         |
  32.         |
  33.        |Field to Mesh|     |Generate Axes|
  34.         |            |
  35.         |------------------------
  36.         |
  37.        |Geometry Viewer|
  38.  
  39.  
  40.  What I was trying to do is to display 2d uniform field 
  41.  between min_ext and max_ext (both x and y) so that I can superimpose 
  42.  another geometry on top later on.
  43.  
  44.  What I got was a  mesh spaced between 0 and 120  instead of 
  45.  between min_ext and max_ext in both x and y directions. 
  46.  So, the question is how to display the mesh correctly between
  47.  the min and max specified.
  48.  
  49.  I prefer not having to generate the xy coordinate points for 
  50.  each grid point, the field is uniformly spaced.  And module
  51.  "volume bounds" is not compatible with the 2d field.
  52.  
  53.  Thank you very much for responding. Please response via email.
  54.  I use AVS Release 4 on a Sun if it matters.
  55.  
  56.  Truong Nguyen
  57.  txn@radar0.larc.nasa.gov
  58.  
  59. -----------------------------
  60.  
  61.  PS: Below is the field file to read the data. 
  62.  
  63. # AVS field file
  64. # this is a header file for a field to be
  65. # used in conjunction with the  build a field module of AVS
  66. #
  67. ndim = 2
  68. dim1 = 121
  69. dim2 = 121
  70. nspace = 2
  71. veclen = 1
  72. data = float
  73. field = uniform
  74. min_ext = -.762  -.762
  75. max_ext =  .762   .762
  76. label = normalized_data
  77.  
  78. variable 1 file=./almond.dat filetype=ascii skip=3
  79. ^L^L
  80.  
  81. ----------end of field file__________________________
  82.