lime-rt / lime

Line Modeling Engine
http://www.nbi.dk/~brinch/index.php?page=lime
Other
25 stars 25 forks source link

GUI VTK viewer #280

Open mcordiner opened 2 years ago

mcordiner commented 2 years ago

Hello, I was wondering if anybody has been having trouble visualising their unstructured grids in Paraview. Several years ago, I remember doing this without trouble, but every time I try to load a grid.vtk file produced using the latest version of LIME, there is an error about reading the ascii file. Either there is a recently-added bug in LIME or Paraview, but I'm not sure which - I can't see any obvious problems with the grid.vtk file, but I'm not an expert in that file format. Are there any other good ways of viewing the LIME VTK files?

mcordiner commented 2 years ago

Thanks to some troubleshooting by Nathan Roth, it seems that Paraview can only cope with VTK files with up to ~ a thousand grid points. We have therefore implemented a change to the LIME code to make it writes newer VTU files instead of VTK files. I would suggest this be implemented by someone with the ability to update the code repository, as it's useful to be able to visualize larger models.