Chaitanya,

If I understand your question correctly, you should be able to solve your 
problem by running the Generate Ids filter before writing out the CSV file.

-Ken


From: ParaView <[email protected]> on behalf of Chaitanya Raj Goyal 
<[email protected]>
Date: Thursday, November 24, 2016 at 6:44 PM
To: "[email protected]" <[email protected]>
Subject: [EXTERNAL] [Paraview] Need node numbers and element node connectivity

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:

[cid:[email protected]]
​
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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to