I am trying to use vector data in Visit 2.6.0. Each component of the data that I have is separated into three scalar quantities. I want to know how to combine these scalars into one vector quantity that can be used in visit. <br>
<br>So far, I have tried to do this using HDF5 data organized two ways: one where all the data for each component is in one file (for example - Bx.h5, By.h5 etc.), the other way involved having the data separated by refinement grids in 32 files per component (so, Bx_file_*.h5 where "*" is from 0 to 31). With both methods I have run into issues when trying to draw vector or streamline plots. <br>
<br>For the single file component data, I first loaded each component into its own database. Then I used the database comparison wizard to setup an evaluation of type "Between meshes in two separate databases" for my y and z component. The target database was Bx.h5 and the target mesh was "Carpet AMR-grid" while the donor database was By.h5 and Bz.h5 respectively with donor field "MHD_EVOLVE--By" and "MHD_EVOLVE--Bz." I tried both connectivity and position based CMFE. Neither seemed to make a difference. And I just chose placed the donor field on the target mesh. I then made a database correlation based on time between my three databases. Then in the expressions editor, I made a vector mesh variable defined by
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">{<MHD_EVOLVE--Bx>,By_comp,Bz_comp} where By_comp and Bz_comp were the resultant expressions from the database comparison wizard. <MHD_EVOLVE--Bx> is the component in the active database. I then went to add a vector plot using the vector expression. When I would click draw on the vector plot I would get the following error:
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Vector: (InvalidExpressionException)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">viewer: The expression was invalid: The expression parser encountered an unexpected token:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">conn_cmfe(</home/projects/By.h5:MHD_EVOLVE--By>, Carpet AMR-grid)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> ^^^</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I don't know if this matters but in the visit window, the three carets are under "AMR"</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Before that, I also tried pretty much the same steps with the component files containing 32 files. I then got a similar error:
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Vector: (InvalidExpressionException)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">viewer: The expression was invalid: The expression parser encountered an unexpected token:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">conn_cmfe(</home/projects/B5/3d_data_201207012347/By.file_* database:MHD_EVOLVE--By>, Carpet AMR-grid)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> ^^^</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
Again, the three carets are under "AMR"</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
I should note that I am having no trouble drawing scalar quantities with volumes plots for example. The components individually will draw properly. <br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Has anyone successfully loaded and drawn cactus vector data either by combining three scalars in visit or by using another form of data? <br>
</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Thanks,</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
Brian Taylor<br></p>