Through mathematical models, it is possible to turn a problem of the physical domain into the computational domain. In this context, the paper presents a two-dimensional mesh generator in generalized coordinates, which uses the Parametric Linear Spline method and partial differential equations. The generator is automated and able to treat real complex domains. The code was implemented in Python, applying the Numpy and Matplotlib libraries to matrix manipulations and graphical plots, respectively. Applications are made for monoblock meshes (two-dimensional shape of a bottle) and multi-block meshes (geometry of Igap\'o I lake, Londrina, Paran\'a, Brazil).
翻译:通过数学模型,有可能将物理域的问题转换成计算域。 在这方面,本文在通用坐标上展示了二维网状生成器,它使用参数线性线性线性线性线性方法和部分差分方程。生成器是自动的,能够处理真正的复杂域。代码在Python实施,将Numpy和Matplotlib图书馆分别用于矩阵操作和图形绘图。对单块贝类(瓶子的二维形状)和多块网状(Igap\'o I湖的大地测量、Londrina、Paran\a、巴西的Paran\a)进行了应用。