-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write high-order elements to VTK files #41
Comments
After generating test files for Lagrange elements of order 2 and 3 (9 and 16 points, respectively), I learned that ParaView 5.5.0 and 5.8.0 can read them. The elements can be automatically subdivided for smoother surface rendering as well. This looks nice. But contours are still terrible. In fact, they are even worse for these Lagrangian HO elements than for the standard bicubic quads! The contour lines are still jagged, and do not even fall onto the non-subdivided surface (i.e. some run beneath the surface and some above). It is essentially unusable.
|
My conclusion is that, given the current state, we should internally subdivide our HO elements into linear quads at higher resolution than the Legendre or Lagrange points themselves, and just write a larger number of VTK_QUAD elements into our vtu files. |
Old-style bicubic quads are now supported as measurement features and writing to vtu with 4ad8bae |
Omega2D will soon support volumetric computational elements, and ultimately high-order elements. VTK has supported biquadratic quads in the past, which aid visualization in ParaView, but not smooth contours. Since 5.5.0, ParaView has supported additional high-order elements. Here are some links pertaining to the support and definition of these elements.
Arbitrary order Lagrange finite element support in PV 5.5
Detailed discussion and node ordering of Lagrange elements in VTK from Kitware
Discussion and links from GLVis issue
Code specifying VTK element IDs and node order from MFEM - shows VTK_QUAD is 9 and HO Quad is 70
List of standard VTK element types
C++ code to create quad and hex meshes in legacy VTK format
FMS as an interchange format for HO elements
Also, look at
Process_Results.f90
for quick-and-dirty node ordering (not sure where this is).The text was updated successfully, but these errors were encountered: