First Steps Toward a Parallel, Flexible, and Configurable Mesh Database for Unstructured Mesh Applications

Juan P. Saldía, Sergio A. Elaskar

Abstract


Unstructured mesh-based methods, have certain features which make them very attractive when geometric flexibility and/or solution-adaptive techniques are considered, as is common in numerical simulations in different domains of engineering. Unstructured mesh oriented systems require the maintaining of a data structure, generally known as mesh database, which main purpose is the management of general information regarding the topology, geometry and the (discrete) fields which are defined on the elements of the mesh. In general, this requirement impacts in the form of an exponential increment of software complexity of these systems in comparison to their structured mesh oriented counterpart, where the information regarding the mesh and fields is almost trivially obtained. The complexity of the mesh database is even more pronounced when parallel functionality is required and/or flexible and configurable capabilities are considered. Most scientific-computing oriented solutions in the literature relies on application-tailored mesh databases (libMesh, deal.II), which are not directly adaptable to general applications, or in more generic mesh databases (FMDB, ParFUM, DUNE), which neverthless are not flexible enough in how the information stored in the mesh database is configured. In this work, we present our first steps towards the development of an open-source library with the aim of providing a mesh database with the following design goals in mind: generality, efficiency, freedom of configuration, ease of use, and complete functionality in parallel systems. In particular, we describe details of data structures and generic algorithms, which in combination with C++ template meta-programming techniques aims to provide efficiency, generality and freedom of configuration by the user. Some details of how the library achieves functionality on parallel systems through the MPI Standard, are also discussed. An object oriented interface which hides the details of the library implementation to the user and provides ease of access from current C++ codes and modern Fortran codes is briefly described, and a generic demonstration of the library usage is shown. Finally, we present an example of the incorporation of the library in an already functional in-house developed parallel unstructured mesh fluid dynamic solver for hypersonic nonequilibrium flows.

Full Text:

PDF



Asociación Argentina de Mecánica Computacional
Güemes 3450
S3000GLN Santa Fe, Argentina
Phone: 54-342-4511594 / 4511595 Int. 1006
Fax: 54-342-4511169
E-mail: amca(at)santafe-conicet.gov.ar
ISSN 2591-3522