Skip to content

Python package to write VTK files in XML format, including time series *without* PVD files

License

Notifications You must be signed in to change notification settings

walkersw/VTKwrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VTKwrite

Python package to write VTK files in XML format

  • This class can write a static unstructured grid, with time-dependent data, all in the same .vtu file!

  • This package was forked from another package "PyEVTK" by Paulo A. Herrera.

https://github.com/paulo-herrera/PyEVTK

  • Installation is done in the standard way: python setup.py install

  • You need Python 3.6 or better.

  • Compatibility: the generated files can be read by Paraview versions: 5.4, 5.5, 5.6, 5.7, AND 5.11. I added a time-dependent .vtu file example to the unit tests of Paraview, so it should keep working in the future.

Local Install Help

If you need to make a "local" install (because you are not an administrator), then the install command will look like:

python setup.py install --prefix ~/.local

where you need to modify the ~/.local text to reflect your system setup.

Note: the command above will install it to this directory: ~/.local/lib/python3.x/site-packages/

Usage

After installing, go to the ./examples/ sub-directory and do this:

python runall.py run

to run the examples; you can also do

python runall.py clean

to delete the output.

The individual Python files should give you enough information to use this package.

About

Python package to write VTK files in XML format, including time series *without* PVD files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages