冶金工程中映射网格划分技巧(4)
时间:2025-04-30
时间:2025-04-30
冶金工程中映射网格划分技巧
首先将某对边线按划分数N,比例因子R离散为N+1个点,如图2。如果第1个点的x坐标为X1,第N+1个点的x坐标为XN+1,则第i个点的X坐标为:
Dividing the line according to the first will be a number N, the scaling factor R discrete for N + 1 points, as shown in figure 2. If the first point of x coordinate for the X1, N + 1 points x coordinate for XN + 1, the x coordinate of the ith point are as follows:
Xi=X1+(XN+1-X1)*(R^(i-1)-1)/(R^N-1) (R≠1)
Xi=X1+(XN+1-X1)*(i-1)/N (R=1)
Y、Z坐标以此类推,这是递增和递减的情况,由中心向外递增和递减的情况可以自己推导。
Y, and Z coordinates, and so on, this is increasing and decreasing, increasing and
decreasing outward from a center of the situation can be derived.
离散后的情况如图3,并连接各离散点,得到N+1条线,然后根据这N+1条线的划分数M及比例因子S在这个方向进行离散,结果如图4。在离散的过程中顺便给节点编上号并赋其坐标值,节点编号的原则一般为从左到右,从下往上递增(编号方式与ansys不同)。然后给单元编号赋值(节点、材料等),也是按从左到右,从下往上编号递增。如第5个单元的节点编号为7,8,11,10(一般按顺时针或逆时针的顺序赋节点编号),单元的节点编号是有规律的可以通过程序实现。这样就完成了一个面的四节点映射网格划分,然后再按同样的步骤划第2、3……个面,不过要进行节点重合的检查。
After discrete situation as shown in figure 3, and connecting the discrete points, get the N + 1 line, and then according to the division of the N + 1 line number M and discrete scale factor
下一篇:小化工厂安全生产环保应急预案