getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Export velocity gradient .vtk


From: Michel Fournié
Subject: Re: [Getfem-users] Export velocity gradient .vtk
Date: Sun, 1 Feb 2015 10:10:46 +0100

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 <address@hidden> 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
address@hidden
https://mail.gna.org/listinfo/getfem-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]