Abstract
We propose new topological data structures for the representation of 2D and 3D hybrid meshes, i.e., meshes composed of elements of different types. Hybrid meshes are playing an increasingly important role in all fields of modeling, because elements of different types are frequently considered either because such meshes are easier to construct or because they produce better numerical results. The proposed data structures are designed to achieve a balance between their memory requirements and the time complexity necessary to answer topological queries while accepting cells (elements) of different types. Additionally these data structures are easy to implement and to operate, because they are based on integer arrays and on basic arithmetic rules. A comparison with other existing data structures regarding their memory requirements and of the time complexities for the algorithms to answer general topological queries is also presented. The comparison shows that the overhead required to accept arbitrary cell types is small.
Similar content being viewed by others
Notes
In this context, Hybrid refers to a finite element model where additional fields are discretized on the interfaces of the elements.
A map container is a type of fast key lookup data structure that offers a flexible means of indexing into its individual elements. It stores key-value pairs and there cannot be duplicate keys. Maps are useful in situations where a key can be viewed as a unique identifier for the object.
References
Almeida JPM, Maunder EAW (2013) A general degree hybrid equilibrium finite element for Kirchhoff plates. Int J Numer Methods Eng 94(4):331–354
Austern MH (1999) Generic programming and the STL: using and extending the C++ standard template library. Addison-Wesley, Boston
Bangerth W, Hartmann R, Kanschat G (2007) Deal.ii a general-purpose object-oriented finite element library. ACM Trans Math Softw (TOMS) 33(4):24
Baumgart BG (1975) A polyhedron representation for computer vision. AFIPS Natl Comput Conf 44:589–596
Beghini LL, Pereira A, Espinha R, Menezes IF, Celes W, Paulino GH (2014) An object-oriented framework for finite element analysis based on a compact topological data structure. Adv Eng Softw 68:40–48
Bern MW, Plassmann PE (1997) Mesh generation. Pennsylvania State University, Department of Computer Science and Engineering, College of Engineering. http://www.cs.berkeley.edu/~jrs/meshpapers/BernPlassmann.pdf
Braid IC, Hillyard RC, Stroud IA (1980) Stepwise construction of polyhedra in geometric modeling. In: Brodlie KW (ed) Mathematical methods in computer graphics and design. Academic Press, San Diego, pp 123–141
Brisson E (1993) Representing geometric structures in d dimensions: topology and order. Discrete Comput Geom 9:387–426
Cavalcanti PR, Carvalho PCP, Martha LF (1997) Non-manifold modelling: an approach based on spatial subdivision. Comput Aided Des 29(3):209–220
Celles W, Paulino G, Espinha R (2005) A compact adjacency-based topological data structure for finite element mesh representation. Int J Numer Methods Eng 64:1529–1556
Dobkin DP, Laszlo MJ (1989) Primitives for the manipulation of threedimensional subdivisions. Algorithmica 4:3–32
Espinha R, Celes W, Rodriguez N, Paulino GH (2009) Partops: compact topological framework for parallel fragmentation simulations. Eng Comput 25(4):345–365
de Floriani L, Hui A (2003) A scalable data structure for three-dimensional non-manifold objects. In: Symposium on geometry processing. ACM, pp 72–82
Guibas LJ, Stolfi J (1985) Primitives for the manipulation of general subdivisions and the computation of voronoi diagrams. Trans Graph 4:74–123
Gursoz EL, Choi Y, Prinz FB (1990) Vertex-based representation of non-manifold boundaries. In: Turner JU, Wozny MJ, Preiss K (eds) Geometric modeling for product engineering. Elsevier, North-Holland, pp 107–130
Gurung T, Rossignac J (2009) Sot: compact representation for tetrahedral meshes. In: 2009 SIAM/ACM joint conference on geometric and physical modeling. ACM, pp 79–88
Ito Y (2013) Challenges in unstructured mesh generation for practical and efficient computational fluid dynamics simulations. Comput Fluids 85:47–52
Lage M, Lewiner T, Lopes H, Velho L (2005) CHE: a scalable topological data structure for triangular meshes. Technical report, Pontifical Catholic University of Rio de Janeiro
Lage M, Lewiner T, Lopes H, Velho L (2005) CHF: a scalable topological data structure for tetrahedral meshes. In: Computer graphics and image processing, 2005. SIBGRAPI 2005. 18th Brazilian symposium. IEEE, pp 349–356
Lage M, Lopes H, Carvalho MS (2011) Flows with suspended and floating particles. J Comput Phys 230(20):7736–7754. doi:10.1016/j.jcp.2011.06.031
Lee SH, Lee K (2001) Partial entity structure: a compact non-manifold boundary representation based on partial topological entities. In: Hoffman C, Bronsvort W (eds) Solid modeling and applications. ACM, pp 159–170
Lopes H, Pesco S, Tavares G, Maia M, Xavier A (2003) Handlebody representation for surfaces and its applications to terrain modeling. Int J Shape Model 9(1):61–77
Lopes H, Tavares G (1997) Structural operators for modeling 3-manifolds. In: Hoffman C, Bronsvort W (eds) Solid modeling and applications. ACM, pp 10–18
Mäntylä M (1988) An introduction to solid modeling. Computer Science Press, Rockville
Mubarak M, Seol S, Lu Q, Shephard MS (2013) A parallel ghosting algorithm for the flexible distributed mesh database. Sci Program 21(1):17–42
Ovcharenko A, Chitale K, Sahni O, Jansen K, Shephard M, Tendulkar S, Beall M (2012) Parallel adaptive boundary layer meshing for cfd analysis. In: Proceedings of the 21st international meshing roundtable. Springer, pp 437–455
Paoluzzi A, Bernardini F, Cattani C, Ferrucci V (1993) Dimension-independent modeling with simplicial complexes. Trans Graph 12(1):56–102. doi:10.1145/169728.169719
Pesco S, Lopes H, Tavares G (2004) A stratification approach for modeling 2-cell complexes. Comput Graph 28(2):235–247
Remacle JF, Shephard MS (2003) An algorithm oriented mesh database. Int J Numer Methods Eng 58(2):349–374. doi:10.1002/nme.774
Rossignac J, O’Connor MA (1990) SGC : a dimension independent model for pointsets with internal structures and incomplete boundaries. In: Turner JU, Wozny MJ, Preiss K (eds) Geometric modeling for product engineering. Elsevier, North-Holland, pp 145–180
Rossignac J, Safonova A, Szymczak, A (2001) 3D compression made simple: edgebreaker on a corner-table. In: Shape modeling international. IEEE, pp 278–283
Seol ES, Shephard MS (2006) Efficient distributed mesh data structure for parallel automated adaptive analysis. Eng Comput 22(3–4):197–213
Shephard M, Jansen K, Sahni O, Diachin L (2007) Parallel adaptive simulations on unstructured meshes. In: Journal of physics: conference series, vol 78. IOP Publishing, p 012053
Talischi C, Paulino G, Pereira A, Menezes I (2012) Polymesher: a general-purpose mesh generator for polygonal elements written in matlab. Struct Multidiscip Optim 45(3):309–328. doi:10.1007/s00158-011-0706-z
Talischi C, Paulino G, Pereira A, Menezes I (2012) Polytop: a matlab implementation of a general topology optimization framework using unstructured polygonal finite element meshes. Struct Multidiscip Optim 45(3):329–357. doi:10.1007/s00158-011-0696-x
Vieira AW, Lewiner T, Velho L, Lopes H, Tavares G (2004) Stellar mesh simplification using probabilistic optimization. Comput Graph Forum 23(4):825–838. doi:10.1111/j.1467-8659.2004.00811.x
Weiler KJ (1986) Topological structures for geometric modeling. Ph.D. thesis, Rensselaer Polytechnic Institute, New York, USA
Wu ST (1989) A new combinatorial model for boundary representation. Comput Graph 13(4):477–486
Wu ST (1992) Non-manifold data models: implementation issue. In: CAD/CAM—MICAD. Computer graphcis and computer aided technologies, pp 37–56
Yamaguchi Y, Kimura F (1995) Non-manifold topology based on coupling entities. Comput Graph 15(1):42–50
Acknowledgments
Part of the work described in this paper was developed during a sabbatical period of the second author at Instituto Superior Técnico, during the first semester of 2012, which was possible thanks to the support by PUC-Rio (Pontifícia Universidade Católica do Rio de Janeiro), CNPq (Brazilian National Council for Scientific and Technological Development), and the European Union through project NUMSIM—“Numerical simulation in technical sciences” of the Marie Curie Actions (FP7-PEOPLE-2009-IRSES), Project No. 246977. Hélio Lopes would like to thank CNPq and FINEP (Brazilian Funding Authority for Studies and Projects) for supporting his research. Marcos Lage would like to thank FAPERJ (Rio de Janeiro Research Funding Agency) for supporting his research.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Lage, M., Martha, L.F., Moitinho de Almeida, J.P. et al. IBHM: index-based data structures for 2D and 3D hybrid meshes. Engineering with Computers 33, 727–744 (2017). https://doi.org/10.1007/s00366-015-0395-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00366-015-0395-0