Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Paraview is one of the main systems we use to inspect and visualise our work. However it can be tricky to get the integration between python and Paraview to work.
This document will give a short set of notes on how to set it up if needed.
We managed to make it work by compiling paraview from scratch. Here is a couple of useful links:
The following dependencies were required:
We have managed to get Paraview up and running as the rendering engine. by conducting the following:
PARAVIEW_USE_PYTHON
=ONPARAVIEW_USE_MPI
=ONPARAVIEW_ENABLE_VISITBRIDGE
=ONVTK_SMP_IMPLEMENTATION_TYPE
=TBBIn order to use paraview with python, one must make sure the libraries and packages can be located by python.
Setting the following environment variables should be the way to go:
PYTHONPATH
LD_LIBRARY_PATH
However we do recommend to complete the install of Paraview by using the cmake --install
command. That should prevent the need for setting the LD_LIBRARY_PATH
.
The Jupyter notebook visualisation.ipynb
utilizes paraview, so practical examples can be found there.