VTK Lagrange Pyramid 74

Hello,

is there any script to generate a simple vtk lagrange pyramid (type = 74) to check the proper node ordering to export the solution?

Best regards

In VTK, there is the Filters/Sources/vtkCellTypeSource.cxx. It is exposed in ParaView as “Unstructured Cell Types” in the Sources menu.

In VTK I found this:

    case VTK_LAGRANGE_PYRAMID:
      // vtk does not have vtkHigherOrderPyramid.
      switch (npts)
      {
        case 5:
        case 13:
        case 14:
        case 19:
        default:
          vtkLog(WARNING, << "Unsupported number of points for cell - VTK_PYRAMID."
                          << "Supported: None "
                          << "Got: " << npts);
          break;
      }
      break;

in https://gitlab.kitware.com/vtk/vtk/-/blob/master/Filters/General/vtkFiniteElementFieldDistributor.cxx.

Are they planned to be supported?

Best

There are no plans at this point; the issue is that while there are arbitrary-order formulations for integration, those formulations do not behave well when evaluating the shape functions and their inverses near (but not at) the tip of the pyramid. This is needed for visualization, but not integration.

1 Like