@article {10.3844/jcssp.2018.1000.1028, article_type = {journal}, title = {Exploring Mesh Generation and Quality Enhancement with Open Source Codes}, author = {Neves, Leandro Alves and Machado, José Márcio and Momente, Julio Cesar and Donegá Zafalon, Geraldo Francisco and Nogueira da Cruz, Álvaro Magri and Zanchetta do Nascimento , Marcelo and Valêncio, Carlos Roberto}, volume = {14}, number = {7}, year = {2018}, month = {Jul}, pages = {1000-1028}, doi = {10.3844/jcssp.2018.1000.1028}, url = {https://thescipub.com/abstract/jcssp.2018.1000.1028}, abstract = {The finite element method is a very reliable and precise technique for solving partial differential equations in three-dimensional domains, with relevant applications in several areas. However, 3D simulations by FEM require computer programs for solid modeling and automatic mesh generation and there are few examples of open source codes available and dedicated to these tasks. Unfortunately, these open source codes are not usually conceived to operate together in an integrated fashion, showing distinct life cycles and different origins, which may result in contradictory specifications. In this study, a method is proposed to integrate solid modeling and automatic mesh generation with focus on open source codes and how the quality of FEM simulations can be improved by the improvement of the mesh. The method was structured in desired features for the solid construction and in integration strategies for an automatic mesh generation. The approach was tested in nontrivial domains and with known relevance for studies focused on computational electromagnetics. Meshes were generated with millions of tetrahedral elements and the results were compared to the quality values commonly discussed in literature focused on FEM. Complex geometries were meshed in a few seconds, with consistent values of aspect ratios (more than 90% of the tetrahedral elements were constructed with values at most 5) and dihedral angles (the values were bounded between 5.9 to 166.7°C, with a peak value around 90°C). Finally, in order to show the relation among highly refined meshes and quality criteria which can be explored by proposed method, the Laplace's equation was simulated by FEM in order to analyze the equipotential lines of a parallel-plate capacitor. The results show how the quality of a simulation can be improved, especially concerning the increasing number of tetrahedra in the mesh with proper aspect ratio.}, journal = {Journal of Computer Science}, publisher = {Science Publications} }