[Paraview] Need node numbers and element node connectivity

Chaitanya Raj Goyal chaitanyaraj108 at gmail.com
Thu Nov 24 20:44:52 EST 2016


Dear All,

I run a FEM simulation in FEniCS to obtain two output files. One is of .vtu
format and the other is of .xdmf format.

However, because I do parallel processing, in the former case, I actually
obtain different .vtu files for different processors, a single .pvtu file
and  a single .pvd file. In the latter case, I obtain a single .xdmf and a
.h5 file.

Both simulations are 2D, and if you open the spreadsheet format in
Paraview, you see something like this:


​
I need to do some post processing on the solution vectors 'u' and 'v'. You
may also refer to them as 'ux' and 'uy' OR "f_18_1" and "f_18_2".
Therefore, I need to import it in MATLAB. To do that, in ParaView, I first
go to menu >> save data >> save file in CSV format for all points. The csv
file I am looking at gives me 6 columns - Coordinate X, Y, Z, Solution ux,
uy, uz. Here Z and uz are zero vectors. How can I also get the node number
for the given node coordinates, and how can I get the elemental nodal
connectivity? Any help is greatly appreciated!

Thanks in advance!
Chaitanya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161124/a9ad22bf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wave2.png
Type: image/png
Size: 54989 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161124/a9ad22bf/attachment.png>


More information about the ParaView mailing list