Abstract

In this paper, we propose parallel graph-grammar-based algorithm for the longest-edge refinements and the pollution simulations in Lesser Poland area. We introduce graph-grammar productions for Rivara’s longest-edged algorithm for the local refinement of unstructured triangular meshes. We utilize the hyper-graph to represent the computational mesh and the graph-grammar productions to express the longest-edge mesh refinement algorithm. The parallelism in the original Rivara’s longest edge refinement algorithm is obtained by processing different longest edge refinement paths in different three ads. Our graph-grammar-based algorithm allows for additional parallelization within a single longest-edge refinement path. The graph-grammar-based algorithm automatically guarantees the validity and conformity of the generated mesh; it prevents the generation of duplicated nodes and edges, elongated elements with Jacobians converging to zero, and removes all the hanging nodes automatically from the mesh. We test the algorithm on generating a surface mesh based on a topographic data of Lesser Poland area. The graph-grammar productions also generate the layers of prismatic three-dimensional elements on top of the triangular mesh, and they break each prismatic element into three tetrahedral elements. Next, we propose graph-grammar productions generating element matrices and right-hand-side vectors for each tetrahedral element. We utilize the Streamline Upwind Petrov–Galerkin (SUPG) stabilization for the pollution propagation simulations in Lesser Poland area. We use the advection–diffusion-reaction model, the Crank–Nicolson time integration scheme, and the graph-grammar-based interface to the GMRES solver.

Highlights

  • Air pollution is receiving a lot of interest nowadays

  • We express the two-dimensional Rivara algorithm using graph-grammar productions, we extend it to model the generation of the three-dimensional tetrahedral meshes

  • This paper utilizes the hypergraphs for modeling mesh refinement algorithm and interfacing with the GMRES iterative solver

Read more

Summary

Introduction

Air pollution is receiving a lot of interest nowadays. It is visible, especially in Lesser Poland area, as this is one of the most polluted cities in Europe [1]. We express the two-dimensional Rivara algorithm using graph-grammar productions, we extend it to model the generation of the three-dimensional tetrahedral meshes. We incorporate the Crank–Nicolson time integration scheme and interface with GMRES solver We utilize this parallel graph-grammar-based system for the pollution simulations in Lesser Poland area. This paper utilizes the hypergraphs for modeling mesh refinement algorithm and interfacing with the GMRES iterative solver. The resulting three-dimensional mesh is subject to the computer simulation with the advection–diffusion-reaction time-dependent solver modeling the air pollution propagation. We will compare the computational costs of the classical longest-edge refinement algorithm [20], to our graph-grammar-based algorithm on a model example.

Hypergraphs and graph grammar
Longest‐edge refinement algorithm
Two‐dimensional mesh refinement algorithm expressed by a hypergraph‐grammar
Hypergraph definition
Productions
8: Add to List neighbors of broken edges
Graph‐grammar‐based interface with advection–diffusion‐reaction solver
Manufactured solution advection–diffusion problem
Mesh generation for the pollution simulations in Lesser Poland area
Computations of the wind vector field
Conclusions
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call