[vtkusers] creating vtk file out of mesh generator

David Doria daviddoria at gmail.com
Fri Nov 12 07:53:17 EST 2010


On Fri, Nov 12, 2010 at 3:49 AM,  <gebbi1986 at freenet.de> wrote:
> Hello,
>
> i have to create a legacy vtk file. The data for this i get from an mesh
> generator like gmsh, tetgen or netgen. In these files, there are the the
> points with coordinates, the elements with a list of the corresponding
> points. Now I wrote a file converter in c++ which converts such a file into
> a *.vtk file. So the points and elements are in the same order in the files
> of the mesh generators as in the *.vtk file. Now my problem is that when i
> view these files for example with paraview, I get a visualisation, but it is
> not the correct. I guess that there is probably a special order for the
> points aso. in vtk? I use the unstructured grid structure. I have no idea
> how to solve this problem. It would be great if you could help me.
>
> Greets
> Gebbi

Can you post a snipped of your conversion to the list, along with
upload the resulting file and the entire (compilable) conversion code
somewhere and provide a link?

David



More information about the vtkusers mailing list