PyVT is a open-source light-weight python-based visualization tool built upon VTK. It is designated for visualization and graphic analysis of CFD/fluid-dynamic datasets. It is capable of generating cutplane/streamline/vector/isosurface in a interactive GUI.
The details of PyVT are documented in the following paper. We appreciate you citing our work. @article{liu2021pyvt, title={PyVT: A python-based open-source software for visualization and graphic analysis of fluid dynamics datasets}, author={Liu, Qing and Qiao, Zheng and Lv, Yu}, journal={Aerospace Science and Technology}, pages={106961}, year={2021}, publisher={Elsevier} }
- python3
- numpy
- vtk
- PyQt5
- matplotlib
naive approach:
- Download the tarball package and uncompress it
- Make sure Python3 installed
- Run: python3 setup.py install
if conda is used:
- create a new environment: conda create --name myenv python3/python
- step 1 should install pip already, just run: pip install ./pyvt-1.0
Once installation of cgns is complete, navigate to the folder of cgns_to_vtk, and check the path of runtime library to be loaded. On Mac, do: " otool -L ./cgns_to_vtk " to check the search path; and use the command: " install_name_tool -add_rpath "@loader_path/../../lib" cgns_to_vtk " to add additional search path so that the dyn library can be loaded when cgns_to_vtk is executed
-
issue might occur when install matplotlib with newer-version python; make sure to upgrade the pip to the lastest version; I encountered issue with pip version 19.2.3; and resolved this issue with pip version 21.1.1
-
issue might occur when loading PyQT on ubuntu since a required package component SIP is installed in a separate package folder. The solution is simply to copy SIP .so lib into the PyQT libs folder