Open mattbement opened 3 years ago
Hello @mattbement, I found this in the AMReX documentation for paraview, it is for iso-surface ... but maybe the same applies for vectors.
Note that Paraview is not able to generate iso-surfaces from cell centered data. To build an iso-surface (or iso-line in 2D):
- Perform a cell to node interpolation: “Filters” → “Alphabetical” → “Cell Data to Point Data”.
- Use the “Contour” icon (next to the calculator) to select the data from which to build the contour (“Contour by”), enters the iso-surfaces values and click “Apply”.
Paraview has fixed some issues with AMReX plotfiles within its latest Release with huge improvements compared to its release candidates. It is worth trying that again with a newer Paraview version. I tested it and I have no issues viewing arrow glyphs of vectors.
I just tested it against the current branch and hit the same issues, i.e. seeing no glyphs. It helped me to first apply an "Extract Surface" filter before using the Calculator and Glyph filters.
HTH, Maikel
Sorry - more a question than an issue. Has anyone been able to visualize glyphs (e.g., arrows) on an AMR mesh in Paraview? Even in the most recent paraview (5.9.RC1), but also applies to 5.8.0, I load an AMReX plotfile, use the calculator to create a vector-valued, cell-centered variable which is just ihat+jhat+khat. I then create a glyph using this variable as the orienting vector. It never complains, but I don't see any glyphs. If I open up one of the example paraview datafiles (can.ex2) and do the same thing, it works fine.