<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Mark,<div><br></div><div>It's actually fairly simple. Using the "Expressions..." item in the "Controls..." menu, you can create a new variable of a vector type. Just choose a name, choose "Vector Mesh Variable" from the "Type" drop-down box, and then put the variable in this format in the "Definition":</div><div><br></div><div>{magx, magy, magz}</div><div><br></div><div>which creates a three-dimensional vector from the three scalar components. You'll probably have to choose the variable names from "Insert Variable" since they're not likely to be exactly magx, etc. but some variant of those depending on your version of VisIt and FLASH. This does work, though, as I use it to generate velocity vectors from velx, vely, and velz.</div><div> </div><div>Best,</div><div><br></div><div>John ZuHone</div><div> <br><div><div>On Sep 5, 2008, at 6:18 PM, Mark Miesch wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "> <div><br></div>Hi all - <div><br></div><div>A quick question about  using VISIT for FLASH visualization.</div><div><br></div><div>I'd like to make streamline plots of the magnetic field from an</div><div>MHD FLASH simulation.  I can read the data into VISIT just fine </div><div>but it interprets magx, magy and magz as scalar fields.  How </div><div>do I let VISIT know that these are three components of a </div><div>vector field so I can enable streamline and vector plots?</div><div><br></div><div>Many thanks,</div><div>- Mark</div><div><br><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Mark Miesch</div><div>HAO/NCAR</div><div>Boulder, CO 80307-3000</div><div>303-497-1582</div><div><a href="mailto:miesch@ucar.edu">miesch@ucar.edu</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br></div></div></blockquote></div><br></div></body></html>