[vtkusers] Problems writting an unstructured grid to Exodus II

Eugen Wintersberger eugen.wintersberger at jku.at
Fri Mar 27 06:47:45 EDT 2009


Hi there
  I want to write an unstructured grid of triangles to an Exodus II file
using vtkExodusIIWriter. The Python code looks somehow like this

ug = vtk.vtkUnstructuredGrid()
.....setup grid.....

writer = vtk.vtkExodusIIWriter()
writer.SetFileName("mesh.e")
writer.SetInput(ug)
writer.Write()

Unfortunately the code exits with a segmentation fault. The grid
contains no attribute data, only the mesh.
Has anyone an idea whats going wrong here?

regards 
    Eugen
-- 
--------------------------------------------
|                                          |
| Dipl. Ing. Eugen Wintersberger           |
| Department of semicondutor physics       |
| University of Linz                       |
| Altenbergerstrasse 69                    |
| A-4040 Linz                              |
| Austria                                  |
|                                          |
| Mobile.: +43 664 3112861                 |
| Tel.: +43 732 2468 9605                  |
| E-Mail.: eugen.wintersberger at jku.at      |
| Skype: eugen20056221                     |
| ICQ: 214418739, nickname: thot           |
|                                          |
--------------------------------------------




More information about the vtkusers mailing list