Hi,
I have two questions related to the savevtk function :
Best regards.
Yes, for the both questions. Also, both of these can be done in a single line and saved in a single .vtu file. See documentation Visualization for the essentials.
.vtu
Something like this should work (in both 2D and 3D):
load "iovtk" mesh Th = (...); fespace Vh(Th,P1); Vh uh, vh; fespace Qh(Th,P0); Qh qh; int[int] vtuOrder=[1,1,0]; ... savevtk("data.vtu",Th,uh,vh,qh,dataname="u v q",order=vtuOrder);
if