Visualize fibers in VTK
Description
It is desirable to visualize the fibers placed in the domain. The problem is that the DUNE VTK reader does not support visualizing line data. Line data can be stored as vtkPolyData
, which can be written to a file using vtkPolyDataWriter
. However, this requires the VTK library.
Proposals
- Extend existing VTK writers to store line data using the VTK library. This requires VTK as large dependency -- but that a problem?
- Use Python to add VTK line data. This requires the Python VTK library, which is rarely up to date with latest Python versions. It also requires post-processing out output files.
- Write Python script for visualizing everything, loading VTK files and the YAML input file.
Edited by Lukas Riedel