CN105787226B - The parameterized model of four side finite element mesh models is rebuild - Google Patents

The parameterized model of four side finite element mesh models is rebuild Download PDF

Info

Publication number
CN105787226B
CN105787226B CN201610307722.0A CN201610307722A CN105787226B CN 105787226 B CN105787226 B CN 105787226B CN 201610307722 A CN201610307722 A CN 201610307722A CN 105787226 B CN105787226 B CN 105787226B
Authority
CN
China
Prior art keywords
quadrilateral
boundary
model
domain
quadrilaterals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201610307722.0A
Other languages
Chinese (zh)
Other versions
CN105787226A (en
Inventor
陈龙
姚鸣
姚一鸣
樊兴旺
阮辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201610307722.0A priority Critical patent/CN105787226B/en
Publication of CN105787226A publication Critical patent/CN105787226A/en
Application granted granted Critical
Publication of CN105787226B publication Critical patent/CN105787226B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/23Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供一种四边有限元网格模型的参数化重建算法,以有限元分析软件得到的四边形网格模型作为基础,将四边形网格模型的单元编号和节点坐标作为输入信息重建四边形网格单元之间的拓扑关系,并根据得到的拓扑信息进行单元网格规范合并、块域自适应合并等合并操作,减少块域数量并得到合并后的子域,通过保留合并得到的子域边界上的特征点并对特征点进行连线,得到一定数量的四边形最终子域,根据得到的最终子域的边界进行体参数模型的构建、调整与优化,最终得到体参数化模型。该算法能够对多孔板等结构的四边形网格模型进行参数化重建,得到的体参数化模型适用于等几何分析,且具有表达简洁、全域光顺等优势。

The invention provides a parametric reconstruction algorithm for a four-sided finite element grid model, based on the quadrilateral grid model obtained by finite element analysis software, and using the unit number and node coordinates of the quadrilateral grid model as input information to reconstruct the quadrilateral grid unit According to the topological information obtained, merging operations such as unit grid specification merging and block domain self-adaptive merging are performed to reduce the number of block domains and obtain merged subdomains. The feature points are connected to the feature points to obtain a certain number of quadrilateral final sub-domains, and the volume parameter model is constructed, adjusted and optimized according to the boundaries of the obtained final sub-domains, and finally the volume parameterized model is obtained. The algorithm can parametrically reconstruct the quadrilateral mesh model of structures such as perforated plates, and the obtained volume parameterized model is suitable for isogeometric analysis, and has the advantages of concise expression and global smoothness.

Description

四边有限元网格模型的参数化模型重建Parametric Model Reconstruction of Four-sided Finite Element Mesh Model

技术领域technical field

本发明涉及一种有限元模型参数化重建算法,具体涉及一种四边有限元网格模型的参数化重建算法。The invention relates to a parametric reconstruction algorithm of a finite element model, in particular to a parametric reconstruction algorithm of a four-sided finite element grid model.

背景技术Background technique

当前的产品设计过程中,由于CAE(计算机辅助工程)技术的发展领先于CAD(计算机辅助设计),因此二者的无缝集成是一个瓶颈问题,CAE软件的约70%运行时间用于数据交换,而离散网格的生成阶段工作量占整个CAD/CAE过程的80%左右。In the current product design process, since the development of CAE (computer-aided engineering) technology is ahead of CAD (computer-aided design), the seamless integration of the two is a bottleneck problem, and about 70% of the running time of CAE software is used for data exchange , while the workload of discrete mesh generation accounts for about 80% of the entire CAD/CAE process.

为解决CAE和CAD的无缝集成的问题,有多种分析法可供应用,其中等几何分析法具有灵活性强、精确性高、具有收敛性、边界条件设置简洁等优点,而基于体参数化模型的等几何分析方法具有解决CAE与CAD无缝集成问题的潜力。将体参数化模型应用于等几何分析目前还没有太多研究,但已经受到学者们越来越多的关注。In order to solve the problem of seamless integration of CAE and CAD, a variety of analysis methods are available, among which the medium geometry analysis method has the advantages of strong flexibility, high accuracy, convergence, and simple setting of boundary conditions. The isogeometric analysis method of the simplified model has the potential to solve the seamless integration of CAE and CAD. There is not much research on applying volume parametric models to isogeometric analysis, but it has received more and more attention from scholars.

构建体参数模型是上述等几何分析方法的第一步。对于零亏格实体,创建双变量(对应于平面模型)或三变量(对应于三维模型)张量体,使其和平面正方形或立方体建立一一映射关系,这两种情况下得到的参数化模型统称为体参数化模型;对于多亏格实体,则将其分解为多个零亏格子域进行处理,同样可以得到体参数化模型。Constructing a volume parametric model is the first step in the above-mentioned isogeometric analysis method. For zero-genus entities, create bivariate (corresponding to planar models) or trivariate (corresponding to 3D models) tensor volumes that map one-to-one to planar squares or cubes, and in both cases the resulting parameterization The models are collectively called volume parameterized models; for genus entities, they are decomposed into multiple zero-genus lattice domains for processing, and volume parameterized models can also be obtained.

若在上述体参数化模型的创建过程中采用了NUBRS样条作为映射函数,则创建的模型为样条体参数化模型。采用NUBRS样条作为映射函数,可使得到的体参数化模型具有表达简洁、全域光顺、便于和CAD集成等优势,在等几何分析和体造型领域都能发挥极大作用。If the NUBRS spline is used as the mapping function in the process of creating the above volume parameterized model, the created model is a spline volume parameterized model. Using NUBRS spline as the mapping function can make the obtained volume parameterized model have the advantages of concise expression, global smoothness, and easy integration with CAD, which can play a great role in the fields of isogeometric analysis and volume modeling.

目前,有限元分析法是CAE领域对CAD产品进行仿真分析的主流方法,利用该方法得到的网格模型可以用于上述体参数化模型的构建。在使用该方法进行网格模型的创建时,会遇到需要对多孔板结构进行建模的情况,由于这些多孔板 结构中大量密集孔的存在,使有限元分析法划分得到的网格往往超出计算机的计算容量,从而不利于后续计算的进行。At present, the finite element analysis method is the mainstream method for the simulation analysis of CAD products in the field of CAE, and the mesh model obtained by using this method can be used for the construction of the above-mentioned volume parameterized model. When using this method to create a mesh model, it is necessary to model the porous plate structure. Due to the existence of a large number of dense holes in these porous plate structures, the mesh obtained by the finite element analysis often exceeds the The calculation capacity of the computer is not conducive to the subsequent calculation.

发明内容Contents of the invention

为解决上述问题,本发明采用了如下技术方案:In order to solve the above problems, the present invention adopts the following technical solutions:

一种四边有限元网格模型的参数化模型重建算法,用于对四边形网格模型进行适用于等几何分析的体参数化模型重建,其中四边形网格模型由有限元软件将已创建的模型进行四边形网格划分而得到,将四边形网格模型中所有四边形网格单元的编号和节点坐标作为输入信息用于参数化模型重建算法的进行,该算法的特征在于,包括如下步骤:A parametric model reconstruction algorithm for a quadrilateral finite element mesh model, which is used to reconstruct a volume parametric model suitable for isogeometric analysis on a quadrilateral mesh model, where the quadrilateral mesh model is reconstructed from the created model by finite element software Obtained by quadrilateral grid division, the numbers and node coordinates of all quadrilateral grid units in the quadrilateral grid model are used as input information for the implementation of the parametric model reconstruction algorithm. The algorithm is characterized in that it includes the following steps:

步骤S1,根据输入信息,重建四边形网格单元之间的拓扑关系,包括单元邻接关系、单元排列关系;Step S1, according to the input information, reconstruct the topological relationship between the quadrilateral grid units, including the unit adjacency relationship and the unit arrangement relationship;

步骤S2,根据步骤S1中得到的拓扑关系进行网格单元规范合并及块域自适应合并,得到最终子域以及最终子域边界;In step S2, according to the topological relationship obtained in step S1, grid unit normative merging and block domain adaptive merging are performed to obtain the final sub-domain and the final sub-domain boundary;

步骤S3,通过对步骤S2中得到的最终子域进行边界控制点反求及域内控制点插值,得到二维参数域模型,对二维参数域模型中的控制点进行调整和优化,得到适用于等几何分析的体参数化模型;In step S3, the two-dimensional parameter domain model is obtained by performing boundary control point inversion and intra-domain control point interpolation on the final subdomain obtained in step S2, and adjusting and optimizing the control points in the two-dimensional parameter domain model to obtain a suitable Volume parametric model for isogeometric analysis;

其中,步骤S2具体包括如下步骤:Wherein, step S2 specifically includes the following steps:

步骤S2.1,网格单元规范合并,结合UV增长算法和相对边增长算法,对四边形网格单元进行规范合并,得到一定数量的基础块域;Step S2.1, grid unit canonical merging, combined with UV growth algorithm and relative edge growth algorithm, canonical merging of quadrilateral grid units to obtain a certain number of basic block domains;

步骤S2.2,对步骤S2.1得到的基础块域进行块域自适应合并,包括完全共享边块域合并、大部分共享边块域合并及孤岛块域合并,得到一定数量的子域;Step S2.2, performing block domain self-adaptive merging on the basic block domains obtained in step S2.1, including merging fully shared edge domains, most shared edge domains and island domains, to obtain a certain number of subdomains;

步骤S2.3,以步骤S2.2中得到的子域的边界上的所有角点为特征点,保留特征点,按照外边界特征点保持不变,内边界特征点调整到边界极限位置的规则对特征点进行调整;将调整后的特征点用直线连接,生成新的四边形域,得到最终子域以及相应的最终子域边界。Step S2.3, take all the corner points on the boundary of the sub-domain obtained in step S2.2 as feature points, retain the feature points, keep the outer boundary feature points unchanged, and adjust the inner boundary feature points to the limit position of the boundary rule Adjust the feature points; connect the adjusted feature points with a straight line to generate a new quadrilateral domain, and obtain the final subdomain and the corresponding final subdomain boundary.

进一步地,本发明提供的四边有限元网格模型的参数化模型重建算法中,步骤S1包括如下步骤:Further, in the parametric model reconstruction algorithm of the quadrilateral finite element mesh model provided by the present invention, step S1 includes the following steps:

步骤S1.1,通过分析四边形网格单元的单元编号和节点坐标,提取基本信息;Step S1.1, extracting basic information by analyzing the unit number and node coordinates of the quadrilateral grid unit;

步骤S1.2,遍历所有的四边形网格单元,分析四边形网格单元的节点和边共享信息,得到所有公共边信息并识别四边形网格单元之间的邻接关系;Step S1.2, traversing all the quadrilateral grid units, analyzing the shared information of nodes and edges of the quadrilateral grid units, obtaining all common edge information and identifying the adjacency relationship between the quadrilateral grid units;

步骤S1.3,选定一个四边形网格单元作为起始,分别从两个互相垂直的方向上根据邻接信息搜索得到四边形网格单元的排列关系,两个方向分别定义为U向和V向;Step S1.3, select a quadrilateral grid unit as the starting point, and search for the arrangement relationship of the quadrilateral grid units from two mutually perpendicular directions respectively according to the adjacency information, and the two directions are respectively defined as the U direction and the V direction;

步骤S1.4,将所有四边形网格单元进行分类,将位于边界线上的四边形网格单元设定为边界四边形,其余为内部四边形;含有边界角点的边界四边形被设定为边界角点四边形,其余为边界一般四边形;Step S1.4, classify all quadrilateral grid units, set the quadrilateral grid units located on the boundary line as boundary quadrilaterals, and the rest as internal quadrilaterals; the boundary quadrilaterals containing boundary corner points are set as boundary corner point quadrilaterals , and the rest are bounding general quadrilaterals;

将内部四边形中点相邻四边形个数不等于边相邻四边形个数的四边形,以及边界四边形中相邻四边形个数不小于边相邻四边形个数的四边形定义为特征四边形,将周围的四边形均为特征四边形的节点定义为特征节点,并标注特征四边形和特征节点;其中,点相邻的定义为两个四边形有且仅有一个公共节点,边相邻的定义为两个四边形有且仅有两个公共节点,点相邻或边相邻的两个四边形为相邻四边形。The quadrilaterals whose number of adjacent quadrilaterals in the midpoint of the inner quadrilateral is not equal to the number of side adjacent quadrilaterals, and the quadrilaterals whose number of adjacent quadrilaterals in the boundary quadrilateral is not less than the number of side adjacent quadrilaterals are defined as characteristic quadrilaterals, and the surrounding quadrilaterals are all The nodes of a characteristic quadrilateral are defined as characteristic nodes, and the characteristic quadrilaterals and characteristic nodes are marked; among them, the point adjacent is defined as two quadrilaterals have and only one common node, and the edge adjacent is defined as two quadrilaterals have and only Two quadrilaterals with two common nodes, adjacent points or adjacent sides are called adjacent quadrilaterals.

进一步地,本发明提供的四边有限元网格模型的参数化模型重建算法的步骤S1中,UV增长算法包括如下步骤:Further, in the step S1 of the parametric model reconstruction algorithm of the quadrilateral finite element mesh model provided by the present invention, the UV growth algorithm includes the following steps:

根据步骤S1中单元排列关系,选定起始四边形,分别沿起始四边形的U向、V向进行合并,直到两个方向都碰到特征四边形,合并结束。According to the unit arrangement relationship in step S1, select the starting quadrilateral, and merge along the U and V directions of the starting quadrilateral, until both directions touch the characteristic quadrilateral, and the merging ends.

进一步地,本发明提供的四边有限元网格模型的参数化模型重建算法的步骤S1中,相对边增长算法包括如下步骤:Further, in the step S1 of the parametric model reconstruction algorithm of the four-sided finite element mesh model provided by the present invention, the relative edge growth algorithm includes the following steps:

在单元网格规范合并的过程中,当四边形的U向、V向无法判断时,将该四边形作为起始四边形,根据步骤S1中单元邻接关系,选定起始四边形的两条相 邻边作为起始边,增长与起始边相对的边相邻四边形,直到增长方向上两条边均属于特征四边形,合并结束。In the process of unit grid specification merging, when the U direction and V direction of the quadrilateral cannot be judged, the quadrilateral is used as the initial quadrilateral, and the two adjacent sides of the initial quadrilateral are selected as From the starting side, grow the side adjacent to the starting side to the quadrilateral until the two sides in the growth direction belong to the characteristic quadrilateral, and the merge ends.

进一步地,本发明提供的四边有限元网格模型的参数化模型重建算法的步骤S2.3中,特征点的连接步骤为:Further, in the step S2.3 of the parametric model reconstruction algorithm of the quadrilateral finite element mesh model provided by the present invention, the connection steps of the feature points are:

步骤S2.3.1,遍历所有的内边界特征点及外边界特征点,用直线将距离最近的内边界特征点及外边界特征点连接起来;Step S2.3.1, traversing all the inner boundary feature points and outer boundary feature points, connecting the nearest inner boundary feature points and outer boundary feature points with a straight line;

步骤S2.3.2,遍历所有的内边界特征点,用直线将距离最近的内边界特征点连接起来,得到一定数量的N边形,N的数值为4到20;Step S2.3.2, traversing all the inner boundary feature points, connecting the nearest inner boundary feature points with a straight line to obtain a certain number of N polygons, and the value of N is 4 to 20;

步骤S2.3.3,根据多边形划分为四边形的方法在N边形内部生成直线,产生新的子域,使子域均为四边形域。In step S2.3.3, a straight line is generated inside the N-gon according to the method of dividing the polygon into quadrilaterals, and a new sub-domain is generated, so that the sub-domains are all quadrilateral domains.

进一步地,本发明提供的四边有限元网格模型的参数化模型重建算法还具有如下技术特征:Further, the parametric model reconstruction algorithm of the quadrilateral finite element mesh model provided by the present invention also has the following technical features:

在步骤S3中,边界控制点反求的方法为:对步骤S2中得到的最终子域边界上的边界点进行B样条曲线拟合,得到初始控制点,再对曲线进行节点插入、升阶、拼接,使其和相邻子域边界曲线的节点矢量统一且同阶,从而得到最终边界控制点;In step S3, the method of inverse calculation of the boundary control points is: perform B-spline curve fitting on the boundary points on the boundary of the final subdomain obtained in step S2 to obtain the initial control points, and then perform node insertion and upgrade on the curve , stitching, so that it is unified and of the same order as the node vectors of the adjacent subdomain boundary curves, so as to obtain the final boundary control points;

域内控制点插值的方法为:根据Coons曲面理论,设定四条包围成封闭四边形域的样条曲线P(u,0),P(u,1),P(0,v),P(1,v),u,v∈[0,1],对应的控制顶点为四个角点为P(0,0),P(0,1),P(1,0),P(1,1),如下所示。得到四边曲面域内控制点为:The method of interpolation of control points in the domain is: according to the Coons surface theory, set four spline curves P(u,0), P(u,1), P(0,v), P(1, v), u, v∈[0,1], the corresponding control vertices are The four corner points are P(0,0), P(0,1), P(1,0), P(1,1), as shown below. The control points in the four-sided surface domain are obtained as follows:

发明作用与效果Invention function and effect

根据本发明的提供的四边有限元网格模型的参数化模型重建算法,以有限元分析软件得到的四边形网格模型作为基础,对该网格模型进行单元网格规范合并、块域自适应合并等合并操作减少块域数量,得到一定数量的子域;通过保留子域边界上的特征点并对特征点进行连线,得到一定数量的最终子域,根据得到的最终子域的边界进行体参数模型的构建、调整与优化,最终得到适用于等几何分析的体参数化模型,该模型具有表达简洁、全域光顺、便于和CAD集成等优势,在等几何分析和体造型领域都能发挥极大作用。According to the parametric model reconstruction algorithm of the four-sided finite element grid model provided by the present invention, the quadrilateral grid model obtained by the finite element analysis software is used as the basis, and the grid model is combined with unit grid specification and block domain adaptive combination The number of block domains is reduced by merging operations such as merging, and a certain number of subdomains are obtained; by retaining the feature points on the subdomain boundaries and connecting the feature points, a certain number of final subdomains are obtained, and the final subdomain is obtained according to the boundary of the final subdomain. The construction, adjustment and optimization of the parametric model finally obtains a volume parametric model suitable for isogeometric analysis. This model has the advantages of simple expression, global smoothness, and easy integration with CAD. It can be used in the fields of isogeometric analysis and volume modeling. great effect.

附图说明Description of drawings

图1为本发明提供的四边有限元网格模型的参数化模型重建算法的总流程图;Fig. 1 is the general flow chart of the parametric model reconstruction algorithm of the quadrilateral finite element mesh model provided by the present invention;

图2为网格单元的公共边结构示意图;Fig. 2 is a schematic diagram of the common side structure of the grid unit;

图3为UV向划分示意图;Fig. 3 is a schematic diagram of UV direction division;

图4为单元网格规范合并的示意图;Fig. 4 is the schematic diagram of unit grid specification merging;

图5为UV增长算法的四边形优先增长模型示意图;Fig. 5 is the schematic diagram of the quadrilateral priority growth model of UV growth algorithm;

图6为UV增长算法的流程图;Fig. 6 is the flowchart of UV growth algorithm;

图7为UV方向对调错误示意图;Figure 7 is a schematic diagram of the UV direction reverse adjustment error;

图8为完全共享边块域合并示意图;Fig. 8 is a schematic diagram of merging of fully shared edge domains;

图9为完全共享边块域合并的流程图;Fig. 9 is a flow chart of fully sharing edge block domain merging;

图10为大部分共享边块域合并示意图;Fig. 10 is a schematic diagram of merging most shared edge domains;

图11(A)、图11(B)为孤岛块域合并示意图;Figure 11(A) and Figure 11(B) are schematic diagrams of merging island block domains;

图12为特征点调整示意图;Fig. 12 is a schematic diagram of feature point adjustment;

图13为U与V向直纹面示意图;Figure 13 is a schematic diagram of U and V direction ruled surface;

图14为四边形域控制点示意图;Fig. 14 is a schematic diagram of quadrilateral domain control points;

图15为体参数化网格模型质量优化流程图;Fig. 15 is a flow chart of volume parameterized mesh model quality optimization;

图16为ANSYS中划分的九孔板网格模型实例图;Figure 16 is an example diagram of a nine-hole plate grid model divided in ANSYS;

图17为ANSYS导出的九孔板网格模型的单元信息表ELIST;Figure 17 is the unit information table ELIST of the nine-hole plate grid model exported by ANSYS;

图18为ANSYS导出的九孔板网格模型的节点信息表NLIST;Fig. 18 is the node information table NLIST of the nine-hole plate grid model exported by ANSYS;

图19为九孔板网格模型在网格单元规范合并后的结果示意图;Fig. 19 is a schematic diagram of the results of the nine-hole plate grid model after the grid unit specification is merged;

图20为九孔板网格模型的合并最终结果示意图;Fig. 20 is the schematic diagram of the merged final result of the nine-hole plate grid model;

图21为九孔板网格模型的调整后特征点示意图;Fig. 21 is the schematic diagram of the adjusted feature points of the nine-hole plate grid model;

图22为九孔板网格模型的最终子域边界示意图;Fig. 22 is the final subdomain boundary schematic diagram of the nine-hole plate grid model;

图23为L形带孔板模型的运行实例图;Fig. 23 is the running instance diagram of the L-shaped plate with holes;

图24为脚型带孔板模型的运行实例图;Fig. 24 is the running example figure of foot type belt hole plate model;

图25为无规则九孔板模型的运行实例图。Fig. 25 is an example diagram of the operation of the random nine-hole plate model.

具体实施方式Detailed ways

以下结合附图及实施例来说明本发明的具体实施方式。The specific implementation manner of the present invention will be described below in conjunction with the accompanying drawings and embodiments.

【实施例一】[Example 1]

图16为ANSYS中划分的九孔板网格模型实例图。实施例一中选用的模型为规律分布九孔板模型,该模型为一块方形板,其上规律分布了九个贯穿孔,如图16所示,利用有限元分析软件ANSYS对该模型进行分析,得到的模型为网格模型,其中的网格单元均为四边形。Figure 16 is an example diagram of a nine-hole plate grid model divided in ANSYS. The model selected in Example 1 is a regularly distributed nine-hole plate model, which is a square plate with nine through holes regularly distributed on it, as shown in Figure 16, using the finite element analysis software ANSYS to analyze the model, The resulting model is a mesh model, where the mesh elements are all quadrilaterals.

图17为ANSYS导出的九孔板网格模型单元信息表ELIST,图18为ANSYS导出的九孔板网格模型节点信息表NLIST。利用有限元软件得到四边形网格模型后,将有限元分析软件得到的网格模型的单元编号和节点坐标作为输入信息,如图17所示,在NLIST中,第一列为节点编号,下面的依次为节点的x,y,z坐标;如图18所示,在ELSIT中,第一列为单元编号,最后四列为节点编号。Figure 17 is the unit information table ELIST of the nine-hole plate grid model exported by ANSYS, and Figure 18 is the node information table NLIST of the nine-hole plate grid model exported by ANSYS. After using the finite element software to obtain the quadrilateral mesh model, the element number and node coordinates of the mesh model obtained by the finite element analysis software are used as input information, as shown in Figure 17. In NLIST, the first column is the node number, and the following The x, y, and z coordinates of the nodes in turn; as shown in Figure 18, in ELSIT, the first column is the unit number, and the last four columns are the node numbers.

图1为本发明提供的四边有限元网格模型的参数化模型重建算法的总流程图。Fig. 1 is a general flow chart of the parametric model reconstruction algorithm of the quadrilateral finite element mesh model provided by the present invention.

如图1所示,得到输入信息后,进行以下步骤,重建体参数化模型。As shown in Figure 1, after the input information is obtained, the following steps are performed to reconstruct the volume parameterized model.

步骤S1,网格模型预处理。根据上述输入信息,重建模型的拓扑关系,获得相关的拓扑信息,具体步骤如步骤S1.1~1.4所述。Step S1, grid model preprocessing. According to the above input information, the topological relationship of the model is reconstructed, and the relevant topological information is obtained. The specific steps are as described in steps S1.1-1.4.

步骤S1.1,基本信息提取,分析四边形网格单元的单元编号ELSIT和节点坐标NLIST,提取基本信息;Step S1.1, basic information extraction, analyzing the unit number ELSIT and node coordinates NLIST of the quadrilateral grid unit, and extracting basic information;

步骤S1.2,邻接关系提取,通过节点和边的共享信息,识别单元之间的邻接关系。在此处定义单元之间的两种邻接关系:Step S1.2, adjacency extraction, identifies the adjacency between units through the shared information of nodes and edges. Two adjacencies between cells are defined here:

边相邻,两个单元有且仅有两个公共节点;The edges are adjacent, and the two units have and only two common nodes;

点相邻,两个单元有且仅有一个公共节点。The points are adjacent, and the two elements have one and only one common node.

图2为网格单元的公共边结构示意图。如图2所示,任意两个边相邻的单元必定存在一条公共边,用firstquad和secondquad分别表示单元1和单元2,Node[0]和Node[1]为两个单元的公共节点。遍历所有的网格单元,最终得到所有公共边信息,并存储备用。Fig. 2 is a schematic diagram of the common edge structure of grid units. As shown in Figure 2, there must be a common edge between any two adjacent units. Firstquad and secondquad are used to represent unit 1 and unit 2 respectively, and Node[0] and Node[1] are the common nodes of the two units. Traverse all grid cells, finally get all common edge information, and store them for later use.

步骤S1.3,排列关系提取,选定某个四边形网格单元作为起始单元,利用单元相邻关系分别从两个方向上根据邻接关系搜索得到单元的排列关系。Step S1.3, extracting the arrangement relationship, selecting a certain quadrilateral grid unit as the starting unit, and using the unit adjacency relationship to search from two directions according to the adjacency relationship to obtain the arrangement relationship of the unit.

图3为UV向划分示意图。如图3所示,在排列关系提取中,引入UV方向存储规则,任意四边形周围最多有四个边相邻的四边形,定义0为u+方向,2为u-方向,1为v+方向,3为v-方向,利用相邻单元质心与中心单元质心的关系,可以将相邻单元绕中心单元规则排序,将相关信息存储备用。Fig. 3 is a schematic diagram of UV direction division. As shown in Figure 3, in the extraction of the arrangement relationship, the UV direction storage rule is introduced. There are at most four adjacent quadrilaterals around any quadrilateral. Define 0 as the u+ direction, 2 as the u- direction, 1 as the v+ direction, and 3 as In the v-direction, using the relationship between the centroids of the adjacent units and the centroids of the central unit, the adjacent units can be regularly sorted around the central unit, and the relevant information can be stored for future use.

步骤S1.4,特征信息标注。Step S1.4, labeling feature information.

首先对所有四边形进行分类。所有单元中,位于边界线上的成为边界四边形,其余为内部四边形;所有边界四边形中,四个顶点中有边界的角点的为边界角点四边形,其余为边界一般四边形。First classify all quadrilaterals. Among all units, those located on the boundary line are boundary quadrilaterals, and the rest are internal quadrilaterals; among all boundary quadrilaterals, those with boundary corners among the four vertices are boundary corner quadrilaterals, and the rest are boundary general quadrilaterals.

然后,将四边形网格模型中存在的特殊单元和节点定义为特征单元和特征节点,并进行标注。特征单元及特征节点的定义如下:Then, define the special units and nodes existing in the quadrilateral mesh model as characteristic units and characteristic nodes, and mark them. The definition of feature unit and feature node is as follows:

对于内部四边形,若点相邻四边形个数不等于边相邻四边形个数的四边形,则该四边形为特征四边形;对于边界四边形,若相邻四边形个数不小于边相邻四边形个数,则该边界四边形也为特征四边形。所有节点中,若某一节点周围的四边形均为特征四边形,则该节点为特征节点。For internal quadrilaterals, if the number of point-adjacent quadrilaterals is not equal to the number of side-adjacent quadrilaterals, the quadrilateral is a characteristic quadrilateral; for boundary quadrilaterals, if the number of adjacent quadrilaterals is not less than the number of side-adjacent quadrilaterals, then the quadrilateral Boundary quadrilaterals are also characteristic quadrilaterals. Among all nodes, if the quadrilaterals around a certain node are characteristic quadrilaterals, then the node is a characteristic node.

步骤S2,体参数化域边界生成,根据步骤S1中得到的拓扑信息,进行一系列合并操作,具体步骤如步骤S2.1~S 2.3所述。Step S2, volume parameterized domain boundary generation, according to the topological information obtained in step S1, perform a series of merging operations, the specific steps are as described in steps S2.1-S2.3.

步骤S2.1,网格单元规范合并。Step S2.1, grid unit specification merging.

图4为网格单元规范合并的示意图。如图4所示,选定一个边界角点四边形为合并起始四边形,利用UV增长算法和相对边增长算法进行合并。Fig. 4 is a schematic diagram of grid cell specification merging. As shown in Figure 4, select a border corner quadrilateral as the merged starting quadrilateral, and use the UV growth algorithm and the opposite side growth algorithm to merge.

图5为UV增长算法的四边形优先增长模型示意图。UV增长算法以对角线模型为优先增长模型,使起始四边形分别沿UV两个方向合并,对角线增长模型要求每一次合并得到的结果仍为四边形域,如图5所示,U向增长一步,则V向的每个单元都需要在V向增长一步;同样地,V向每增长一步,U向的所有单元也需要在U向上增长一步,以保证增长得到的图形仍为四边形。Fig. 5 is a schematic diagram of a quadrilateral priority growth model of the UV growth algorithm. The UV growth algorithm takes the diagonal model as the priority growth model, so that the initial quadrilaterals are merged along the two directions of UV respectively. The diagonal growth model requires that the result of each merger is still a quadrilateral domain, as shown in Figure 5, the U direction If one step is added, each unit in the V direction needs to be increased by one step in the V direction; similarly, every time the V direction is increased by one step, all units in the U direction also need to be increased by one step in the U direction, so as to ensure that the graph obtained by the growth is still a quadrilateral.

图6为UV增长算法的流程图。如图6所示,定义index[0][0]为增长起始四边形,uAddFlag为U向增长标记,vAddFlag为V向增长标记,初始值均为true,若置为false则停止增长。首先U向增长一步,同时判断当前四边形是否为特征四边形;若是则uAddFlag置为false且U向停止增长,否则继续增长;然后V向增长一步,判断当前四边形是否为特征四边形;若是则vAddFlag置为false且V向停止增长,否则继续增长。UV两个方向的增长标记均置为false,则合并终止,将合并结果存储备用。Fig. 6 is a flowchart of the UV growth algorithm. As shown in Figure 6, define index[0][0] as the growth starting quadrilateral, uAddFlag as the U-direction growth flag, vAddFlag as the V-direction growth flag, the initial value is true, and if set to false, the growth will stop. First, increase one step in the U direction, and at the same time judge whether the current quadrilateral is a characteristic quadrilateral; if so, set uAddFlag to false and stop growing in the U direction, otherwise continue to grow; then increase one step in the V direction, and judge whether the current quadrilateral is a characteristic quadrilateral; if so, set vAddFlag to false and the V direction stops growing, otherwise it continues to grow. If the growth flags in both directions of the UV are set to false, the merge is terminated, and the merged result is stored for future use.

图7为UV方向对调错误示意图。一些情况下,如图7所示的圆弧边界处,四边形的UV向会随着圆弧发生角度改变,直到最后方向完全交换,此时UV向已经无法准确判断,如果继续采用UV合并算法,将导致合并错误,因此此时选择相对边合并算法继续进行合并。根据起始四边形的单元序号,按照相对边存储规则,将起始四边形的任意两条相邻边为起始边,增长这两条相邻边上的边相邻四边形,判断增长方向上的四边形是否为特征四边形,若是则停止增长,否则继续增长,算法流程同UV增长算法,在此不再赘述。Fig. 7 is a schematic diagram of UV direction reversal error. In some cases, at the arc boundary as shown in Figure 7, the UV direction of the quadrilateral will change with the arc until the direction is completely exchanged. At this time, the UV direction cannot be accurately judged. If you continue to use the UV merging algorithm, Will result in a merge error, so choose the opposite edge merge algorithm to continue merging at this time. According to the unit number of the starting quadrilateral, according to the relative side storage rules, any two adjacent sides of the starting quadrilateral are taken as the starting side, and the side adjacent to the quadrilateral on these two adjacent sides is increased, and the quadrilateral in the growth direction is judged Whether it is a characteristic quadrilateral, if so, stop growing, otherwise continue to grow, the algorithm flow is the same as the UV growth algorithm, and will not be repeated here.

图19为九孔板网格模型在网格单元规范合并后的结果示意图。如图19所示,经过网格单元规范合并,原来的网格模型合并为若干基础块域。Figure 19 is a schematic diagram of the results of the nine-hole plate grid model after the grid unit specification is merged. As shown in Figure 19, the original grid model is merged into several basic block domains after grid unit specification merging.

步骤S2.2,块域自适应合并。经过单元网格规范合并,单元数量减少为原来的1/10~1/30,得到了一定数量的基础块域,但这些基础块域的数量仍然较大,需要继续合并。由于得到的基础块域均为四边形域,因此可以得到每个基础块域的四条边界信息,根据这些边界信息进行快于自适应合并,步骤如下所述。Step S2.2, block domain adaptive merging. After merging unit grid specifications, the number of units is reduced to 1/10 to 1/30 of the original, and a certain number of basic block domains are obtained. However, the number of these basic block domains is still large and needs to be merged. Since the obtained basic block fields are all quadrilateral fields, four pieces of boundary information of each basic block field can be obtained, and the faster than adaptive merging is performed according to these boundary information, and the steps are as follows.

首先进行完全共享边块域合并。合并规则为,若任意两个基础块域有一条边界完全重合,则将这两个基础块域合并。A fully shared edge domain merge is performed first. The merging rule is that if any two basic block domains have a boundary completely coincident, then the two basic block domains will be merged.

图8为完全共享边块域合并示意图。如图8所示,经过步骤S2.1的单元网格规范合并得到基础块域1~4,根据完全共享边块域合并的规则,域1和域3合并,域2和域4合并,两次合并得到的块域再次进行合并,最终这四个块域合并为一块。Fig. 8 is a schematic diagram of fully shared edge block domain merging. As shown in Fig. 8, domains 1 to 4 of the basic blocks are obtained after unit grid specification merging in step S2.1. According to the rules for domain merging of completely shared edge blocks, domain 1 and domain 3 are merged, and domain 2 and domain 4 are merged. The block domains obtained by the first merger are merged again, and finally the four block domains are merged into one.

图9为完全共享边块域合并的流程图。如图9所示,完全共享边块域合并的流程为,遍历所有基础块域,查找两个块域之间是否存在完全重合的边界,若存在则将两块域合并,继续查找下一个块域,直到所有块域都不存在完全重合的边界为止。Fig. 9 is a flow chart of domain merging of fully shared edge blocks. As shown in Figure 9, the process of merging fully shared edge block domains is to traverse all basic block domains to find whether there is a completely overlapping boundary between the two block domains, and if so, merge the two domains and continue to search for the next block domains until none of the block domains have exactly coincident boundaries.

然后进行大部分共享边块域合并。合并规则为,遍历所有块域,若两块域的边界有共享角点,且边界共享程度超过某一阈值,则将这两块域合并为新的块域。其中,阈值可根据实际情况进行设定。Most of the shared edge domain merges are then performed. The merging rule is to traverse all block domains, and if the boundaries of two domains have shared corners, and the degree of boundary sharing exceeds a certain threshold, then merge the two domains into a new block domain. Wherein, the threshold can be set according to actual conditions.

图10为大部分共享边块域合并示意图。如图10所示,域1和域2的边共享角点,且共享超过了阈值,因此将域1和域2合并;同样地,域3和域4也满足了合并的条件,将域3和域4合并。Fig. 10 is a schematic diagram of domain merging of most shared edge blocks. As shown in Figure 10, the edges of domain 1 and domain 2 share corner points, and the sharing exceeds the threshold, so domain 1 and domain 2 are merged; similarly, domain 3 and domain 4 also meet the conditions for merging, and domain 3 Merged with domain 4.

最后进行孤岛块域合并。经过上述合并,块域数量显著下降,但模型中仍有一些孤立的网格单元或块域,存在未被合并或被其他块域完全包含的问题,这些网格单元和块域称为孤岛块域。孤岛块域的合并算法规则为,识别孤立单元或完全被包含块域,将其合并到相邻的最大子域中去。Finally, island block domain merging is performed. After the above merging, the number of block domains has decreased significantly, but there are still some isolated grid units or block domains in the model, which are not merged or completely contained by other block domains. These grid units and block domains are called island blocks. area. The merging algorithm rule of the island block domain is to identify isolated units or completely contained block domains, and merge them into the largest adjacent sub-domain.

图11(A)、图11(B)为孤岛块域合并示意图。如图11(A)所示,孤立单元1和孤立单元2分别被大块域3和大块域4所包含,域5被大块域6所包含,因此分别将孤立单元1合并到大块域3中,孤立单元2合并到大块域4中,域5合并到大块域6中,合并结果如图11(B)。Figure 11(A) and Figure 11(B) are schematic diagrams of merging island block domains. As shown in Figure 11(A), isolated unit 1 and isolated unit 2 are contained by large block domain 3 and large block domain 4, respectively, and domain 5 is contained by large block domain 6, so the isolated unit 1 is merged into the large block domain In domain 3, the isolated unit 2 is merged into the bulk domain 4, and domain 5 is merged into the bulk domain 6. The merging result is shown in Figure 11(B).

图20为九孔板网格模型的合并最终结果示意图。如图20所示,模型经过块域自适应合并,得到了一定数量的子域。Fig. 20 is a schematic diagram of the combined final result of the nine-hole grid model. As shown in Figure 20, the model undergoes block-domain adaptive merging to obtain a certain number of sub-domains.

步骤S2.3,生成最终子域边界。经过上述合并,模型划分为若干四边形子域,但边界形状较为复杂,不利于表达。以这些子域的边界上的所有角点为特征点,保留这些特征点并进行调整。Step S2.3, generating the final subdomain boundary. After the above merging, the model is divided into several quadrilateral subdomains, but the boundary shape is more complex, which is not conducive to expression. Take all the corner points on the boundaries of these subdomains as feature points, keep these feature points and adjust them.

图12为特征点调整示意图。特征点调整的规则为,外边界特征点保持不变,内边界特征点调整到边界极限位置。如图12所示,方点为特征点,需要进行调整,小圆点为一般边界点,无需调整。Fig. 12 is a schematic diagram of feature point adjustment. The rule of feature point adjustment is that the feature points of the outer boundary remain unchanged, and the feature points of the inner boundary are adjusted to the limit position of the boundary. As shown in Figure 12, the square point is a feature point and needs to be adjusted, and the small circle point is a general boundary point and does not need to be adjusted.

图21为九孔板网格模型的调整后特征点示意图,如图21所示,保留特征点并进行调整,得到调整后特征点。Figure 21 is a schematic diagram of the adjusted feature points of the nine-hole plate grid model. As shown in Figure 21, the feature points are retained and adjusted to obtain the adjusted feature points.

特征点调整完成后,再将特征点连接成四边形域。连接步骤如步骤S2.3.1~S2.3.3所述。After the feature point adjustment is completed, the feature points are connected into a quadrilateral domain. The connection steps are as described in steps S2.3.1 to S2.3.3.

步骤S2.3.1,遍历所有的内边界特征点及外边界特征点,用直线将距离最近的内边界特征点及外边界特征点连接起来;Step S2.3.1, traversing all the inner boundary feature points and outer boundary feature points, connecting the nearest inner boundary feature points and outer boundary feature points with a straight line;

步骤S2.3.2,遍历所有的内边界特征点,用直线将距离最近的内边界特征点连接起来,得到一定数量的N边形,N的数值为4到20;Step S2.3.2, traversing all the inner boundary feature points, connecting the nearest inner boundary feature points with a straight line to obtain a certain number of N polygons, and the value of N is 4 to 20;

步骤S2.3.3,根据多边形划分为四边形的方法在上述步骤中得到的N边形内部生成直线,产生新的子域,这些子域即为最终子域,并且均为四边形域。Step S2.3.3, according to the method of dividing the polygon into quadrilaterals, generate straight lines inside the N-gons obtained in the above steps, and generate new sub-domains, which are the final sub-domains, and all of them are quadrilateral domains.

图22为九孔板网格模型的最终子域边界示意图。如图22所示,对调整后的特征点进行连线操作,得到数个四边形最终子域。Fig. 22 is a schematic diagram of the final subdomain boundary of the nine-hole grid model. As shown in Figure 22, the adjusted feature points are connected to obtain several quadrilateral final sub-domains.

步骤S3,二维参数域模型生成与优化,过程如步骤S3.1~3.2所述。Step S3, generation and optimization of the two-dimensional parameter domain model, the process is as described in steps S3.1-3.2.

步骤S3.1,二维参数模型的生成,包括边界曲线控制点反求和域内控制点插值。对步骤S2中得到的最终子域边界点进行B样条曲线拟合,得到初始控制点,然后对曲线进行节点插入、升阶、拼接,使其和相邻子域边界曲线的节点矢量统一且同阶,由此得到最终边界控制点。通过对边界控制点进行域内控制点插值,得到初始内部控制点。Step S3.1, generation of the two-dimensional parameter model, including control point interpolation in the boundary curve control point reverse sum domain. Perform B-spline curve fitting on the final subdomain boundary points obtained in step S2 to obtain initial control points, and then perform node insertion, upgrade, and splicing on the curve so that it is unified with the node vectors of the adjacent subdomain boundary curves and The same order, thus the final boundary control point is obtained. The initial internal control points are obtained by performing intra-domain control point interpolation on the boundary control points.

图13为U与V向直纹面示意图,图14为四边形域控制点示意图。如图13所示,初始内部控制点采用Coons曲面插值理论生成,设定四条包围成封闭四边形域的样条曲线P(u,0),P(u,1),P(0,v),P(1,v),u,v∈[0,1],对应的控制顶点为四个角点为P(0,0),P(0,1),P(1,0),P(1,1),如下所示。得到四边曲面域内控制点为:Fig. 13 is a schematic diagram of U- and V-directed ruled surfaces, and Fig. 14 is a schematic diagram of control points in a quadrilateral domain. As shown in Figure 13, the initial internal control points are generated using Coons surface interpolation theory, and four spline curves P(u,0), P(u,1), P(0,v) surrounded by a closed quadrilateral domain are set, P(1,v), u,v∈[0,1], the corresponding control vertices are The four corner points are P(0,0), P(0,1), P(1,0), P(1,1), as shown below. The control points in the four-sided surface domain are obtained as follows:

步骤S3.2,模型调整与优化。经过上述模型生成的过程,得到的输出结果为体参数化模型内部控制点,但这些控制点存在扭曲及自交等缺陷,影响后续分析,因此需要对控制点进行合理优化。Step S3.2, model adjustment and optimization. After the above model generation process, the output results are the internal control points of the volume parameterized model, but these control points have defects such as distortion and self-intersection, which affect the subsequent analysis, so the control points need to be rationally optimized.

图15为体参数化网格质量优化流程图。按照如图15所示的流程,对得到的初始化网格模型中的控制点采用分而治之的方法,将模型的各个点控制记为TH,设定次数值α=H,分别对各个控制点的整合约束方程进行优化求解,每求解一次则α的数值减1并继续求解,直到α=1,进行最后一次优化后结束,最终得到并输出体参数化模型。Fig. 15 is a flow chart of volume parameterized mesh quality optimization. According to the process shown in Figure 15, the control points in the obtained initialized grid model are divided and conquered, each point control of the model is recorded as T H , and the number of times is set to α=H, respectively for each control point Integrating constraint equations for optimization and solution, the value of α is reduced by 1 every time it is solved, and the solution is continued until α=1, and the final optimization is completed, and finally the volume parameterized model is obtained and output.

【实施例二】[Example 2]

在本实施例二中,省略与实施例一中相同算法和步骤的说明。In this second embodiment, descriptions of the same algorithms and steps as those in the first embodiment are omitted.

图23为L形带孔板模型的运行实例图,该模型为一块L形板,其上规律分布了四个贯穿孔,如图23所示,从有限元分析软件得到的网格模型经过合并、特征点保留与调整、特征点连线,得到数个四边形最终子域,根据这些最终子域进行二维参数模型生成、调整及优化,即可得到并输出适用于等几何分析的体参数化模型。Figure 23 is an example diagram of the operation of the L-shaped plate model with holes. The model is an L-shaped plate with four through-holes regularly distributed on it. As shown in Figure 23, the grid models obtained from the finite element analysis software are merged , feature point retention and adjustment, and feature point connection to obtain several quadrilateral final sub-domains. According to these final sub-domains, two-dimensional parameter models are generated, adjusted and optimized, and volume parameterization suitable for isogeometric analysis can be obtained and output. Model.

【实施例三】[Embodiment 3]

图24为脚型带孔板模型的运行实例图,该模型为一块脚型板,其上分布有一个大贯穿孔及三个小贯穿孔,如图24所示,从有限元分析软件得到的网格模型经过合并、特征点保留与调整、特征点连线,得到数个四边形最终子域,根据这些最终子域进行二维参数模型生成、调整及优化,即可得到并输出适用于等几何分析的体参数化模型。Figure 24 is an example diagram of the operation of the model of a foot-shaped plate with holes. The model is a foot-shaped plate with a large through-hole and three small through-holes distributed on it. After merging the grid models, retaining and adjusting feature points, and connecting feature points, several quadrilateral final sub-domains are obtained. According to these final sub-domains, two-dimensional parameter models are generated, adjusted and optimized to obtain and output suitable for isogeometric Analytical volume parametric models.

【实施例四】[Example 4]

图25为无规则九孔板模型的运行实例图,该模型为一块方形板,其上无规律地分布有九个贯穿孔,如图25所示,从有限元分析软件得到的网格模型经过合并、特征点保留与调整、特征点连线,得到数个四边形最终子域,根据这些最终子域进行二维参数模型生成、调整及优化,即可得到并输出适用于等几何分析的体参数化模型。Figure 25 is an example diagram of the operation of the random nine-hole plate model. The model is a square plate with nine through-holes irregularly distributed on it. As shown in Figure 25, the grid model obtained from the finite element analysis software is passed through Combine, retain and adjust feature points, and connect feature points to obtain several quadrilateral final subdomains. Based on these final subdomains, perform two-dimensional parameter model generation, adjustment and optimization to obtain and output volume parameters suitable for isogeometric analysis model.

实施例作用与效果Function and effect of embodiment

根据本发明提供的四边有限元网格模型的参数化模型重建算法,在实施例一中,对九孔板模型进行了基于四边有限元网格模型的体参数化模型重建,结果如图22所示,经过合并步骤能够有效减少子域数量,再经过特征点保留及调整、特征点连线等步骤,能够得到一定数量的四边形最终子域,对这些子域的边界进行二维参数化模型生成、优化及调整,即可得到并输出体参数化模型,能够应用于后续的等几何分析。同样地,在实施例二、实施例三及实施例四中,本发明提供的算法均能够顺利运行,减少单元网格的数量并得到最终子域,最后经过二维参数化模型生成、优化及调整方面的运算即可得到并输出体参数化模型,这些体参数化模型均具有表达简洁、全域光顺、便于和CAD集成的优势,能够用于后续的等几何分析。According to the parametric model reconstruction algorithm of the four-sided finite element grid model provided by the present invention, in Embodiment 1, the volume parameterized model reconstruction based on the four-sided finite element grid model is performed on the nine-hole plate model, and the result is shown in Figure 22 It is shown that the number of subdomains can be effectively reduced through the merging step, and then a certain number of quadrilateral final subdomains can be obtained through the steps of feature point retention and adjustment, feature point connection, etc., and a two-dimensional parameterized model is generated for the boundaries of these subdomains , optimization and adjustment, the volume parameterized model can be obtained and exported, which can be applied to subsequent isogeometric analysis. Similarly, in Embodiment 2, Embodiment 3 and Embodiment 4, the algorithm provided by the present invention can run smoothly, reduce the number of unit grids and obtain the final sub-domain, and finally generate, optimize and The volume parameterized model can be obtained and output by the operation of adjustment. These volume parameterized models have the advantages of concise expression, global smoothness, and easy integration with CAD, and can be used for subsequent isogeometric analysis.

以上实施例仅用于说明本发明提供的四边有限元网格模型的参数化模型重建算法的实施方式及运行结果,但本发明并不仅仅限定于在上述实施例中进行,对于其他类型的多孔板结构以及网格模型中网格单元数量更少的一般性结构,本发明提供的算法也同样有效。The above embodiments are only used to illustrate the implementation and operation results of the parametric model reconstruction algorithm of the four-sided finite element mesh model provided by the present invention, but the present invention is not limited to the above-mentioned embodiments, for other types of porous The algorithm provided by the invention is also effective for plate structures and general structures with fewer grid units in the grid model.

Claims (6)

1.一种四边有限元网格模型的参数化模型重建算法,用于对四边形网格模型进行适用于等几何分析的体参数化模型重建,其中所述四边形网格模型由有限元软件将已创建的模型进行四边形网格划分而得到,将所述四边形网格模型中所有四边形网格单元的编号和节点坐标作为输入信息用于所述参数化模型重建算法的进行,该算法的特征在于,包括如下步骤:1. A parametric model reconstruction algorithm of a four-sided finite element mesh model, which is used to carry out volume parametric model reconstruction applicable to isogeometric analysis to a quadrilateral mesh model, wherein the quadrilateral mesh model is transformed by finite element software The created model is divided into quadrilateral grids, and the numbers and node coordinates of all quadrilateral grid units in the quadrilateral grid model are used as input information for the implementation of the parametric model reconstruction algorithm. The algorithm is characterized in that, Including the following steps: 步骤S1,根据所述输入信息,重建四边形网格单元之间的拓扑关系,包括单元邻接关系、单元排列关系;Step S1, according to the input information, reconstruct the topological relationship between quadrilateral grid units, including unit adjacency relationship and unit arrangement relationship; 步骤S2,根据步骤S1中得到的所述拓扑关系进行网格单元规范合并及块域自适应合并,得到最终子域以及最终子域边界;Step S2, according to the topological relationship obtained in step S1, perform grid unit normative merging and block domain adaptive merging to obtain the final sub-domain and the final sub-domain boundary; 步骤S3,通过对步骤S2中得到的所述最终子域进行边界控制点反求及域内控制点插值,得到二维参数域模型,对所述二维参数域模型中的控制点进行调整和优化,得到适用于等几何分析的体参数化模型;Step S3: Obtain a two-dimensional parameter domain model by performing reverse calculation of boundary control points and intra-domain control point interpolation on the final subdomain obtained in step S2, and adjust and optimize the control points in the two-dimensional parameter domain model , to obtain a volume parameterized model suitable for isogeometric analysis; 其中,步骤S2具体包括如下步骤:Wherein, step S2 specifically includes the following steps: 步骤S2.1,网格单元规范合并,结合UV增长算法和相对边增长算法,对所述四边形网格单元进行规范合并,得到一定数量的基础块域;Step S2.1, grid unit canonical merging, combining the UV growth algorithm and the relative edge growth algorithm, performing canonical merging of the quadrilateral grid units to obtain a certain number of basic block domains; 步骤S2.2,对步骤S2.1得到的所述基础块域进行块域自适应合并,包括完全共享边块域合并、大部分共享边块域合并及孤岛块域合并,得到一定数量的子域;Step S2.2, carry out block domain self-adaptive merging on the basic block domain obtained in step S2.1, including fully shared edge block domain merging, most shared edge block domain merging and island block domain merging, to obtain a certain number of child area; 步骤S2.3,以步骤S2.2中得到的所述子域的边界上的所有角点为特征点,保留所述特征点,按照外边界特征点保持不变,内边界特征点调整到边界极限位置的规则对所述特征点进行调整;将调整后的所述特征点用直线连接,生成新的四边域,得到最终子域以及相应的最终子域边界。Step S2.3, taking all the corner points on the boundary of the sub-domain obtained in step S2.2 as feature points, retaining the feature points, keeping the feature points of the outer boundary unchanged, and adjusting the feature points of the inner boundary to the boundary The rule of the extreme position adjusts the feature points; connects the adjusted feature points with a straight line to generate a new four-sided domain, and obtains the final sub-domain and the corresponding final sub-domain boundary. 2.根据权利要求1所述的四边有限元网格模型的参数化模型重建算法,其特征在于,所述步骤S1包括如下步骤:2. the parametric model rebuilding algorithm of quadrilateral finite element mesh model according to claim 1, is characterized in that, described step S1 comprises the steps: 步骤S1.1,通过分析四边形网格单元的所述单元编号的信息表和所述节点坐标的信息表,提取包括所述单元编号和所述节点坐标的基本信息;Step S1.1, extracting basic information including the unit number and the node coordinates by analyzing the information table of the unit number and the information table of the node coordinates of the quadrilateral grid unit; 步骤S1.2,遍历所有的四边形网格单元,分析四边形网格单元的节点和边共享信息,得到所有公共边信息并识别四边形网格单元之间的邻接关系;Step S1.2, traversing all the quadrilateral grid units, analyzing the shared information of nodes and edges of the quadrilateral grid units, obtaining all common edge information and identifying the adjacency relationship between the quadrilateral grid units; 步骤S1.3,选定一个四边形网格单元作为起始,分别从两个互相垂直的方向上根据所述邻接信息搜索得到四边形网格单元的排列关系,所述两个方向分别定义为U向和V向;Step S1.3, select a quadrilateral grid unit as the starting point, search for the arrangement relationship of the quadrilateral grid units from two mutually perpendicular directions according to the adjacency information, and the two directions are respectively defined as the U direction and V direction; 步骤S1.4,将所有四边形网格单元进行分类,将位于边界线上的四边形网格单元设定为边界四边形,其余为内部四边形;含有边界角点的所述边界四边形被设定为边界角点四边形,其余为边界一般四边形;Step S1.4, classify all quadrilateral grid units, set the quadrilateral grid units located on the boundary line as boundary quadrilaterals, and the rest as internal quadrilaterals; the boundary quadrilaterals containing boundary corner points are set as boundary corners point quadrilaterals, and the rest are boundary general quadrilaterals; 将所述内部四边形中点相邻四边形个数不等于边相邻四边形个数的四边形,以及所述边界四边形中相邻四边形个数不小于边相邻四边形个数的四边形定义为特征四边形,将周围的四边形均为特征四边形的节点定义为特征节点,并标注所述特征四边形和所述特征节点;其中,点相邻的定义为两个四边形有且仅有一个公共节点,边相邻的定义为两个四边形有且仅有两个公共节点,点相邻或边相邻的两个四边形为相邻四边形。The quadrilateral whose number of adjacent quadrilaterals at the midpoint of the internal quadrilateral is not equal to the number of side adjacent quadrilaterals, and the quadrilateral whose number of adjacent quadrilaterals in the boundary quadrilateral is not less than the number of side adjacent quadrilaterals is defined as a characteristic quadrilateral, and The nodes whose surrounding quadrilaterals are all characteristic quadrilaterals are defined as characteristic nodes, and the characteristic quadrilaterals and the characteristic nodes are marked; among them, the definition of adjacent points is that two quadrilaterals have and only have one common node, and the definition of adjacent sides Two quadrilaterals have one and only two common nodes, and two quadrilaterals whose vertices are adjacent or sides are adjacent are called adjacent quadrilaterals. 3.根据权利要求2所述的四边有限元网格模型的参数化模型重建算法,其特征在于,在步骤S2.1中,所述UV增长算法包括如下步骤:3. The parametric model reconstruction algorithm of the quadrilateral finite element mesh model according to claim 2, wherein, in step S2.1, the UV growth algorithm comprises the following steps: 根据步骤S2.1中所述单元排列关系,选定起始四边形,分别沿所述起始四边形的所述U向、所述V向进行合并,直到两个方向都碰到特征四边形,合并结束。According to the unit arrangement relationship described in step S2.1, select the starting quadrilateral, and merge along the U direction and the V direction of the starting quadrilateral respectively until both directions meet the characteristic quadrilateral, and the merging ends . 4.根据权利要求2所述的四边有限元网格模型的参数化模型重建算法,其特征在于,在步骤S2.1中,所述相对边增长算法包括如下步骤:4. The parametric model reconstruction algorithm of four-sided finite element mesh model according to claim 2, is characterized in that, in step S2.1, described relative edge growth algorithm comprises the steps: 在所述单元网格规范合并的过程中,当四边形的U向、V向无法判断时,将该四边形作为起始四边形,根据步骤S1中所述单元邻接关系,选定所述起始四边形的两条相邻边作为起始边,增长与所述起始边相对的边相邻四边形,直到增长方向上两条边均属于特征四边形,合并结束。In the process of merging the unit grid specifications, when the U direction and V direction of the quadrilateral cannot be judged, the quadrilateral is used as the initial quadrilateral, and the initial quadrilateral is selected according to the unit adjacency relationship described in step S1. The two adjacent sides are used as the starting side, and the adjacent quadrilateral of the side opposite to the starting side is grown until both sides in the growing direction belong to the characteristic quadrilateral, and the merging ends. 5.根据权利要求1所述的四边有限元网格模型的参数化模型重建算法,其特征在于,在步骤S2.3中,所述特征点的连接步骤为:5. The parametric model reconstruction algorithm of the quadrilateral finite element grid model according to claim 1, wherein in step S2.3, the connection steps of the feature points are: 步骤S2.3.1,遍历所有的内边界特征点及外边界特征点,用直线将距离最近的内边界特征点及外边界特征点连接起来;Step S2.3.1, traversing all the inner boundary feature points and outer boundary feature points, connecting the nearest inner boundary feature points and outer boundary feature points with a straight line; 步骤S2.3.2,遍历所有的内边界特征点,用直线将距离最近的内边界特征点连接起来,得到一定数量的N边形,N的数值为4到20;Step S2.3.2, traversing all the inner boundary feature points, connecting the nearest inner boundary feature points with a straight line to obtain a certain number of N polygons, and the value of N is 4 to 20; 步骤S2.3.3,根据多边形划分为四边形的方法在所述N边形内部生成直线,产生新的子域,使所述子域均为四边域。Step S2.3.3, generating straight lines inside the N-gon according to the method of dividing the polygon into quadrilaterals to generate new sub-domains, so that the sub-domains are all quadrilateral domains. 6.根据权利要求1所述的四边有限元网格模型的参数化模型重建算法,其特征在于:6. the parametric model reconstruction algorithm of quadrilateral finite element mesh model according to claim 1, is characterized in that: 在步骤S3中,所述边界控制点反求的方法为:对所述步骤S2中得到的最终子域边界上的边界点进行B样条曲线拟合,得到初始控制点,再对曲线进行节点插入、升阶、拼接,使其和相邻子域边界曲线的节点矢量统一且同阶,从而得到最终边界控制点;In step S3, the method of inverting the boundary control points is: performing B-spline curve fitting on the boundary points on the final subdomain boundary obtained in the step S2 to obtain initial control points, and then knotting the curve Insert, upgrade, and splicing, so that it is unified and of the same order as the node vectors of the adjacent subdomain boundary curves, so as to obtain the final boundary control points; 所述域内控制点插值的方法为:根据Coons曲面理论,设定四条包围成封闭四边域的样条曲线P(u,0),P(u,1),P(0,v),P(1,v),u,v∈[0,1],P(1,1),对应的控制顶点为四个角点为P(0,0),P(0,1),P(1,0),P(1,1),如下图所示,得到四边曲面域内控制点为:The method of control point interpolation in the described domain is: according to the Coons surface theory, set four spline curves P(u,0) surrounded by a closed four-sided domain, P(u,1), P(0,v), P( 1, v), u, v∈[0,1], P(1,1), the corresponding control vertices are The four corner points are P(0,0), P(0,1), P(1,0), P(1,1), as shown in the figure below, the control points in the four-sided surface domain are obtained as follows:
CN201610307722.0A 2016-05-11 2016-05-11 The parameterized model of four side finite element mesh models is rebuild Expired - Fee Related CN105787226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610307722.0A CN105787226B (en) 2016-05-11 2016-05-11 The parameterized model of four side finite element mesh models is rebuild

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610307722.0A CN105787226B (en) 2016-05-11 2016-05-11 The parameterized model of four side finite element mesh models is rebuild

Publications (2)

Publication Number Publication Date
CN105787226A CN105787226A (en) 2016-07-20
CN105787226B true CN105787226B (en) 2018-11-20

Family

ID=56401283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610307722.0A Expired - Fee Related CN105787226B (en) 2016-05-11 2016-05-11 The parameterized model of four side finite element mesh models is rebuild

Country Status (1)

Country Link
CN (1) CN105787226B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106384384B (en) * 2016-09-18 2020-05-05 上海理工大学 A shape optimization method for 3D product model
CN106910216B (en) * 2017-03-03 2018-08-03 广东工业大学 A kind of grid surface based on ship hull plate point cloud data determines method and device
CN107085865B (en) * 2017-05-12 2020-10-16 杭州电子科技大学 Quadrilateral segmentation method applied to finite element analysis
CN107451371B (en) * 2017-08-11 2021-01-26 四川大学 Method for improving calculation precision of triangular unit
CN107767452A (en) * 2017-10-10 2018-03-06 上海理工大学 The AMF general file generation methods of heterogeneous solid parameterized model
CN109033601B (en) * 2018-07-18 2023-03-17 雅马哈发动机(厦门)信息系统有限公司 CAE design method for pre-analyzing boundary conditions
CN110188423B (en) * 2019-05-16 2022-08-09 广西交通设计集团有限公司 Linear engineering structure rapid BIM modeling method based on finite element meshing
CN111984746B (en) * 2019-05-21 2024-04-05 北京京东乾石科技有限公司 Method and device for generating simulation map based on grid map
CN112116715A (en) * 2019-06-20 2020-12-22 三星电子株式会社 Method and apparatus for efficient interpolation
CN112329282B (en) * 2019-07-31 2023-12-12 比亚迪股份有限公司 Method, device and storage medium for classifying hole perimeter grids
CN111161129B (en) * 2019-11-25 2021-05-25 佛山欧神诺云商科技有限公司 Three-dimensional interaction design method and system for two-dimensional image
CN111223185B (en) * 2019-12-30 2023-10-27 苏州数设科技有限公司 Grid cell information display method of three-dimensional model, device and electronic equipment thereof
CN111177837B (en) * 2019-12-30 2023-08-22 北京禹数技术有限公司 Data processing method and device based on three-dimensional building model and electronic equipment
CN111177968B (en) * 2020-01-02 2022-01-18 大连理工大学 Method for quickly inserting two-dimensional zero-thickness cohesive force unit into target area
CN111104764B (en) * 2020-01-21 2020-08-25 湖南科技大学 Structured grid optimization division method for alternating current motor rotor conducting bar thermal analysis model
CN111581776B (en) * 2020-04-07 2023-09-26 华南理工大学 Iso-geometric analysis method based on geometric reconstruction model
CN111797555B (en) * 2020-07-01 2022-06-24 上海理工大学 Geometric reconstruction method based on finite element model
CN112182489B (en) * 2020-10-14 2023-11-24 杭州电子科技大学 Two-dimensional high-order grid generation method based on partial differential equation solution
CN114627265B (en) * 2021-08-09 2024-12-17 上海理工大学 Body parametric modeling method based on curve four-side subdivision
CN113792458B (en) * 2021-09-09 2023-11-14 中国航天科工集团第二研究院 Optimization method and device for finite element triangle mesh
WO2025123959A1 (en) * 2023-12-12 2025-06-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Dynamic mesh base geometry position prediction coding
CN118779939B (en) * 2024-09-10 2024-12-13 浙江远算科技有限公司 A mesh quality adjustment method and system based on geometry optimization and topology optimization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655992A (en) * 2009-09-15 2010-02-24 中国科学院软件研究所 Reconstruction method of triangular mesh model
CN102034272A (en) * 2010-09-29 2011-04-27 浙江大学 Generating method of individualized maxillofacial soft tissue hexahedral mesh
CN102306396A (en) * 2011-09-15 2012-01-04 山东大学 Three-dimensional entity model surface finite element mesh automatic generation method
CN104157013A (en) * 2014-08-06 2014-11-19 杭州新迪数字工程系统有限公司 Reestablishing method for smooth curved surface on arbitrary quadrilateral grid

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110310101A1 (en) * 2010-06-22 2011-12-22 Schlumberger Technology Corporation Pillar grid conversion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655992A (en) * 2009-09-15 2010-02-24 中国科学院软件研究所 Reconstruction method of triangular mesh model
CN102034272A (en) * 2010-09-29 2011-04-27 浙江大学 Generating method of individualized maxillofacial soft tissue hexahedral mesh
CN102306396A (en) * 2011-09-15 2012-01-04 山东大学 Three-dimensional entity model surface finite element mesh automatic generation method
CN104157013A (en) * 2014-08-06 2014-11-19 杭州新迪数字工程系统有限公司 Reestablishing method for smooth curved surface on arbitrary quadrilateral grid

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Determination of nonlinear behavior of a ball joint system by model updating";Mohammad RezaDavoodi etc.;《Journal of Constructional Steel Research》;20120831;第71卷;Pages 52-62 *
"复杂机械零件的六面体有限元网格生成方法";曹华军等;《机械工程学报》;20140831;第50卷(第15期);第114-118页 *

Also Published As

Publication number Publication date
CN105787226A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105787226B (en) The parameterized model of four side finite element mesh models is rebuild
US10726618B2 (en) Systems and methods for generating volumetric models
CN102306396A (en) Three-dimensional entity model surface finite element mesh automatic generation method
CN109461209B (en) Novel structural grid generation method
Besana et al. Cell decomposition of almost smooth real algebraic surfaces
CN105793848A (en) Computer Aided Design Method Including Modeling Step
CN115758938B (en) Boundary Layer Mesh Generation Method for Numerical Simulation of Viscous Boundary Flow Field
Yuan et al. Feature preserving multiresolution subdivision and simplification of point clouds: A conformal geometric algebra approach
CN117708904B (en) A hybrid cell mesh generation method for semiconductor numerical simulation
Jaillet et al. Fast Quadtree/Octree adaptive meshing and re-meshing with linear mixed elements
CN115481497A (en) Volume parameterization modeling method based on feature framework
CN118071960B (en) Semiconductor device simulation-oriented octree grid encryption and generation method
CN113792458B (en) Optimization method and device for finite element triangle mesh
CN105302951A (en) A Finite Element Mesh Surface Subdivision Method
Leng et al. Rapid simplification of 3D geometry model of mechanisms in the digital twins-driven manufacturing system design
CN114969860A (en) A method for automatic generation of hexahedral unstructured mesh
CN108230452A (en) A kind of model filling-up hole method based on textures synthesis
CN116992513A (en) A method for generating body-fitting particles in simulation software adapted to complex geometry
Liu et al. Distributed poly-square mapping for large-scale semi-structured quad mesh generation
CN109685844B (en) Method and device for weaving grid marking and direction calibration optimization
Guo et al. Adaptive surface mesh remeshing based on a sphere packing method and a node insertion/deletion method
CN118779939B (en) A mesh quality adjustment method and system based on geometry optimization and topology optimization
Anderson et al. Smooth, volume-accurate material interface reconstruction
CN115047825A (en) Method for displaying numerical control machining milling in real time
CN110349265B (en) Tetrahedral topological mesh generation method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181120

Termination date: 20210511

CF01 Termination of patent right due to non-payment of annual fee