Hello everyone,
I am quite new to fenicsx. I am trying to make VTKWriter work. I am using ubuntu 22.04 and dolfinx version 0.7.2 . I installed fenicsx using
conda create -n fenicsx-env
conda activate fenicsx-env
conda install -c conda-forge fenics-dolfinx mpich pyvista
I am using the Poisson equation tutorial as it is from Poisson equation tutorial.
Because of the last lines in the tutorial:
#external post processing
from dolfinx import io
from pathlib import Path
results_folder = Path("results")
results_folder.mkdir(exist_ok=True, parents=True)
filename = results_folder / "fundamentals"
with io.VTXWriter(domain.comm, filename.with_suffix(".bp"), [uh]) as vtx:
vtx.write(0.0)
with io.XDMFFile(domain.comm, filename.with_suffix(".xdmf"), "w") as xdmf:
xdmf.write_mesh(domain)
xdmf.write_function(uh)
I get the following files. xdmf files are fine.
But the following files are generated in the .bp folder.
How to open this data in Paraview? There are multiple options and I was unable to open it until now.