CN113946994A - A Numerical Calculation Method of Smooth Finite Element Based on Digital Twin - Google Patents
A Numerical Calculation Method of Smooth Finite Element Based on Digital Twin Download PDFInfo
- Publication number
- CN113946994A CN113946994A CN202111194081.XA CN202111194081A CN113946994A CN 113946994 A CN113946994 A CN 113946994A CN 202111194081 A CN202111194081 A CN 202111194081A CN 113946994 A CN113946994 A CN 113946994A
- Authority
- CN
- China
- Prior art keywords
- smooth
- matrix
- boundary
- solid material
- displacement
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/10—Numerical modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Algebra (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机技术领域,特别涉及一种基于数字孪生体的光滑有限元数值计算方法。The invention relates to the field of computer technology, in particular to a smooth finite element numerical calculation method based on a digital twin.
背景技术Background technique
经过半个多世纪的发展,有限元方法已经成为工程和科学领域中一种功能强大、用途广泛的数值模拟技术。映射单元(如等参单元)在有限元分析中起着非常重要的作用。目前,使用映射单元的基本要求是,单元必须是凸形,并且不允许剧烈扭曲,以保证在与单元相关的物理坐标和自然坐标之间建立一对一的坐标对应关系。具体来说,对于使用映射双线性形状函数的四节点单元,一个必要条件是,任何内角理论上不应大于180°。在数值实现中,应经常检查雅可比矩阵行列式的正性,以避免单元的严重畸变。高阶近似函数问题所需的求积规则除了在实现上的复杂性外,还会大大增加计算量。After more than half a century of development, the finite element method has become a powerful and versatile numerical simulation technique in the fields of engineering and science. Mapping elements (such as isoparametric elements) play a very important role in finite element analysis. Currently, the basic requirement for using mapping cells is that the cells must be convex and not allowed to distort sharply to guarantee a one-to-one coordinate correspondence between the physical and natural coordinates associated with the cells. Specifically, for four-node elements using mapped bilinear shape functions, a requirement is that any interior angle should theoretically be no greater than 180°. In numerical implementations, the positivity of the determinant of the Jacobian should be checked frequently to avoid severe distortion of the cells. In addition to the complexity of implementation, the quadrature rules required for higher-order approximate function problems will greatly increase the amount of computation.
因此,如何克服传统有限元法对映射单元形状的限制,从而更加灵活第离散问题域,就成为本领域技术人员目前亟待解决的问题。Therefore, how to overcome the limitation of the shape of the mapping element by the traditional finite element method, so as to make the discrete problem domain more flexible, has become an urgent problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种基于数字孪生体的光滑有限元数值计算方法,以解决传统有限元法对映射单元形状的限制的问题。为了对披露的实施例的一些方面有一个基本的理解,下面给出了简单的概括。该概括部分不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围。其唯一目的是用简单的形式呈现一些概念,以此作为后面的详细说明的序言。The embodiment of the present invention provides a smooth finite element numerical calculation method based on a digital twin, so as to solve the problem that the shape of the mapping element is limited by the traditional finite element method. In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended to be an extensive review, nor is it intended to identify key/critical elements or delineate the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the detailed description that follows.
根据本发明实施例的第一方面,提供了一种基于数字孪生体的光滑有限元数值计算方法。According to a first aspect of the embodiments of the present invention, a smooth finite element numerical calculation method based on a digital twin is provided.
在一个实施例中,一种用于数字孪生体的光滑有限元数值算法,包括:In one embodiment, a smoothed finite element numerical algorithm for digital twins, comprising:
一种基于数字孪生体的光滑有限元数值计算方法,其特征在于,所述方法包括:A smooth finite element numerical calculation method based on a digital twin, characterized in that the method comprises:
获取固体材料的固体材料数据和多边形单元数据;Obtain solid material data and polygon element data for solid materials;
将目标范围内的每个所述多边形单元分别划分为多个光滑单元;Dividing each of the polygonal units within the target range into a plurality of smooth units;
计算每个所述光滑单元的刚度矩阵,并得到所述多边形单元的刚度矩阵;Calculate the stiffness matrix of each smooth element, and obtain the stiffness matrix of the polygonal element;
基于所述多边形单元的刚度矩阵得到固体材料刚度矩阵和荷载矩阵;obtaining a solid material stiffness matrix and a load matrix based on the stiffness matrix of the polygon element;
根据固体材料刚度矩阵及荷载矩阵进行矩阵运算,得到固体材料静态弹性问题的位移近似解矩阵U。According to the solid material stiffness matrix and the load matrix, the matrix operation is carried out, and the displacement approximate solution matrix U of the static elastic problem of the solid material is obtained.
进一步地,获取固体材料的固体材料数据具体包括:Further, obtaining the solid material data of the solid material specifically includes:
获取固体材料的杨氏模量和泊松比。Obtain Young's modulus and Poisson's ratio for solid materials.
进一步地,获取固体材料的多边形单元数据具体包括:Further, acquiring the polygon unit data of the solid material specifically includes:
获取多边形单元的单元编号、单元节点编号和节点坐标。Get the element number, element node number, and node coordinates of a polygonal element.
进一步地,所述多边形单元为四边形单元。Further, the polygon unit is a quadrilateral unit.
进一步地,将目标范围内的每个所述多边形单元分别划分为多个光滑单元,具体为:Further, each of the polygon units within the target range is divided into a plurality of smooth units, specifically:
将目标范围内的每个四边形单元分别划分为四个光滑单元。Divide each quadrilateral element in the target range into four smooth elements.
进一步地,计算每个所述光滑单元的刚度矩阵,并得到所述多边形单元的刚度矩阵,具体包括:Further, the stiffness matrix of each smooth element is calculated, and the stiffness matrix of the polygonal element is obtained, which specifically includes:
对各所述光滑单元进行循环,以确定各光滑单元的单元面积及法线,并基于单元面积及法线执行光滑操作,从而获得光滑单元刚度矩阵。Each of the smooth elements is looped to determine the element area and normal of each smooth element, and a smooth operation is performed based on the element area and normal to obtain the smooth element stiffness matrix.
进一步地,基于单元面积及法线执行光滑操作,具体包括:Further, a smoothing operation is performed based on the element area and normal, including:
确定固体材料静态弹性问题的定义域,并基于预设的边界条件得到所述定义域的边界外法线和边界位移;Determine the definition domain of the static elasticity problem of the solid material, and obtain the outer boundary normal and boundary displacement of the defined domain based on the preset boundary conditions;
基于所述边界外法线和所述边界位移得到所述定义域的位移梯度;obtaining a displacement gradient of the definition domain based on the boundary outer normal and the boundary displacement;
对所述定义域中的每个光滑单元的位移梯度执行光滑操作。A smoothing operation is performed on the displacement gradient of each smoothing element in the domain.
进一步地,所述确定固体材料静态弹性问题的定义域,并基于预设的边界条件得到所述定义域的边界外法线和边界位移,具体包括:Further, the definition domain of the static elasticity problem of the solid material is determined, and the outer boundary normal and boundary displacement of the definition domain are obtained based on the preset boundary conditions, which specifically includes:
假设二维静态弹性问题定义域Ω,基于以下公式计算定义域的边界:Assuming a two-dimensional static elastic problem domain Ω, the boundary of the domain is calculated based on the following formula:
σij+bj=0 in Ωσ ij +b j =0 in Ω
Γ=Γu+Γt Γ = Γ u + Γ t
其中,σij为应力张量,bj为体力,Γ为定义域Ω的边界,Γu为强制位移边界,Γt为牵引力边界,为空集;where σ ij is the stress tensor, b j is the body force, Γ is the boundary of the definition domain Ω, Γ u is the forced displacement boundary, Γ t is the traction force boundary, is the empty set;
此时,边界条件为:At this point, the boundary conditions are:
σijnj=tionΓt σ ij n j =t i onΓ t
其中,ti为牵引力,nj为边界外法线,为强制位移,ui为边界Γu的位移。where t i is the traction force, n j is the normal outside the boundary, is the forced displacement, and ui is the displacement of the boundary Γ u .
进一步地,所所述基于所述边界外法线和所述边界位移得到所述定义域的位移梯度,具体包括:Further, the obtaining the displacement gradient of the definition domain based on the boundary outer normal and the boundary displacement specifically includes:
利用以下公式进行变分弱处理:Variational weak processing is performed using the following formula:
其中,为位移梯度的对称部分,Dijkl为材料矩阵,δ为δ函数,k、l均为节点序号。in, is the symmetrical part of the displacement gradient, D ijkl is the material matrix, δ is the δ function, and k and l are the node numbers.
利用以下公式,对每个元素内的每个光滑单元的位移梯度执行光滑操作:The smoothing operation is performed on the displacement gradient of each smoothing element within each element using the following formula:
其中,Φ为光滑函数,uh(xC)为光滑操作后的位移,xC为光滑单元坐标;Among them, Φ is the smooth function, u h (x C ) is the displacement after the smooth operation, and x C is the coordinate of the smooth element;
根据分布积分,上述公式的右侧式子转化为:According to the distribution integral, the right-hand side of the above formula is transformed into:
其中,n(x)为边界外法线向量;Among them, n(x) is the normal vector outside the boundary;
联立公式可得:The simultaneous formula can be obtained:
其中,ΓC为光滑单元边界,为光滑操作后的位移梯度。where Γ C is the smooth element boundary, is the displacement gradient after smooth operation.
进一步地,所所述变分弱公式满足以下条件:Further, the variational weak formula satisfies the following conditions:
其中,BI为标准梯度矩阵,NI为形函数矩阵。Among them, B I is the standard gradient matrix, and N I is the shape function matrix.
进一步地,所所述光滑函数Φ的具体形式如下式:Further, the specific form of the smooth function Φ is as follows:
其中,ΩC为光滑单元,AC为光滑单元ΩC的面积,uh(xC)为光滑操作后的位移,xC为光滑单元坐标。Among them, Ω C is the smooth element, AC is the area of the smooth element Ω C , u h (x C ) is the displacement after the smoothing operation, and x C is the coordinate of the smooth element.
进一步地,所利用以下公式计算光滑应变:Further, the following formula is used to calculate the smooth strain:
其中,为光滑应变矩阵,为光滑应变,dI为弹性模量。in, is a smooth strain matrix, is the smoothing strain, and dI is the elastic modulus.
进一步地,所利用以下公式计算所述光滑应变矩阵:Further, the smooth strain matrix is calculated by the following formula:
其中,nk(x)为边界外法线向量。where n k (x) is the normal vector outside the boundary.
进一步地,所述基于所述多边形单元的刚度矩阵得到固体材料刚度矩阵和荷载矩阵,具体包括:Further, the obtained solid material stiffness matrix and load matrix based on the stiffness matrix of the polygonal element specifically include:
将所述光滑单元刚度矩阵组合,以得到多边形单元的刚度矩阵,加载固体材料静态弹性问题的边界条件,得到最终的固体材料刚度矩阵K及荷载矩阵F。The stiffness matrix of the smooth element is combined to obtain the stiffness matrix of the polygonal element, and the boundary conditions of the static elastic problem of the solid material are loaded to obtain the final stiffness matrix K and load matrix F of the solid material.
根据本发明实施例的第二方面,提供了一种计算机设备。According to a second aspect of the embodiments of the present invention, a computer device is provided.
在一些实施例中,所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述算法的步骤。In some embodiments, the computer device includes a memory and a processor, the memory having a computer program stored thereon, the processor implementing the steps of the algorithm described above when the computer program is executed.
根据本发明实施例的第三方面,提供了一种计算机可读存储介质。According to a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided.
在一些实施例中,所述计算机存储介质中包含一个或多个程序指令,所述一个或多个程序指令用于执行如上所述的方法。In some embodiments, the computer storage medium contains one or more program instructions for performing the method as described above.
本发明实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
本发明所提供的基于数字孪生体的光滑有限元数值计算方法,通过获取固体材料的固体材料数据和多边形单元数据,并将目标范围内的每个所述多边形单元分别划分为多个光滑单元;而后计算每个所述光滑单元的刚度矩阵,并得到所述多边形单元的刚度矩阵,基于所述多边形单元的刚度矩阵得到固体材料刚度矩阵和荷载矩阵;并根据固体材料刚度矩阵及荷载矩阵进行矩阵运算,得到固体材料静态弹性问题的位移近似解矩阵U。从而在不增加计算成本的前提下,极大改善了有限元的求解精度与能量收敛速度,并且可以消除对双线性等参元形状的限制,更灵活地离散问题域,解决了传统有限元法对映射单元形状的限制的问题。The digital twin-based smooth finite element numerical calculation method provided by the present invention obtains solid material data and polygon element data of the solid material, and divides each polygon element within the target range into a plurality of smooth elements respectively; Then, the stiffness matrix of each smooth element is calculated, and the stiffness matrix of the polygonal element is obtained. Based on the stiffness matrix of the polygonal element, the solid material stiffness matrix and the load matrix are obtained; and the matrix is obtained according to the solid material stiffness matrix and the load matrix. Operation is performed to obtain the displacement approximate solution matrix U of the static elastic problem of solid materials. Therefore, without increasing the computational cost, the solution accuracy and energy convergence speed of the finite element are greatly improved, and the restriction on the shape of the bilinear isoparametric element can be eliminated, and the problem domain can be discretized more flexibly, solving the traditional finite element. The problem of the limitation of the method on the shape of the mapping unit.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种基于数字孪生体的光滑有限元数值计算方法的流程图;1 is a flow chart of a method for numerically calculating smooth finite element based on a digital twin according to an exemplary embodiment;
图2是根据一示例性实施例示出的悬臂梁的结构示意图;2 is a schematic structural diagram of a cantilever beam according to an exemplary embodiment;
图3a是根据一示例性实施例示出的本发明的算法与传统有限元法位的移范数比较示意图;Fig. 3a is a schematic diagram showing the comparison of the norm shift of the algorithm of the present invention and the traditional finite element method according to an exemplary embodiment;
图3b是根据一示例性实施例示出的本发明的方法与传统有限元法的能量范数比较示意图;Fig. 3b is a schematic diagram showing the energy norm comparison between the method of the present invention and the traditional finite element method according to an exemplary embodiment;
图3c是根据一示例性实施例示出的本发明的算法与传统有限元法的计算时间比较示意图;3c is a schematic diagram showing the comparison of the calculation time between the algorithm of the present invention and the traditional finite element method according to an exemplary embodiment;
图4a是根据一示例性实施例示出的规则多边形网格划分示意图;4a is a schematic diagram of regular polygon meshing according to an exemplary embodiment;
图4b是根据一示例性实施例示出的不规则多边形网格划分示意图;Fig. 4b is a schematic diagram of irregular polygon meshing according to an exemplary embodiment;
图4c是根据一示例性实施例示出的本发明的算法在不同网格下的计算结果与解析解的比较示意图;Fig. 4c is a schematic diagram showing the comparison between the calculation result of the algorithm of the present invention under different grids and the analytical solution according to an exemplary embodiment;
图5是根据一示例性实施例示出的计算机设备的结构示意图。FIG. 5 is a schematic structural diagram of a computer device according to an exemplary embodiment.
具体实施方式Detailed ways
以下描述和附图充分地示出本文的具体实施方案,以使本领域的技术人员能够实践它们。一些实施方案的部分和特征可以被包括在或替换其他实施方案的部分和特征。本文的实施方案的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。本文中,术语“第一”、“第二”等仅被用来将一个元素与另一个元素区分开来,而不要求或者暗示这些元素之间存在任何实际的关系或者顺序。实际上第一元素也能够被称为第二元素,反之亦然。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的结构、装置或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种结构、装置或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的结构、装置或者设备中还存在另外的相同要素。本文中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。The following description and drawings sufficiently illustrate the specific embodiments herein to enable those skilled in the art to practice them. Portions and features of some embodiments may be included in or substituted for those of other embodiments. The scope of the embodiments herein includes the full scope of the claims, along with all available equivalents of the claims. Herein, the terms "first," "second," etc. are only used to distinguish one element from another, and do not require or imply any actual relationship or order between the elements. In fact the first element can also be called the second element and vice versa. Furthermore, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a structure, device or device comprising a list of elements includes not only those elements, but also others not expressly listed elements, or elements inherent to such structures, devices, or equipment. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the structure, apparatus or device that includes the element. The various embodiments herein are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and it is sufficient to refer to each other for the same and similar parts between the various embodiments.
本文中的术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本文和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。在本文的描述中,除非另有规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是机械连接或电连接,也可以是两个元件内部的连通,可以是直接相连,也可以通过中间媒介间接相连,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。The terms "portrait", "landscape", "top", "bottom", "front", "rear", "left", "right", "vertical", "horizontal", "top", " The orientation or positional relationship indicated by "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the text and simplifying the description, rather than indicating or implying that the indicated device or element must be It has a specific orientation, is constructed and operates in a specific orientation, and therefore should not be construed as a limitation of the present invention. In the description herein, unless otherwise specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it may be a mechanical connection or an electrical connection, or it may be the internal communication between two elements, It can be directly connected or indirectly connected through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms can be understood according to specific situations.
本文中,除非另有说明,术语“多个”表示两个或两个以上。As used herein, unless stated otherwise, the term "plurality" means two or more.
本文中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In this article, the character "/" indicates that the preceding and following objects are in an "or" relationship. For example, A/B means: A or B.
本文中,术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。Herein, the term "and/or" is an associative relationship describing objects, indicating that three relationships can exist. For example, A and/or B, means: A or B, or, A and B three relationships.
在一种具体实施方式中,本发明所提供的基于数字孪生体的光滑有限元数值计算方法,基于映射单元内的光滑单元,将应变场投影到一个或一组常数场上。如图1所示,该方法包括以下步骤:In a specific embodiment, the digital twin-based smooth finite element numerical calculation method provided by the present invention projects the strain field onto one or a group of constant fields based on the smooth element in the mapping element. As shown in Figure 1, the method includes the following steps:
S1:获取固体材料的固体材料数据和多边形单元数据。S1: Obtain the solid material data and polygon element data of the solid material.
为了便于操作,多边形单元数据具体为和四边形单元数据。具体地,固体材料数据和四边形单元数据属于固体材料的静弹性问题数据,其为输入性数值数据。其中,固体材料数据包括杨氏模量、泊松比,四边形单元数据包括单元编号、单元节点编号和节点坐标。For the convenience of operation, the polygon unit data is specifically and quadrilateral unit data. Specifically, the solid material data and the quadrilateral element data belong to the static elastic problem data of the solid material, which are input numerical data. The solid material data includes Young's modulus and Poisson's ratio, and the quadrilateral element data includes element number, element node number, and node coordinates.
S2:将目标范围内的每个所述多边形单元分别划分为多个光滑单元。基于前述,步骤S2具体为将目标范围内的每个四边形单元分别划分为四个光滑单元。S2: Divide each of the polygonal units in the target range into a plurality of smooth units respectively. Based on the foregoing, step S2 specifically includes dividing each quadrilateral element within the target range into four smooth elements.
S3:计算每个所述光滑单元的刚度矩阵,并得到所述多边形单元的刚度矩阵。S3: Calculate the stiffness matrix of each smooth element, and obtain the stiffness matrix of the polygonal element.
具体地,步骤S3为,对各所述光滑单元进行循环,以确定各光滑单元的单元面积及法线,并基于单元面积及法线执行光滑操作,从而获得光滑单元刚度矩阵。Specifically, step S3 is to cycle through each smooth element to determine the element area and normal of each smooth element, and perform a smoothing operation based on the element area and normal to obtain a smooth element stiffness matrix.
在步骤S3中,执行光滑操作时包括以下步骤:In step S3, the following steps are included when performing the smooth operation:
S31:确定固体材料静态弹性问题的定义域;S31: Determine the domain of definition of the static elastic problem of solid materials;
S32:并基于预设的边界条件得到所述定义域的边界外法线和边界位移;S32: and obtain the outer boundary normal and boundary displacement of the definition domain based on the preset boundary conditions;
S33:基于所述边界外法线和所述边界位移得到所述定义域的位移梯度;S33: Obtain the displacement gradient of the definition domain based on the outer normal of the boundary and the boundary displacement;
S34:对所述定义域中的每个光滑单元的位移梯度执行光滑操作。S34: Perform a smoothing operation on the displacement gradient of each smoothing element in the definition domain.
具体地,在一个具体场景中,为说明该方法的原理,假设二维静态弹性问题定义域Ω,考虑定义域Ω上的弹性静力问题,其控制方程如下:Specifically, in a specific scenario, in order to illustrate the principle of the method, assume that the two-dimensional static elastic problem has a domain of definition Ω, and consider the elastic-static problem on the domain of definition Ω, and its governing equation is as follows:
σij+bj=0inΩ (1)σ ij +b j =0inΩ (1)
Γ=Γu+Γt (2)Γ = Γ u + Γ t (2)
其中,σij为应力张量,bj为体力,Γ为定义域Ω的边界,Γu为强制位移边界,Γt为牵引力边界,为空集。where σ ij is the stress tensor, b j is the body force, Γ is the boundary of the definition domain Ω, Γ u is the forced displacement boundary, Γ t is the traction force boundary, is the empty set.
此时,边界条件如下:At this point, the boundary conditions are as follows:
σijnj=tionΓt(4)σ ij n j =t i onΓ t (4)
其中,ti为牵引力,nj为边界外法线,为强制位移,ui为边界Γu的位移。where t i is the traction force, n j is the normal outside the boundary, is the forced displacement, and ui is the displacement of the boundary Γ u .
进一步地,上述公式(1)的变分弱形式如下:Further, the variational weak form of the above formula (1) is as follows:
其中,为位移梯度的对称部分,Dijkl为材料矩阵,δ为δ函数,k、l均为节点序号。in, is the symmetrical part of the displacement gradient, D ijkl is the material matrix, δ is the δ function, and k and l are the node numbers.
为了保证数值解的收敛性,应确保弱形式解的线性准确性,因此需满足以下条件:In order to ensure the convergence of the numerical solution, the linear accuracy of the weak-form solution should be ensured, so the following conditions must be satisfied:
其中,BI为标准梯度矩阵,NI为形函数矩阵。Among them, B I is the standard gradient matrix, and N I is the shape function matrix.
对每个元素内的每个光滑单元的位移梯度执行光滑操作,如下式所示:Perform a smooth operation on the displacement gradient of each smooth element within each element as follows:
其中,Φ为光滑函数,具体形式如下式:Among them, Φ is a smooth function, and the specific form is as follows:
其中,ΩC为光滑单元,AC为光滑单元ΩC的面积,uh(xC)为光滑操作后的位移,xC为光滑单元坐标。Among them, Ω C is the smooth element, AC is the area of the smooth element Ω C , u h (x C ) is the displacement after the smoothing operation, and x C is the coordinate of the smooth element.
根据分布积分,公式(9)的右侧式子可转化为:According to the distribution integral, the right-hand side of formula (9) can be transformed into:
其中,n(x)为边界外法线向量。Among them, n(x) is the normal vector outside the boundary.
联立公式(9)(10)可得:Simultaneous formulas (9) and (10) can be obtained:
其中,ΓC为光滑单元边界,为光滑操作后的位移梯度。where Γ C is the smooth element boundary, is the displacement gradient after smooth operation.
光滑函数使单元面积分转换为单元边界线积分,类似地,可以通过以下公式获得平滑的应变:The smooth function converts the element area integral to the element boundary line integral, and similarly, the smoothed strain can be obtained by:
其中,为光滑应变矩阵,为光滑应变,dI为弹性模量。in, is a smooth strain matrix, is the smoothing strain, and dI is the elastic modulus.
对于二维问题,的定义如下:For two-dimensional problems, is defined as follows:
其中,nk(x)为边界外法线向量。where n k (x) is the normal vector outside the boundary.
如果用一个高斯点沿每段边界进行线积分,则可由下式进行计算:If a line integral is performed along each segment boundary with a Gaussian point, then It can be calculated by the following formula:
其中,xi为边界线段上的高斯积分点,和分别为边界线段的长度与外法线,为边界线段上的高斯积分点。Among them, x i is the boundary line segment The Gaussian integration point on , and boundary line segments The length of and the outer normal, for the boundary line segment Gaussian integration points on .
S4:基于所述多边形单元的刚度矩阵得到固体材料刚度矩阵和荷载矩阵。S4: Obtain a solid material stiffness matrix and a load matrix based on the stiffness matrix of the polygonal element.
该步骤S4具体为将所述光滑单元刚度矩阵组合,以得到四边形单元的刚度矩阵,加载固体材料静态弹性问题的边界条件,得到最终的固体材料刚度矩阵K及荷载矩阵F。The step S4 is specifically combining the stiffness matrices of the smooth elements to obtain the stiffness matrix of the quadrilateral element, loading the boundary conditions of the static elasticity problem of the solid material, and obtaining the final stiffness matrix K and load matrix F of the solid material.
S5:根据固体材料刚度矩阵K及荷载矩阵F进行矩阵运算,得到固体材料静态弹性问题的位移近似解矩阵U。S5: Perform matrix operations according to the stiffness matrix K and the load matrix F of the solid material to obtain the approximate displacement matrix U of the static elastic problem of the solid material.
具体地,光滑处理后的单元刚度矩阵可由该单元所有光滑单元的刚度矩阵组合而成,即根据固体材料刚度矩阵K及荷载矩阵F进行矩阵运算,得到固体材料静态弹性问题的位移近似解矩阵U。Specifically, the element stiffness matrix after smoothing can be composed of the stiffness matrices of all smooth elements of the element, that is, the matrix operation is performed according to the solid material stiffness matrix K and the load matrix F to obtain the displacement approximate solution matrix U of the static elastic problem of the solid material. .
其中,根据公式(16)计算固体材料刚度矩阵,为:Among them, the solid material stiffness matrix is calculated according to formula (16), as:
其中,Ke为刚度矩阵,为光滑应变矩阵,D为固体材料的材料矩阵。where Ke is the stiffness matrix, is the smooth strain matrix, and D is the material matrix of the solid material.
下面以悬臂梁为例,给出本发明所提供的基于数字孪生体的光滑有限元数值计算方法的一个具体实施例。Taking the cantilever beam as an example below, a specific embodiment of the digital twin-based smooth finite element numerical calculation method provided by the present invention is given.
如图2所示,长度为L,高度为D的悬臂梁,该悬臂梁在自由端受到抛物线牵引力,相关参数为:E=3.0×107kPa,v=0.3,D=12m,L=48m,P=1000N。假定该悬臂梁具有单位厚度,其位移精确解如下:As shown in Figure 2, a cantilever beam with a length of L and a height of D, the cantilever beam is subjected to a parabolic traction force at the free end, and the relevant parameters are: E=3.0×10 7 kPa, v=0.3, D=12m, L=48m , P=1000N. Assuming that the cantilever has unit thickness, the exact solution for its displacement is as follows:
相应的应力精确解如下:The corresponding exact stress solution is as follows:
σ22(x,y)=0 (21)σ 22 (x,y)=0 (21)
为了验证本发明算法的收敛速度,使用两个范式子,即位移范式ed和能量范式ee:In order to verify the convergence speed of the algorithm of the present invention, two paradigms are used, namely the displacement paradigm ed and the energy paradigm ee :
如图3a和图3b所示,本发明的光滑有限元数值算法(SFEM)与传统有限元法(FEM)的收敛速度相比,这两种方法在位移和能量上都达到了等效的收敛速度,而本发明方法的位移比传统有限元法更为精确。与使用S1相比,使用S2的SFEM能量收敛大约快一倍。在方案1(S1)中,SC/GP=4用于计算刚度矩阵(位移)和应力(能量),而在方案2(S2)中,SC/GP=4仅用于计算刚度矩阵(位移),SC/GP=1用于应力和能量的后处理,在方案3(S3)中,始终使用SC/GP=1)。As shown in Fig. 3a and Fig. 3b, the smoothing finite element numerical algorithm (SFEM) of the present invention is compared with the convergence speed of the traditional finite element method (FEM), and both methods achieve equivalent convergence in displacement and energy. velocity, and the displacement of the method of the present invention is more accurate than the traditional finite element method. Compared to using S1, the SFEM energy convergence with S2 is approximately twice as fast. In scheme 1 (S1), SC/GP=4 is used to calculate stiffness matrix (displacement) and stress (energy), while in scheme 2 (S2), SC/GP=4 is used to calculate stiffness matrix (displacement) only , SC/GP=1 is used for post-processing of stress and energy, in scheme 3 (S3), SC/GP=1 is always used).
本发明的光滑有限元数值算法(SFEM)与传统有限元法的计算时间如图3c所示,当离散单元数量不是很大时,两种方法都需要几乎相同的时间。但是,随着单元的增加,本发明的光滑有限元数值算法的计算时间要少于传统有限元法的计算时间。The calculation time of the smooth finite element numerical algorithm (SFEM) of the present invention and the traditional finite element method is shown in Fig. 3c. When the number of discrete elements is not very large, both methods require almost the same time. However, with the increase of elements, the calculation time of the smooth finite element numerical algorithm of the present invention is less than that of the traditional finite element method.
为了演示本发明的光滑有限元数值算法具有复杂形状元素的功能,将梁分为规则单元和不规则多边形单元,如图4a和图4b所示。然后将结算结果与精确解一起绘制在图4c中,计算结果与精确解结果相吻合。而不规则多边形单元不能在传统有限元法中使用。In order to demonstrate the function of the smooth finite element numerical algorithm of the present invention with complex shape elements, the beams are divided into regular elements and irregular polygon elements, as shown in Fig. 4a and Fig. 4b. The settlement results are then plotted together with the exact solution in Fig. 4c, and the calculated results agree with the exact solution results. Irregular polygon elements cannot be used in the traditional finite element method.
本发明的光滑有限元数值算法在不增加计算成本的前提下,极大改善了有限元的求解精度与能量收敛速度,并且可以消除对双线性等参元形状的限制,更灵活地离散问题域。The smooth finite element numerical algorithm of the present invention greatly improves the solution accuracy and energy convergence speed of the finite element without increasing the calculation cost, and can eliminate the restriction on the shape of the bilinear isoparametric element, and discretize the problem more flexibly. area.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图5所示。该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储静态信息和动态信息数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现上述算法实施例中的步骤。In one embodiment, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in FIG. 5 . The computer device includes a processor, memory, and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used to store static information and dynamic information data. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program, when executed by the processor, implements the steps in the above algorithm embodiments.
本领域技术人员可以理解,图5中示出的结构,仅仅是与本发明方案相关的部分结构的框图,并不构成对本发明方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 5 is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the computer equipment to which the solution of the present invention is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述算法实施例中的步骤。In one embodiment, a computer device is also provided, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the above algorithm embodiments when the processor executes the computer program.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述算法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the above algorithm embodiments.
本领域普通技术人员可以理解实现上述实施例算法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各算法的实施例的流程。其中,本发明所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the algorithm in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the flow of the above-mentioned algorithm embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided by the present invention may include at least one of non-volatile and volatile memory. The non-volatile memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM).
本发明并不局限于上面已经描述并在附图中示出的结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。The present invention is not limited to the structures that have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111194081.XA CN113946994B (en) | 2021-10-13 | 2021-10-13 | Smooth finite element numerical calculation method based on digital twin |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111194081.XA CN113946994B (en) | 2021-10-13 | 2021-10-13 | Smooth finite element numerical calculation method based on digital twin |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113946994A true CN113946994A (en) | 2022-01-18 |
CN113946994B CN113946994B (en) | 2025-05-23 |
Family
ID=79329584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111194081.XA Active CN113946994B (en) | 2021-10-13 | 2021-10-13 | Smooth finite element numerical calculation method based on digital twin |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113946994B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113887107A (en) * | 2021-10-13 | 2022-01-04 | 国网山东省电力公司电力科学研究院 | Hexahedral volume calculation method and system based on digital twin |
CN116050027A (en) * | 2023-03-30 | 2023-05-02 | 陕西空天信息技术有限公司 | Impeller blade structure static analysis method, computer program product and electronic equipment |
CN116244804A (en) * | 2023-02-22 | 2023-06-09 | 山东大学 | Cantilever beam numerical technology test method based on improved constraint |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970960A (en) * | 2014-05-23 | 2014-08-06 | 湘潭大学 | Grid-free Galerkin method structural topology optimization method based on GPU parallel acceleration |
CN105243282A (en) * | 2015-11-03 | 2016-01-13 | 湖南大学 | Galerkin method of smooth sub-domain for efficiently analyzing structural stress |
CN109461209A (en) * | 2018-10-11 | 2019-03-12 | 中国空气动力研究与发展中心计算空气动力研究所 | A kind of new structure grid generation method |
CN110321611A (en) * | 2019-06-24 | 2019-10-11 | 华中科技大学 | A kind of poly-material structure Topology Optimization Method |
CN111964575A (en) * | 2020-07-06 | 2020-11-20 | 北京卫星制造厂有限公司 | Digital twin modeling method for milling of mobile robot |
CN112100882A (en) * | 2020-08-27 | 2020-12-18 | 华南理工大学 | Continuum structure density evolution topological optimization method with smooth boundary |
CN112632825A (en) * | 2020-12-22 | 2021-04-09 | 重庆大学 | Electrostatic field smooth finite element numerical algorithm based on finite element super-convergence |
CN113221271A (en) * | 2021-05-08 | 2021-08-06 | 西安交通大学 | Digital twin-driven quantitative recognition method for cracks of rotating blades of aircraft engine |
-
2021
- 2021-10-13 CN CN202111194081.XA patent/CN113946994B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970960A (en) * | 2014-05-23 | 2014-08-06 | 湘潭大学 | Grid-free Galerkin method structural topology optimization method based on GPU parallel acceleration |
CN105243282A (en) * | 2015-11-03 | 2016-01-13 | 湖南大学 | Galerkin method of smooth sub-domain for efficiently analyzing structural stress |
CN109461209A (en) * | 2018-10-11 | 2019-03-12 | 中国空气动力研究与发展中心计算空气动力研究所 | A kind of new structure grid generation method |
CN110321611A (en) * | 2019-06-24 | 2019-10-11 | 华中科技大学 | A kind of poly-material structure Topology Optimization Method |
CN111964575A (en) * | 2020-07-06 | 2020-11-20 | 北京卫星制造厂有限公司 | Digital twin modeling method for milling of mobile robot |
CN112100882A (en) * | 2020-08-27 | 2020-12-18 | 华南理工大学 | Continuum structure density evolution topological optimization method with smooth boundary |
CN112632825A (en) * | 2020-12-22 | 2021-04-09 | 重庆大学 | Electrostatic field smooth finite element numerical algorithm based on finite element super-convergence |
CN113221271A (en) * | 2021-05-08 | 2021-08-06 | 西安交通大学 | Digital twin-driven quantitative recognition method for cracks of rotating blades of aircraft engine |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113887107A (en) * | 2021-10-13 | 2022-01-04 | 国网山东省电力公司电力科学研究院 | Hexahedral volume calculation method and system based on digital twin |
CN113887107B (en) * | 2021-10-13 | 2025-04-04 | 国网山东省电力公司电力科学研究院 | Hexahedron volume calculation method and system based on digital twin |
CN116244804A (en) * | 2023-02-22 | 2023-06-09 | 山东大学 | Cantilever beam numerical technology test method based on improved constraint |
CN116050027A (en) * | 2023-03-30 | 2023-05-02 | 陕西空天信息技术有限公司 | Impeller blade structure static analysis method, computer program product and electronic equipment |
CN116050027B (en) * | 2023-03-30 | 2023-07-07 | 陕西空天信息技术有限公司 | Impeller blade structure static analysis method, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113946994B (en) | 2025-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113946994A (en) | A Numerical Calculation Method of Smooth Finite Element Based on Digital Twin | |
Wang et al. | Isogeometric analysis for parameterized LSM-based structural topology optimization | |
Basic et al. | A class of renormalised meshless Laplacians for boundary value problems | |
CN116629079B (en) | Method and device for constructing mixed finite element space and solving linear elastic mechanical problem | |
CN106021644A (en) | A method for determining a mixed dimensional model interface constraint equation coefficient | |
CN113536491B (en) | Lattice structure topology optimization design method, device and computer readable storage medium | |
Huang et al. | Multigrid methods for a mixed finite element method of the Darcy–Forchheimer model | |
Daxini et al. | Numerical shape optimization based on meshless method and stochastic optimization technique | |
CN116362079A (en) | Multi-material structure topology optimization method based on novel interpolation model | |
CN112100877B (en) | Structural rigidity efficient topology optimization method and system | |
CN116432330B (en) | Multi-scale shell design method and equipment filled with functionally gradient auxetic metamaterial | |
CN117219210A (en) | Hybridization heat flux finite element method based on octree grids | |
Suzuki et al. | Seamless‐domain method: a meshfree multiscale numerical analysis | |
Kumar et al. | Mesh independent analysis of shell‐like structures | |
JP2013037437A (en) | Structural analysis system, structural analysis program and structural analysis method | |
CN106909699B (en) | Analysis method of thin plate vibration characteristics based on Galerkin strip transfer function | |
Élie-Dit-Cosaque et al. | Smoothed finite element method implemented in a resultant eight-node solid-shell element for geometrical linear analysis | |
CN107507279A (en) | Triangle network generating method based on quick Convex Hull Technology | |
CN112560363B (en) | A Mesh Deformation Quality Evaluation Method in CFD Calculation Based on Mapping Process | |
CN108197397B (en) | An optimal design method for the dynamic performance of aero-engine fastening surfaces | |
CN107577894B (en) | A Real-time Bipartite Encryption-Decryption Method for Quadrilateral Units | |
CN116341419B (en) | Numerical value determining method and system for fluid-solid coupling and electronic equipment | |
CN113051790B (en) | Steam load loading methods, systems, equipment and media for finite element simulation | |
CN113645272B (en) | A cluster compatibility processing method, device and storage medium | |
CN119646246B (en) | Sparse matrix storage access method, device, equipment and medium for fluid calculation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |