Hi Tom, So if foamToVTK works, it sounds like a reader bug. Maybe somewhere where the prism order is getting swapped - or something else where the reader's cell modeller is getting into trouble. It may not work, but if you try to export from paraview to VTK format (ie, use the OpenFOAM reader for reading). Then with some effort it might be able to identify which cells are different. Presumably the cell ordering will be preserved in both cases, but still not 100% trivial. Either way, we need to figure out which cell types are causing the issue, or an off-by-one of whatever.
/mark ________________________________________ From: Tom Fahner <[email protected]> Sent: Thursday, March 16, 2017 12:47:05 PM To: Mark Olesen Cc: ParaView Subject: Re: [Paraview] Native OpenFOAM reader for ParaView 5.3.0 has some weird visualization issues. Hi Mark, I have no polyhedral cells (hybrid tetrahedron/prism mesh), so I guess changing "decompose polyhedral on/off" does not make sense. In fact the smaller mesh that I tested with before did show the correct visualization and that mesh had polyhedral/hexagonal cells. It did not matter whether I used decompose polyhedral on/off. I also have experienced the slicing issues from time to time with various paraview versions with polyhedral meshes, but the effect was typically much less severe than in the current situation. Using foamToVTK (with and without the -poly option) does indeed work and provides the correct visualization. So yes this can be a workaround for now, but I than rather go back to 5.1.2. Regards, Tom 2017-03-16 11:44 GMT+01:00 Mark Olesen <[email protected]<mailto:[email protected]>>: Hi Tom, Sorry, no answers - only questions/ideas: Is decompose polyhedral on or off? How do things look using the other setting? If the number of cells corresponds to checkMesh - then you either have no polyhedra, or decompose polyhedral is off. If you use foamToVTK (with and without -poly) and then read the VTK file back in, how does that compare? Using foamToEnsight could be yet another check, but without the option to decompose polyhedra. In most paraview versions I've had issues with slicing through polyhedron (eg, from the motorBike tutorial). The symptoms are either holes in the visual (like you have) or crashing the program. I haven't checked if this is better/worse in 5.3.0. Cheers, /mark ________________________________________ From: ParaView <[email protected]<mailto:[email protected]>> on behalf of Tom Fahner <[email protected]<mailto:[email protected]>> Sent: Thursday, March 16, 2017 9:39:49 AM To: ParaView Subject: [Paraview] Native OpenFOAM reader for ParaView 5.3.0 has some weird visualization issues. Dear all, Please find attached two images that show my OpenFOAM model in ParaView 5.3.0. It was the standard Binary Installers package downloaded from the website for 64 bit linux (OpenSUSE Leap 42.1). The correct number of cells is reported in the information tab (when compared to OpenFOAM's checkMesh result). The patches are all rendered nicely, but it looks like some cells are missing in the domain/volume. Is there some setting that I need to apply? Please note that the mesh has about 25.8 million cells, for smaller meshes this was not a problem. A colleague had similar issues. ParaView version 5.1.2 did not have this problem, ParaView 5.2 was not able to open the OpenFOAM files at all. Best regards, Tom -- T.C. Fahner e: [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>> -- T.C. Fahner e: [email protected]<mailto:[email protected]> t: +31-6-52642814 a: Groene Woud 48 4834 BC Delft Netherlands _______________________________________________ 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
