visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
437 stars 116 forks source link

CGNS reader incorrectly interprets files with boundary face/edge geometry #889

Closed aowen87 closed 5 years ago

aowen87 commented 5 years ago

When I try to view CGNS data which includes boundary element geometry (boundary "sections" in CGNS terms) in VisIt with a pseudocolor plot, VisIt gives a warning that "The compute engine running on host ... issued the following warning: In domain 0, your zonal variable "Density" has 10000 values, but it should have 12020. Extra 0.'s were added to ensure VisIt runs smoothly." The plotted data is then displayed incorrectly. The correct behavior would be to have no warning, as zonal variable data logically could be associated with only the internal cells, and not necessarily the boundary elements. TecPlot does not have this issue and can plot these data sets correctly. I have attached two files, both of a 2D data quadrilateral mesh data set: one contains the boundary face geometry, the other does not. The one with boundary faces exhibits the problem described, the other works perfectly.

-----------------------REDMINE MIGRATION----------------------- This ticket was migrated from Redmine. As such, not all information was able to be captured in the transition. Below is a complete record of the original redmine ticket.

Ticket number: 878 Status: Resolved Project: VisIt Tracker: Bug Priority: Normal Subject: CGNS reader incorrectly interprets files with boundary face/edge geometry Assigned to: Brad Whitlock Category: - Target version: 2.6 Author: Andrew Corrigan Start: 10/21/2011 Due date: % Done: 100% Estimated time: Created: 10/21/2011 07:07 am Updated: 09/11/2012 01:43 pm Likelihood: 3 - Occasional Severity: 4 - Crash / Wrong Results Found in version: 2.3.0 Impact: Expected Use: OS: All Support Group: Any Description: When I try to view CGNS data which includes boundary element geometry (boundary "sections" in CGNS terms) in VisIt with a pseudocolor plot, VisIt gives a warning that "The compute engine running on host ... issued the following warning: In domain 0, your zonal variable "Density" has 10000 values, but it should have 12020. Extra 0.'s were added to ensure VisIt runs smoothly." The plotted data is then displayed incorrectly. The correct behavior would be to have no warning, as zonal variable data logically could be associated with only the internal cells, and not necessarily the boundary elements. TecPlot does not have this issue and can plot these data sets correctly. I have attached two files, both of a 2D data quadrilateral mesh data set: one contains the boundary face geometry, the other does not. The one with boundary faces exhibits the problem described, the other works perfectly.

Comments: I received new source from Mickael Philit that fixed the problem.

brugger1 commented 5 years ago

0889_with_boundary_faces.cgns.zip 0889_without_boundary_faces.cgns.zip