有限差分法的矩形网格轮廓生成算法
Rectangular mesh contour generation algorithm for finite differences calculus
摘要:
在这项工作中,提出了一种二维轮廓生成算法的不规则区域。使用已知的轮廓坐标,通过网格段来近似物理域的轮廓。为此,该算法使用了一个重复的结构,分析已知的不规则轮廓坐标近似的物理域轮廓的网格段。为此,该算法计算由不规则轮廓的已知点和相邻顶点定义的线的斜率。通过这种方式,算法计算线的点及其到网格的最近已知节点的距离,从而获得近似轮廓的点。重复该过程,直到获得近似轮廓。因此,这种近似轮廓生成算法,从一个网格的已知节点,是适合于描述网格涉及的几何形状与不规则的轮廓和计算有限差分数值模拟。通过三个几何形状来评估轮廓,即由给定轮廓和近似轮廓限定的区域之间的差异,节点的数量和内部点的数量。可以看出,几何复杂性的增加意味着轮廓中需要更多的节点,生成更精细的网格,允许达到低于2%的区域差异。
英文摘要:
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 neighboring vertices. In this way, the algorithm calculates the points of the line and its distance to the closest known nodes of the mesh, allowing to obtain the points of the approximate contour. This process is repeated until the approximate contour is obtained. Therefore, this approximate contour generation algorithm, from known nodes of a mesh, is suitable for describing meshes involving geometries with irregular contours and for calculating finite differences in numerical simulations. The contour is evaluated through three geometries, the difference between the areas delimited by the given contour and the approximate contour, the number of nodes and the number of internal points. It can be seen that the increase in geometry complexity implies the need for a greater number of nodes in the contour, generating more refined meshes that allow reaching differences in areas below 2%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。