Hello, The gradient of 2D velocity field can’t be represented under vtk (it is not an export problem). Generally from it you can compute the vorticity than can be plot.
M.F. > Le 1 févr. 2015 à 09:56, Eleonora Piersanti <[email protected]> a > écrit : > > Hi to everyone! > I computed a 2D velocity field U based on P2 elements. I computed its > gradient with the function: > getfem::compute_gradient(mf1, mf2, U, V), > where mf1 is P2 element, mf2 is P1 element, U is the velocity vector and V is > the vector containing the gradient which dimensions are 2*mf2.nb_dof() as > prescribed by the userguide. > It seems to work. > Now, I would export the gradient field in .vtk. How can I do? > Thank you, > Nora > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users
_______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
