I am actually trying to visualize the output in the tutorials. We already have for example: File(“poisson_mixed.pvd”) << u I have done: output = File(“poisson_mixed.pvd”) output << u del output And after that, I cannot locate the file poisson_mixed.pvd I might have erred somewhere.
On 03 Dec 2015, at 16:39, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> wrote:
On 03/12/15 15:29, Angwenyi David wrote:
I have tried to open the file in paraview but it cannot be identified.
What error did paraview give?
If you still have the python session that you used to create the pvd file open, you will need to close the pvd file in that before it appears in a useable form on disk:
So if you do something like:
output = File("output.pvd")
output << my_function
you need to do
del output
before the output.pvd is useable. This happens automatically when python exists.
Cheers,
Lawrence
I then tried searching for it in the file finder but cannot find it.
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake