Rectangular mesh contour generation algorithm for finite differences calculus

@article{Silva2022RectangularMC,
  title={Rectangular mesh contour generation algorithm for finite differences calculus},
  author={Pedro Zaffalon da Silva and Neyva Maria Lopes Romeiro and Iury Pereira de Souza and Paulo Laerte Natti and Eliandro Rodrigues Cirilo},
  journal={ArXiv},
  year={2022},
  volume={abs/2205.06670}
}
In this work, a 2D contour generation algorithm is proposed for irregular regions. The contour of the physical domain is approximated by mesh segments using the known coordinates of the contour. For this purpose, the algorithm uses a repeating structure that analyzes the known irregular contour coordinates to approximate the physical domain contour by mesh segments. To this end, the algorithm calculates the slope of the line defined by the known point of the irregular contours and the…