Exporting results for visualisation
We now turn to the exporter facility of Feel++ which allows to provide the results of Feel++ solves in a format readable by ParaView or EnSight.
In this 2D and 3D example, we
-
download a mesh description from github.com/feelpp/feelpp/
-
build the mesh and partition it
-
build a function space \(X_h\)
-
create an element \(u\) of \(X_h\) which interpolate an expression givn by the end-user
-
export to the Ensight Gold format (the default Feel++ format) of Feel++
Example to build a mesh and function space, create an element and visualize them in ParaView
404: Not Found
To run this example,
mpiexec -n 4 python3 test_exporter.py
The location of the results are shown in the output of the script.
Output of the script
It remains to open the file .case
with ParaView or EnSight.
It should look like this
