[Gmsh] Gmsh to Paraview
Serban.Georgescu at uk.fujitsu.com
Serban.Georgescu at uk.fujitsu.com
Mon Nov 28 17:42:19 CET 2011
Hi Yosuke,
A while ago I have written a code to convert some other file format, similar to gmsh, to Unstructured VTK (VTU) format.
What you are trying to do seems very similar, and I did not have any problem with the converter.
What exactly does not work?
Does the converter crash? Does paraview crash when opening the file? Do you get the wrong shape in Paraview?
If your problem is one of the last two, you could do a very simple shape (e.g., one tetrahedral), generate a VTU file in ASCII format and look at it in notepad.
Cheers,
Serban
From: gmsh-bounces at ace20.montefiore.ulg.ac.be [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] On Behalf Of Yousuke Ootsuki
Sent: Tuesday, November 22, 2011 7:54 AM
To: gmsh at geuz.org
Subject: [Gmsh] Gmsh to Paraview
Dear All
I am trying to write visialisation code of gmsh file in Paraview. I thought to create the geometry in Paraview just copying connectivity and coordinate from gmsh file. Obviously, need to add cell type and offset values for Paraview. However, it did not work.
The element type I am interested is tet4. The code automatically detect volume element section and read connectivities. Points, lines and surface connectivities are ignored. All Coordinate positions are scanned too.
I tested my code by hand specified coordinate and connectivity and it worked without any issue.
I am not familiar with mesh algorithms can anyone give me what could be the reason ?
Best Regards
--
Yosuke Otsuki, ME
School of Information Science
Japan Advanced Institute of Science and Technology
1-1 Asahidai,
Nomi, Ishikawa,
Japan 923-1292
______________________________________________________________________
Fujitsu Laboratories of Europe Limited
Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4 8FE
Registered No. 4153469
This e-mail and any attachments are for the sole use of addressee(s) and
may contain information which is privileged and confidential. Unauthorised
use or copying for disclosure is strictly prohibited. The fact that this
e-mail has been scanned by Trendmicro Interscan does not guarantee that
it has not been intercepted or amended nor that it is virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111128/c960c12c/attachment.html>