论文标题
有限差分微积分的矩形网状轮廓生成算法
Rectangular mesh contour generation algorithm for finite differences calculus
论文作者
论文摘要
在这项工作中,提出了针对不规则区域的2D轮廓生成算法。使用轮廓的已知坐标,通过网格段近似物理结构域的轮廓。为此,该算法使用重复结构,该结构分析已知的不规则轮廓坐标以通过网段近似物理结构域轮廓。为此,算法计算由不规则轮廓和相邻顶点的已知点定义的线的斜率。通过这种方式,算法计算线的点及其到网格最接近的已知节点的距离,从而获得了大约轮廓的点。重复此过程,直到获得大概轮廓为止。因此,来自网格的已知节点的这种近似轮廓生成算法适用于描述涉及具有不规则轮廓的几何形状的网格,并计算数值模拟中有限的差异。轮廓通过三个几何形状进行评估,即给定轮廓和大约轮廓,节点的数量和内部点的数量之间的区域之间的差异。可以看出,几何复杂性的增加意味着需要在轮廓中大量的节点,从而产生更精致的网格,从而使面积低于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%.