Isosurface Extraction from Hybrid Unstructured Grids Containing Pentahedral Elements

Isosurface Extraction from Hybrid Unstructured Grids Containing Pentahedral Elements

Isosurface Extraction from Hybrid Unstructured Grids Containing Pentahedral Elements Akshay Narayan1, Jaya Sreevalsan-Nair1, Kelly Gaither2 and Bernd Hamann3 1International Institute of Information Technology - Bangalore, 26/C, Electronics City, Hosur Road, Bangalore 560100, India 2 Texas Advanced Computing Center, University of Texas at Austin, 10100 Burnet Road, Austin, TX 78758, U.S.A. 3 Institute for Data Analysis and Visualization, Department of Computer Science, University of California, Davis, One Shields Avenue, Davis, CA95616, U.S.A. [email protected], [email protected], [email protected], [email protected] Keywords: Volume Visualization: Isosurface Extraction: Hybrid Meshes: Marching Methods Abstract: Grid-based computational simulations often use hybrid unstructured grids consisting of various types of elements. Most commonly used elements are tetrahedral, pentahedral (namely, square pyramids and right triangular prisms) and hexahedral elements. Extracting isosurfaces of scalar fields defined on such hybrid unstructured grids is often done using indirect methods, such as, (a) subdividing all non-tetrahedral cells into tetrahedra and computing the triangulated isosur- faces using the marching tetrahedra algorithm, or (b) triangulating intersection points of edges of cells and computing the isosurface using a standard triangulation algorithm. Using the basic ideas underlying the well-established marching cubes and marching tetrahedra algorithms, which are applied to hexahedral and tetrahedral elements, respectively, we generate look-up tables for extracting isosurfaces directly from pentahedral elements. By using appropriate look-up tables, it is possible to process nearly all types of hybrid unstructured grids used in practical applications without the need for indirect methods. We construct look-up tables for square pyramidal and triangular prismatic cells with accurate topological considerations. 1 INTRODUCTION ahedra and tetrahedra. Some of the commonly used elements, which we will be focussing on in Computer simulations of physical phenomena this work, are shown in Figure 1(A). We have used often use hybrid unstructured grids with complex the following interpolation models with three lin- geometrical structure. For example, these grids early independent variables for these elements: are routinely used in computational fluid dynam- • Tetrahedron: Linear interpolation, often us- ics (CFD) and finite element analysis (FEA). Per- ing barycentric coordinates, α, β, γ, and forming correct direct interpolation on such hy- δ, is used, where the following rule applies: brid grids, e.g., in the context of direct volume α + β + γ + δ = 1. visualization or isosurface extraction, is central to its analysis. The complex geometry and topol- • Square pyramid (Pentahedron): Bilinear in- ogy, i.e. element connectivity, of such grids makes terpolation is used for the base quadrilateral its analysis more challenging. combined with linear interpolation from the base quadrilateral to the apex, i.e. the oppos- A great deal of progress has been made in re- ing single vertex. (s; t) are used for bilinear cent years in the field of volume rendering using interpolation, and u is the parameter used for ray-casting. However, research related to isosur- linear interpolation along axis. face extraction from hybrid grids has not been fully addressed for the entire spectrum of element • Right triangular prism (Pentahedron): Linear types, which are commonly used, apart from hex- interpolation, often performed using barycen- P0001 P001 (Value=5) (Value=2) P01 P11 P P010 P0010 P110 (Value=3.5) P P0100 P000 P1000 P100 (a) (b) P1001 P0101 P011 P001 t P0011 P P111 P P101 P00 P10 P010 (Value=2) (Value=3) P0100 P110 P1000 P000 s P0010 P100 (c) (d) (a) (b) (c) (A) (B) Figure 1: (A) Different element/cell types: (a) Tetrahedron, (b) Pentahedron - Square Pyramid, (c) Pentahedron - Right Triangular Prism, and (d) Hexahedron. Using parametric representation based on the interpolation mod- els, a point P in space with respect to each cell is represented as (a) P (α; β; γ; δ), (b) P (s; t; u), (c) P (α; β; γ; u), (d) P (s; t; u). (B) Difference of isolines without and with triangulation: For extracting isoline for function value 3.5, (a) shows the approximation of isoline using bilinear interpolation-based contouring, (s; t) being the paramet- ric representation; (b) and (c) show the two different isolines obtained when considering different triangulations of the quadrilateral. Note that the isolines in (b) and (c) are still topological homotopes. tric coordinates, is applied to the two opposite ing tetrahedra algorithms work well on hybrid triangular faces (bases) combined with linear grids, subject to converting a given hybrid grid interpolation along the axis of the prism, i.e., first to a purely hexahedral grid or a purely tetra- in the direction from one triangular base to hedral grid, respectively. Converting the hybrid the other. u is the parameter used for lin- grid, either by resampling the grid to a rectilin- ear interpolation along the axis and (α; β; γ) ear grid, or decomposing the grid elements into are used as barycentric coordinates for the in- tetrahedral elements, introduces additional ap- terpolation within the triangular bases. The proximation errors and is not a unique solution. barycentric coordinates follow the following Additionally, the conversion approaches scale lin- condition: α + β + γ = 1. early with problem size, which may slow down • Hexahedron: Trilinear interpolation is used, performance for larger datasets. with parametric representation s; t; u, which We attempted to use open source visualiza- represent x-, y-, and z-coordinates respec- tion tools like ParaView (Moreland, 2011), and tively. GMV (Ortega, 2011), on a large hybrid grid dataset, whose size is of the order of 1 GB. How- All parameters of points interior to the cell satisfy ever, loading such a large dataset into the sys- the property of being in the real interval [0; 1]. tem memory and generating isosurfaces required The models are popularly used owing to their approximately 10 minutes in the serial imple- lower computational complexity. In addition to mentation of ParaView. ParaView's parallel im- these cell types, there exist several other types of plementation showed slightly better performance finite elements all having their own associated in- than the serial version. It was not possible to terpolation functions. Nevertheless, those other obtain isosurfaces in real time for our specific types do not occur in our specific applications. dataset, which motivated our research to perform The primary reason for lack of efforts has direct extraction of isosurfaces from hybrid grids. been that hybrid grids consist of elements or cells Though our results do not show any significant whose basis functions are no longer purely linear improvement in performance in the case of the or trilinear. This leads to more complex inter- large dataset, our work conclusively analyzes the polating functions which are more challenging to various topological orientations of the pentahe- analyze. However, recent increase in the availabil- dral cells so that we obtain a unique isosurface ity and accessibility of powerful computational re- for any given value. sources has increased use of hybrid grids for sev- The key contribution of our work is to pro- eral CFD and finite element method (FEM) appli- vide look-up tables to extract isosurfaces di- cations, thus demanding more in-depth analysis rectly from five-node (square pyramidal) and six- of such grids. node (right triangular prismatic) pentahedral el- Existing isosurface extraction methods, such ements, which includes all topological configura- as the commonly used marching cubes or march- tions, and the computations involved in determin- ing body saddle points for specifically, the tri- tetrahedra, pentahedra, or hexahedra. We have angular prismatic element. These look-up tables used the interpolation functions that (Weber enable us to obtain a unique solution for isosur- et al., 2001) use. face for a given function value. Additionally, we While methods by (Gallagher and Nagtegaal, have used a combination of look-up tables from 1989), (Weber et al., 2003) and (Bhaniramka the traditional marching tetrahedra and extended et al., 2004) work for our application, we are go- marching cubes, and our proposed tables for pen- ing a step further towards resolving the topolog- tahedral cells, to use the native elements directly ical configurations for pentahedral cells by us- to compute isosurfaces. ing similar patterns that are found in hexahe- dra. We follow the indexing for the configura- tions used by (Nielson, 2003) for hexahedra. In 2 RELATED WORK relation to our argument against subdivision of el- ements, (Carr et al., 2006) have discussed various artifacts that can be introduced while performing The foundation of our work has been the simplicial subdivision of a hexahedral element. marching cubes algorithm, which has been ex- tensively researched in the scientific visualiza- tion community, for which (Lorensen and Cline, 1987), (Nielson and Hamann, 1991), (Nielson, 3 DISADVANTAGES OF 2003), (Lopes and Brodlie, 2003) are some of the APPROACHES BASED ON representative papers, (Newman and Yi, 2006) is a comprehensive survey of the variants of the TETRAHEDRALIZATION OF algorithm. Additionally, a great deal of work HYBRID GRIDS has been done for both software- and hardware- based approaches in volume rendering, for exam- The marching tetrahedra

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us