I have a writeoutput.py
function, where I would like to write my data to vtk files. As I pass a string that identifies the file to write to, I want fenics to open that file and, if it exists, append the current output to it.
So, is there an option in
vfile = dolfin.File(filestring+'__vel.pvd')
that I can pass to the File command, like
vfile = dolfin.File(filestring+'__vel.pvd', 'append')
??
Or how can I do this generally?