Hello. I want to solve a time dependent problem and plot its solution in time and space. I've done the first, but not the last. How is it possible to do the last???
You can save the solutions to a file
f = File("solution.pvd") t = 0 while t < tfinal: ... solve for u f << u t += dt
Then you can open solution.pvd in paraview and animate it and do other things.
OK. But how is it possible to open the file and plot with respecto to space and time?
You must learn to use paraview. You can also plot within fenics using "plot".
I know "plot". But what i want is to take the solutions that are calculated every time t and gather them into a single plot.
@ kspanakis
Please post the solution or your findings If you were able to solve your problem of plotting solutions for time dependent problems.