Skip to content

Replace legacy VTK output with XML VTU/PVD across dfnWorks #146

Description

@hymanjd

Summary

dfnWorks currently writes legacy ASCII .vtk files for flow and transport visualization output. These should be replaced with XML .vtu (VTK Unstructured Grid) files and .pvd (ParaView Data Collection) time series files.

Motivation

Legacy VTK is a deprecated format. XML VTU/PVD offers several concrete advantages:

  • Time series support.pvd files encode actual simulation times, so ParaView's time slider maps to physical time rather than sequential file indices
  • Modern format.vtu is the current VTK standard and is better supported by ParaView, VisIt, and downstream Python tooling (pyvista, vtk)
  • Extensibility — XML VTU supports binary and compressed data arrays, which will matter as mesh sizes grow
  • Consistency — the new TOUGH output parser (parse_tough_output) already writes VTU/PVD; the PFLOTRAN parser should match

Scope

  • parse_pflotran_h5 — currently writes legacy .vtk; switch to .vtu + .pvd
  • parse_pflotran_vtk_python — same
  • Any other dfnWorks routines that write .vtk output
  • Update output directory names from pflotran_vtk_outputspflotran_vtu_outputs for consistency
  • Update documentation and example notebooks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions