23 Feb
2017
23 Feb
'17
2:57 p.m.
On 23/02/17 14:51, Robert Long [RPG] wrote:
Hello Firedrake peoples,
I have ran a simulation which outputs a time dependent series of results files, with a .pvd extension, and a load of .vtu files.
When i try to visualise these in firedrake i just see the x-domain (its a 1d problem) with a function of intensities on it.
DO you know how i can take the values of the function and plot them against x for an x-y plot?
If not, are there alternative output options?
You can "warp by scalar" in the paraview interface. Alternately, you can use the matplotlib plotting we have for 1-D functions: while t < tend: ax = plot(one_d_function) # save figure here. This page has more information: http://firedrakeproject.org/visualisation.html Lawrence