So far so good. However, I need help on visualization of results in paraview. I have it installed and running but I don't know on how to visualize .pvd files using paraview. Thanks in advance. David
On 03/12/15 15:09, Angwenyi David wrote:
So far so good. However, I need help on visualization of results in paraview. I have it installed and running but I don't know on how to visualize .pvd files using paraview.
Have you tried opening the .pvd file with paraview (and hitting the "Apply" button)? Cheers, Lawrence
I have tried to open the file in paraview but it cannot be identified. I then tried searching for it in the file finder but cannot find it.
On 03 Dec 2015, at 16:20, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> wrote:
On 03/12/15 15:09, Angwenyi David wrote:
So far so good. However, I need help on visualization of results in paraview. I have it installed and running but I don't know on how to visualize .pvd files using paraview.
Have you tried opening the .pvd file with paraview (and hitting the "Apply" button)?
Cheers,
Lawrence
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
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.
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
On 03/12/15 16:05, Angwenyi David wrote:
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
This file is created in the directory you started the python process in. You can find that from within the python process with: import os print os.path.abspath(os.path.curdir) Cheers, Lawrence
Thank you! I have it! I hope the corrector reader for this files is VTK Particle files.
On 03 Dec 2015, at 17:07, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> wrote:
On 03/12/15 16:05, Angwenyi David wrote:
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
This file is created in the directory you started the python process in. You can find that from within the python process with:
import os
print os.path.abspath(os.path.curdir)
Cheers,
Lawrence
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
The visual output of the helmholtz, burgers and mixed poisson in the tutorials are rectangular surfaces. This is when I open their respective .vtu files. What could be the problem?
On 03 Dec 2015, at 17:07, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> wrote:
On 03/12/15 16:05, Angwenyi David wrote:
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
This file is created in the directory you started the python process in. You can find that from within the python process with:
import os
print os.path.abspath(os.path.curdir)
Cheers,
Lawrence
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (2)
- 
                
                Angwenyi David
- 
                
                Lawrence Mitchell