This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

How to load a .vtk file in a dolfin function?

0 votes

How can I load the data from a file 'velocity.pvd' to a
function u in order to use the ploting capabilities of dolfin?

asked Jul 27, 2015 by Andre Machado FEniCS User (1,040 points)

1 Answer

0 votes

Visualisation is best done in ParaView (www.paraview.org) - free to download.
DOLFIN can't read in pvd files.

answered Jul 27, 2015 by chris_richardson FEniCS Expert (31,740 points)

Thank you for the answer!

What are the formats that dolfin imports to
a function? Is it possible to save the data
in one of this formats?

I am running some Dolfin exemples on Sage
Math Cloud. There isnt't ploting vtk available
on the browser. I just wan't to import a file to a
dolfin function of my Mac terminal and plot
it without external software...

...