원시데이터 수집 시스템
선정목록으로

A modular extension of a finite element contact implementation

간접 관련 모빌리티 소재 · (4) 카시트 모듈 (3) 자동차 인테리어 소재(9) 타이어코드

기본 정보

저자
  1. Ondřej Faltus — Czech Technical University In Prague, Faculty of Civil Engineering, Department of Mechanics, Thákurova 7, 166 29 Prague 6, Czech Republic
  2. Martin Horák — Czech Technical University In Prague, Faculty of Civil Engineering, Department of Mechanics, Thákurova 7, 166 29 Prague 6, Czech Republic
DOI
10.14311/app.2022.34.0015
저널
Acta Polytechnica CTU Proceedings
발행년도
2022
발행기관
CTU Central Library
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.14311/app.2022.34.0015
토픽
Mechanical stress and fatigue analysis
OpenAlex ID
W4224278938

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
(3) 자동차 인테리어 소재, (9) 타이어코드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
finite element, contact mechanics, 3D domain, structural mechanics, nonlinear
판단 근거
이 논문은 유한요소법(FEM)을 이용한 접촉 역학(Contact Mechanics)의 수치 해석 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 카시트 모듈(4)이나 타이어코드(9) 등 부품 간의 접촉, 마찰, 구조적 안정성을 시뮬레이션하는 R&D 공정 및 설계 단계에 간접적으로 활용될 수 있는 범용적인 해석 기술입니다.
R&D 활용 포인트
자동차 시트, 에어백, 타이어 등 복합 소재 및 부품 간의 접촉/마찰 성능을 예측하기 위한 구조 해석 모델링 및 시뮬레이션 소프트웨어 고도화에 활용 가능합니다.
평가 입력
본문 22,572자

초록

The structural mechanics module of the OOFEM finite element software has been developed to include various algorithms for solving contact mechanics problems. After developing small strain contact algorithms in the 2D domain and their extension to large strain applications [1, 2], the present contribution extends the existing framework to the 3D domain. After reviewing the current code and comparing existing solutions found in the literature, we identify the common ground between 2D and 3D applications, then propose and implement the necessary changes and additions to smoothly integrate the 3D support into existing code. Tests and example problems are presented to confirm the functionality of the resulting implementation.

본문 22,572자

본문 펼치기
_Acta_ _Polytechnica_ _CTU_ _Proceedings_ 34 :15–19, 2022 © 2022 The Author(s). Licensed under a `[CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)` `licence` `[https://doi.org/10.14311/APP.2022.34.0015](https://doi.org/10.14311/APP.2022.34.0015)` Published by the `Czech` `Technical` `[University](https://www.cvut.cz/en)` `in` `Prague` A MODULAR EXTENSION OF A FINITE ELEMENT CONTACT IMPLEMENTATION Ondřej Faltus <sup>_∗_</sup>, Martin Horák _Czech_ _Technical_ _University_ _in_ _Prague,_ _Faculty_ _of_ _Civil_ _Engineering,_ _Department_ _of_ _Mechanics,_ _Thákurova_ _7,_ _166_ _29_ _Prague_ _6,_ _Czech_ _Republic_ _∗_ corresponding author: `ondrej.faltus@cvut.cz` Abstract. The structural mechanics module of the OOFEM finite element software has been developed to include various algorithms for solving contact mechanics problems. After developing small strain contact algorithms in the 2D domain and their extension to large strain applications [1, 2], the present contribution extends the existing framework to the 3D domain. After reviewing the current code and comparing existing solutions found in the literature, we identify the common ground between 2D and 3D applications, then propose and implement the necessary changes and additions to smoothly integrate the 3D support into existing code. Tests and example problems are presented to confirm the functionality of the resulting implementation. Keywords: Contact, large strains, penalty method, 3D contact, node-to-segment, OOFEM. # 1. Introduction Contact mechanics, as a specific subdiscipline of structural mechanics, lend themselves very handily to computational implementations. Analytical solutions to contact mechanics problems are scarcely found. Since the end of the 19 <sup>th</sup> century, when Heinrich Hertz studied the contact of convex elastic bodies without friction [3], progress in this originally fringe discipline had been very slow until the advent of computational methods, mainly the finite element method (FEM) in the latter half of the 20 <sup>th</sup> century [4, 5]. Today, more and more complicated problems can be studied with the help of more and more involved algorithms, owing to the technological advances in computational hardware. In our past work [1, 2], we have developed the basis of contact algorithms in the OOFEM software. OOFEM [6] is a finite element computational software package developed at the Czech Technical University in Prague. From a programming perspective, OOFEM is built as a strictly object-oriented C++ codebase. In our past implementations, we have paid close attention to this fact, adapting some of the commonly in literature presented programmatic solutions to suit the object-oriented philosophy better. So far, contact algorithms in OOFEM can handle contact problems in the 2D domain, using the node-to-node and node-tosegment discretizations and alternatively the penalty method or Lagrangian multiplier method of contact condition enforcement. Of these options, the penalty method node-to-segment approach is adapted for use with geometrically nonlinear problems as well. This work aims to extend our previous implementation to the 3D domain. Keeping in with the idea of object-oriented code, we try to achieve this by extending the existing objects and algorithms they represent instead of coding everything anew. Chiefly, we would where _u_ is the global vector of displacements and Γ _c_ is the contact boundary. Note that for a node-tosegment contact discretization, the integral morphs into a sum over a finite set of discrete contact points. With the first variation of the contact energy, we obtain the internal force vector as 15 like to avoid the "contact element" approach often presented in literature [4, 7, 8] and create instead a universal contact condition object able to interact with every possible contact segment type. # 2. Theoretical Basis At the core of our modular code extension lies the desire to adapt the existing geometrically nonlinear penalty contact formulation for 2D domains to fully work in the 3D domain as well. For this purpose, we would like to derive a universal formulation for the forces and stiffness applicable to all cases equally. 2.1. Formulation of Penalty Contact The penalty formulation counts as one of the most straightforward possible implementations of contact conditions into the FEM framework. Its governing idea is the introduction of an arbitrary penalty parameter to the force vector, aimed at penalizing unwanted states of penetration among the contacting bodies. In other words, we express the force on the contact boundary as _H_ ( _−gc_ ) _pgc_, where _p_ is the chosen penalty parameter and _gc_ the contact gap (negative in penetration) [1, 4, 5, 7]. _H_ is the Heaviside function. To this end, the energy contribution of the contact process can be expressed as _W_ <sup>_c_</sup> ( _u_ ) = Γ _c_ <u>1</u> 2 <sup>_H_</sup> <sup>(</sup> <sup>_−gc_</sup> <sup>(</sup> <sup>_u_</sup> <sup>))</sup> <sup>_pg_</sup> _c_ <sup>2(</sup> <sup>_u_</sup> <sup>) dΓ</sup> (1) <u>Ondřej</u> <u>Faltus,</u> <u>Martin</u> <u>Horák</u> <u>Acta</u> <u>Polytechnica</u> <u>CTU</u> <u>Proceedings</u> the normal and tangent vectors, we can express the desired tangential stiffness as dΓ (2) _f_ _c_ = Γ _c_ _pgc_ - _<u>n</u>_ _N_ <sup>_∗T_</sup> _||_ _n_ _||_ where _n_ is the normal vector to the contact boundary in the deformed configuration and _N_ <sup>_∗_</sup> is the extended N-matrix: a matrix serving to distribute the forces to the according degrees of freedom of both the external node and the nodes of the element forming the contact surface (see [1] for a more detailed discussion of the concept). Under the assumption of small strains, the normal vector and the extended N-matrix would remain independent of _u_, giving with the second variation of contact energy a simple formula for the algorithmic stiffness contribution [1, 2] _K_ _c_ = where Γ _c_ _p_ _N_ _v_ <sup>_T_</sup> <sup>_N_</sup> <sup>_v_</sup> (8) + _pgc_ - _B_ _v,α_ _D_ <sup>_T_</sup> _v,α_ <sup>_T_</sup> <sup>+</sup> <sup>_D_</sup> <sup>_v,α_</sup> <sup>_B_</sup> <sup>_T_</sup> _pgc_ _v,α_ + _καβ_ _D_ _v,β_ _D_ _v,α_ <sup>_T_</sup> <sup>+</sup> <sup>_gcmαβ_</sup> _B_ <sup>¯</sup> _v,α_ _v,β_ _v,α_ <sup>_T_</sup> <sup>+</sup> <sup>_gcmαβ_</sup> _B_ <sup>¯</sup> _v,α_ _B_ <sup>¯</sup> <sup>_T_</sup> - dΓ _B_ ¯ _v,α_ = _B_ _v,α_ + _καβ_ _D_ _v,β_ (9) and _m_ <sup>_αβ_</sup> is the contravariant metric tensor (i.e. _m_ <sup>_−_</sup> <sup>1</sup> ). Note that the first term in equation (8) corresponds perfectly to the geometrically linear formula (3). This formula has been derived with the express aim to make no assumptions about the dimension of the domain space or the number of nodes on the element boundary. It is, therefore, a universal formula for all cases of nonfrictional contact. Letting _α_ and _β_ only assume the value of 1, setting _m_ to element length squared and _κ_ to 0, an expression for a linear element in 2D space is obtained, which reduces perfectly to the stiffness formula found for this case in [4] and used in [2]. # 3. Implementation This section shall discuss the precise intricacies of the chosen approach to implementing the contact algorithms. 3.1. The Contact Condition and Contact Segment Objects Contact usually occurs among two bodies within the domain space, of which at least one is deformable and described in FEM by a mesh of finite elements. By definition, when the contact gap is open, no solid matter occupies the area between the two bodies, and therefore no mesh is present. From a practical programmatic perspective, an essential part of any FEM algorithm is the assembly process. In this process, all the elements within the domain space contribute to the global stiffness matrix and the global vector of internal forces, assembling their contributions to their proper places. In the case of contact, it is unclear how to introduce contact forces and resulting algorithmic stiffness into this process. In literature [4, 5, 7], it is customary to introduce so-called contact elements. Those are finite elements occupying the physically empty space in between the contacting objects. Those elements perform the aforementioned force and stiffness assembly function. Therefore, the gap area in the reference configuration has to be meshed with those special elements describing the contact algorithm. This approach has several noticeable drawbacks. Firstly, in the node-to-segment approach, for example, a separate contact element has to be formulated for �� _<u>n</u>_ _N_ <sup>_∗T_</sup> _||_ _n_ _||_ - _T_ dΓ (3) _K_ _c_ = Γ _c_ _p_ - _<u>n</u>_ _N_ <sup>_∗T_</sup> _||_ _n_ _||_ However, those assumptions no longer hold with nonlinear geometry, and a more complex stiffness formula has to be derived. Keeping in mind the desired universality of the solution for both 3D and 2D domains, we shall do that in the following paragraph. 2.2. A Universal Stiffness Formula In expression (2) for the internal forces of contact, the gap function _gc_ depends on the current deformation state of the domain, with the variation _δgc_ = _N_ _v_ <sup>_T_</sup> <sup>_δ_</sup> <sup>_d_</sup> (4) with _N_ _v_ = _N_ <sup>_∗T_</sup> _n_ _/||_ _n_ _||_ and _δ_ _d_ being the variational displacements of the related degrees of freedom. Moreover, the extended N-matrix _N_ <sup>_∗_</sup> and the unit normal vector _ν_ = _n_ _/||_ _n_ _||_ depend on the convective natural coordinates _ξ_ denoting the contact point on the element surface. The _β_ -th natural coordinate _ξ_ <sup>_β_</sup> has the variation _δξ_ <sup>_β_</sup> = _A_ <sup>_−_</sup> _αβ_ <sup>1</sup> <sup>(</sup> <sup>_T_</sup> <sup>_v,α −_</sup> <sup>_gc_</sup> <sup>_B_</sup> <sup>_v,α_</sup> <sup>)</sup> <sup>_δ_</sup> <sup>_d_</sup> <sup>=</sup> <sup>_D_</sup> <sup>_v,βδ_</sup> <sup>_d_</sup> (5) where: _B_ _v,α_ = _B_ _α_ <sup>_∗T_</sup> <sup>_ν_</sup> _T_ _v,α_ = _N_ <sup>_∗T_</sup> _t_ _α_ (6) the matrix _B_ _α_ <sup>_∗_</sup> <sup>being the derivative of</sup> <sup>_N_</sup> <sup>_∗_</sup> <sup>with respect</sup> to _ξ_ <sup>_α_</sup>, the vector _t_ _α_ being the tangent vector to the surface in the _α_ -th direction and _A_ being an extended metric tensor of the surface, composed of the covariant metric tensor _m_ and the curvature tensor _κ_ [4] _Aαβ_ = _mαβ_ _−_ _gN_ _καβ_ (7) Summation convention over _α_ and _β_ (parametric surface coordinate indicies) is implied wherever applicable. After substitution of these variations into the known expressions and exploitation of the orthogonality of 16 <u>vol.</u> <u>34/2022</u> <u>A</u> <u>Modular</u> <u>Extension</u> <u>of</u> <u>a</u> <u>Finite</u> <u>Element</u> <u>Contact</u> <u>Implementation</u> ``` Node2SegmentLagrangianMultiplierContact ``` [1, 2]. In the case of the node-to-node approach, the contact condition object itself handles the references to the nodes concerned, requiring no interaction with any other objects. Its universality and extension to the 3D domain is therefore trivial and not a subject of this paper. Figure 1. A UML diagram describing the concept of object relationships within OOFEM. each possible case of element edge or surface forming the segment (in the segment-to-segment approach, matters would be even much worse). For a codebase with a reasonable claim to universality, this could shortly result in a significant increase of necessary code. Secondly, the formulation of those elements may be restrictive in terms of the possible contact cases. A contact element usually only pairs one node with one boundary segment. Each node deemed possible to come in contact with a given segment, therefore, requires a separate element defined, and this has to be decided already at the time of meshing. Already in the existing implementation in OOFEM, we have diverged from this standard practice. In line with object-oriented programming principles, the aforementioned assembly process in OOFEM is handled with the use of objects. Apart from object classes representing elements, another class capable of contributing to the global stiffness matrix and force vectors is the `ActiveBoundaryCondition` class. We have chosen to handle contact algorithms through subclasses descended from that. The principle is illustrated diagrammatically in Figure 1. All OOFEM objects are collectively stored in the overarching `Domain` class. A `Node2SegmentPenaltyContact` object is a subtype of an `ActiveBoundaryCondition`, which itself is a subtype of a `BoundaryCondition` . This contact condition class maintains a generalized reference to a `ContactSegment` object, which, in the case it is of the `BoundaryContactSegment` subtype, can reference element objects relevant for its task of describing an element boundary. This way of structuring the code offers us a great potential of generality in large parts of the code and presents a more intuitive way of modeling the real physical idea of the contact phenomenon. 3.2. Universality of the Contact Condition Object In our previous work, four boundary condition objects have been created, namely `Node2NodePenaltyContact`, `Node2NodeLagrangianMultiplierContact`, `Node2SegmentPenaltyContact`, and In the node-to-segment case, however, the operations within the code rely heavily on an interaction between the condition and an object representing the contact segment. As described by Figure 1, we aimed to maintain the connection of the boundary condition class only to the generalized `ContactSegment` parent class, rather than differentiating among its subtypes, which include formulations as diverse as an analytical polynomial function in 2D space and a segment representing multiple 3D element surfaces. The formulas necessary to this universal approach have already been discussed in section 2.2. The only necessary part of the implementation part is to ensure the ability of the code to handle all possible matrix sizes of the various contributions. Extensive use has been made of the `std::list` array object in the C++ language, which allows for an unspecified number of objects to be passed between C++ functions. To this end, the functions in the 2D contact segment have been altered to return an array of size one (of, i.e., tangent vectors) as opposed to a single object. On the level of the `Node2SegmentPenaltyContact` class, the code is written to always loop through those arrays regardless of their size. Key to the computations in the `Node2SegmentPenaltyContact` class are the `computeTangentFromContact()` and `computeExternalForcesFromContact()` methods, which compute the stiffness and force contributions, respectively, for a given node-segment pair. In addition to those, auxiliary methods exist to compute the various expressions seen in formula 8, e.g. the `computeNvMatrixAt()` method for the _N_ _v_ matrix or the `computeModifiedBvMatricesAt()` method for the (one or multiple) _B_ <sup>¯</sup> _v_ matrices. Those then poll the contact segment for the relevant information, such as gap value, metric and curvature tensor, normal and tangent vector(s), the _N_ matrix etc. 3.3. The universality of Contact Search Algorithm Another issue with code universality arises specifically in the 3D domain. Contrary to the 2D case, in 3D, even the limitation to finite elements with linear formulation does not necessarily ensure the linearity of their boundary [9]. More specifically, only surfaces of triangular shape can be described linearly. We have come to the conclusion that limiting our implementation to those would severely hamper the usability of the resulting code; it was, therefore, necessary to take the possible nonlinearity of the contact surface into account when conducting a contact point search. The solution 17 <u>Ondřej</u> <u>Faltus,</u> <u>Martin</u> <u>Horák</u> <u>Acta</u> <u>Polytechnica</u> <u>CTU</u> <u>Proceedings</u> (A) (B) (C) Figure 2. Node-to-segment contact with penalty formulation in the 3D domain: tests on a linear wedge and a linear brick element. Displayed geometries correspond to the 0th (undeformed configuration), 40th, and 60th steps of the computation. Coloring represents the vertical normal stress _σyy_ . A) A test on a linear wedge element. B) A test on a linear brick element, with the initial contact point at an axis of symmetry of the top surface. The deformed state remains symmetric along this axis. C) A test on a linear brick element with an arbitrary initial contact point. The apparent gap is only a consequence of the imprecise rendering of the resulting bilinear surface. is an implementation of a closest-point-projection algorithm in the `computeContactPoint()` method of the `Linear3DElementSurfaceContactSegment` class. The parametric coordinates of the desired contact point (i.e., the point on the surface closest to the contacting node, regardless of whether contact occurs) can be expressed as a vector _ξ_ minimizing the distance function _F_ ( _ξ_ ) = <sup><u>1</u></sup> 2 <sup>(</sup> <sup>_r_</sup> <sup>_−_</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>))</sup> <sup>_·_</sup> <sup>(</sup> <sup>_r_</sup> <sup>_−_</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>))</sup> (10) where _r_ are the global coordinates of an external point (the node), and _ρ_ are the global coordinates of the contact point (on the surface). Solving this minimization problem with the NewtonRaphson scheme leads to a convenient expression for the iterative increment _δ_ _ξ_ in the form _δ_ _ξ_ = _−_ _A_ <sup>_−_</sup> <sup>1</sup> <sup>_<u>dF</u>_</sup> (11) _d_ _ξ_ where _A_ is the already well-established extended metric tensor of the contact surface (see (7)). # 4. Computational Examples In light of the original aim of this paper, the extension of OOFEM’s contact formulations to the 3D domain, 18 we shall demonstrate the functionality of the described implementation on several 3D test examples. The tests concern the node-to-segment formulations for geometrically nonlinear cases. In one case, the contact segment is made of a triangular surface of a linearly formulated wedge element, while in the other two cases, the used element is a linear brick. Therefore, the first element represents an example of a fully linear surface without curvature, while the latter concerns a bi-linear surface, where the curvature tensor is generally nonzero. On the brick element, two different tests are performed; in the first one, the initial contact point is positioned on one of the axes of symmetry of the surface, in the other one, an arbitrary point is chosen. The elements in question are the OOFEM elements `LWedge` and `LSpace`, respectively. Above them, a single `LTRSpace` element is positioned. This is a linear tetrahedral element, which serves, however, only to provide the contacting node. All its nodes are fixed, and the lower node is loaded by a prescribed vertical displacement. This node is designed to come into contact with the top surface of the lower element and push it downwards. All nodes of the contact surface are free; the lower element is fixed by Dirichlet boundary conditions on its lower base. All elements in these test simulations have a linear <u>vol.</u> <u>34/2022</u> <u>A</u> <u>Modular</u> <u>Extension</u> <u>of</u> <u>a</u> <u>Finite</u> <u>Element</u> <u>Contact</u> <u>Implementation</u> elastic material model assigned, with Young’s modulus and Poisson’s ratio _E_ = 500 MPa and _ν_ = 0. In OOFEM, such a material model translates to the Saint Venant-Kirchhoff law in the case the geometrical nonlinearity of the element is turned on [6]. Loading is performed in 60 steps in each case. The total displacement prescribed for the external node is 0 _._ 3 m, i.e. 0 _._ 005 m per loading step. The results of the test are pictured in Figure 2. For the visualization of the results, ParaView, an open-source software package, has been used [10]. We can observe that the deformation of the surface follows the positioning of the contact point. For the brick element, in the first case, the contact point remains on the axis of symmetry, and the rotation of the contact surface only follows the other axis, while in the second case, the entire surface twists and assumes a bi-linear deformed shape. Note that the somewhat apparent gap between the element surface and the contacting node is only a result of the rendering software’s inability to portray this bi-linear surface properly. # 5. Conclusions The paper describes an object-oriented approach to handling contact mechanics in FEM. As a result of this object-oriented approach, a universal contact algorithm is necessary. This is derived on a theoretical basis, and the implementation in an open-source finite element code OOFEM is then discussed in detail. To verify the practical usability of the chosen approach, tests are performed on contact in the 3D domain, which is a feature previously unavailable in the existing OOFEM contact implementation. Acknowledgements The authors would like to acknowledge the support received for work on this project from a CTU grant no. SGS21/037/OHK1/1T/11. References [1] O. Faltus. _Object-Oriented_ _Design_ _and_ _Implementation_ _of_ _Contact_ _Mechanics_ _into_ _Finite_ _Element_ _Code_ _OOFEM_ . Master’s thesis, Czech Technical University in Prague, 2020. [2] O. Faltus, M. Horák. Finite element implementation of geometrically nonlinear contact. _Acta_ _Polytechnica_ _CTU_ _Proceedings_ 30 :18–23, 2021. [3] H. Hertz. On the contact of elastic solids. _Z_ _Reine_ _Angew_ _Mathematik_ 92 :156–171, 1881. [4] P. Wriggers. _Computational_ _contact_ _mechanics_ . Springer, New York, 2nd edn., c2006. [5] V. A. Yastrebov. _Numerical_ _methods_ _in_ _contact_ _mechanics_ . Wiley, Hoboken, NJ, 2013. [6] B. Patzák. OOFEM home page, 2000. Http://www.oofem.org. [7] A. Konyukhov, R. Izi. _Introduction_ _to_ _computational_ _contact_ _mechanics_ . Wiley, Chichester, West Sussex, 2015. [8] T. A. Laursen. _Computational_ _contact_ _and_ _impact_ _mechanics:_ _fundamentals_ _of_ _modeling_ _interfacial_ _phenomena_ _in_ _nonlinear_ _finite_ _element_ _analysis_ . Springer Science & Business Media, 2003. [9] O. C. Zienkiewicz, R. L. Taylor. _The_ _finite_ _element_ _method_ . Butterworth-Heinemann, Boston, 5th edn., 2000. [10] U. Ayachit. _The_ _ParaView_ _Guide:_ _A_ _Parallel_ _Visualization_ _Application_ . Kitware, 1st edn., 2015. 19

섹션 본문 38문단 · 16,206자

(제목 없음)

1The structural mechanics module of the OOFEM finite element software has been developed to include various algorithms for solving contact mechanics problems. After developing small strain contact algorithms in the 2D domain and their extension to large strain applications [1, 2], the present contribution extends the existing framework to the 3D domain. After reviewing the current code and comparing existing solutions found in the literature, we identify the common ground between 2D and 3D applications, then propose and implement the necessary changes and additions to smoothly integrate the 3D support into existing code. Tests and example problems are presented to confirm the functionality of the resulting implementation.

Introduction

2Contact mechanics, as a specific subdiscipline of structural mechanics, lend themselves very handily to computational implementations. Analytical solutions to contact mechanics problems are scarcely found. Since the end of the 19 th century, when Heinrich Hertz studied the contact of convex elastic bodies without friction [3], progress in this originally fringe discipline had been very slow until the advent of computational methods, mainly the finite element method (FEM) in the latter half of the 20 th century [4,5]. Today, more and more complicated problems can be studied with the help of more and more involved algorithms, owing to the technological advances in computational hardware.

3In our past work [1,2], we have developed the basis of contact algorithms in the OOFEM software. OOFEM [6] is a finite element computational software package developed at the Czech Technical University in Prague. From a programming perspective, OOFEM is built as a strictly object-oriented C++ codebase. In our past implementations, we have paid close attention to this fact, adapting some of the commonly in literature presented programmatic solutions to suit the object-oriented philosophy better. So far, contact algorithms in OOFEM can handle contact problems in the 2D domain, using the node-to-node and node-tosegment discretizations and alternatively the penalty method or Lagrangian multiplier method of contact condition enforcement. Of these options, the penalty method node-to-segment approach is adapted for use with geometrically nonlinear problems as well.

4This work aims to extend our previous implementation to the 3D domain. Keeping in with the idea of object-oriented code, we try to achieve this by extending the existing objects and algorithms they represent instead of coding everything anew. Chiefly, we would like to avoid the "contact element" approach often presented in literature [4,7,8] and create instead a universal contact condition object able to interact with every possible contact segment type.

Theoretical Basis

5At the core of our modular code extension lies the desire to adapt the existing geometrically nonlinear penalty contact formulation for 2D domains to fully work in the 3D domain as well. For this purpose, we would like to derive a universal formulation for the forces and stiffness applicable to all cases equally.

Formulation of Penalty Contact

6The penalty formulation counts as one of the most straightforward possible implementations of contact conditions into the FEM framework. Its governing idea is the introduction of an arbitrary penalty parameter to the force vector, aimed at penalizing unwanted states of penetration among the contacting bodies. In other words, we express the force on the contact boundary as H(−g c )pg c , where p is the chosen penalty parameter and g c the contact gap (negative in penetration) [1,4,5,7]. H is the Heaviside function.

7To this end, the energy contribution of the contact process can be expressed as

8where u is the global vector of displacements and Γ c is the contact boundary. Note that for a node-tosegment contact discretization, the integral morphs into a sum over a finite set of discrete contact points.

9With the first variation of the contact energy, we obtain the internal force vector as

10where n is the normal vector to the contact boundary in the deformed configuration and N * is the extended N-matrix: a matrix serving to distribute the forces to the according degrees of freedom of both the external node and the nodes of the element forming the contact surface (see [1] for a more detailed discussion of the concept). Under the assumption of small strains, the normal vector and the extended N-matrix would remain independent of u, giving with the second variation of contact energy a simple formula for the algorithmic stiffness contribution [1,2]

11However, those assumptions no longer hold with nonlinear geometry, and a more complex stiffness formula has to be derived. Keeping in mind the desired universality of the solution for both 3D and 2D domains, we shall do that in the following paragraph.

A Universal Stiffness Formula

12In expression (2) for the internal forces of contact, the gap function g c depends on the current deformation state of the domain, with the variation

13with N v = N * T n/||n|| and δd being the variational displacements of the related degrees of freedom. Moreover, the extended N-matrix N * and the unit normal vector ν = n/||n|| depend on the convective natural coordinates ξ denoting the contact point on the element surface. The β-th natural coordinate ξ β has the variation (5) where:

14the matrix B * α being the derivative of N * with respect to ξ α , the vector t α being the tangent vector to the surface in the α-th direction and A being an extended metric tensor of the surface, composed of the covariant metric tensor m and the curvature tensor κ [4] A αβ = m αβ − g N κ αβ (7) Summation convention over α and β (parametric surface coordinate indicies) is implied wherever applicable.

15After substitution of these variations into the known expressions and exploitation of the orthogonality of the normal and tangent vectors, we can express the desired tangential stiffness as

16and m αβ is the contravariant metric tensor (i.e. m −1 ). Note that the first term in equation (8) corresponds perfectly to the geometrically linear formula (3). This formula has been derived with the express aim to make no assumptions about the dimension of the domain space or the number of nodes on the element boundary. It is, therefore, a universal formula for all cases of nonfrictional contact. Letting α and β only assume the value of 1, setting m to element length squared and κ to 0, an expression for a linear element in 2D space is obtained, which reduces perfectly to the stiffness formula found for this case in [4] and used in [2].

Implementation

17This section shall discuss the precise intricacies of the chosen approach to implementing the contact algorithms.

The Contact Condition and Contact Segment Objects

18Contact usually occurs among two bodies within the domain space, of which at least one is deformable and described in FEM by a mesh of finite elements. By definition, when the contact gap is open, no solid matter occupies the area between the two bodies, and therefore no mesh is present. From a practical programmatic perspective, an essential part of any FEM algorithm is the assembly process. In this process, all the elements within the domain space contribute to the global stiffness matrix and the global vector of internal forces, assembling their contributions to their proper places.

19In the case of contact, it is unclear how to introduce contact forces and resulting algorithmic stiffness into this process. In literature [4,5,7], it is customary to introduce so-called contact elements. Those are finite elements occupying the physically empty space in between the contacting objects. Those elements perform the aforementioned force and stiffness assembly function. Therefore, the gap area in the reference configuration has to be meshed with those special elements describing the contact algorithm.

20This approach has several noticeable drawbacks. Firstly, in the node-to-segment approach, for example, a separate contact element has to be formulated for each possible case of element edge or surface forming the segment (in the segment-to-segment approach, matters would be even much worse). For a codebase with a reasonable claim to universality, this could shortly result in a significant increase of necessary code.

21Secondly, the formulation of those elements may be restrictive in terms of the possible contact cases. A contact element usually only pairs one node with one boundary segment. Each node deemed possible to come in contact with a given segment, therefore, requires a separate element defined, and this has to be decided already at the time of meshing.

22Already in the existing implementation in OOFEM, we have diverged from this standard practice. In line with object-oriented programming principles, the aforementioned assembly process in OOFEM is handled with the use of objects. Apart from object classes representing elements, another class capable of contributing to the global stiffness matrix and force vectors is the ActiveBoundaryCondition class. We have chosen to handle contact algorithms through subclasses descended from that.

23The principle is illustrated diagrammatically in Figure 1.

24All OOFEM objects are collectively stored in the overarching Domain class. A Node2SegmentPenaltyContact object is a subtype of an ActiveBoundaryCondition, which itself is a subtype of a BoundaryCondition. This contact condition class maintains a generalized reference to a ContactSegment object, which, in the case it is of the BoundaryContactSegment subtype, can reference element objects relevant for its task of describing an element boundary.

25This way of structuring the code offers us a great potential of generality in large parts of the code and presents a more intuitive way of modeling the real physical idea of the contact phenomenon. In our previous work, four boundary condition objects have been created, namely Node2NodePenaltyContact, Node2NodeLagrangianMultiplierContact, Node2SegmentPenaltyContact, and Node2SegmentLagrangianMultiplierContact [1,2]. In the case of the node-to-node approach, the contact condition object itself handles the references to the nodes concerned, requiring no interaction with any other objects. Its universality and extension to the 3D domain is therefore trivial and not a subject of this paper.

Universality of the Contact Condition Object

26In the node-to-segment case, however, the operations within the code rely heavily on an interaction between the condition and an object representing the contact segment. As described by Figure 1, we aimed to maintain the connection of the boundary condition class only to the generalized ContactSegment parent class, rather than differentiating among its subtypes, which include formulations as diverse as an analytical polynomial function in 2D space and a segment representing multiple 3D element surfaces.

27The formulas necessary to this universal approach have already been discussed in section 2.2. The only necessary part of the implementation part is to ensure the ability of the code to handle all possible matrix sizes of the various contributions. Extensive use has been made of the std::list array object in the C++ language, which allows for an unspecified number of objects to be passed between C++ functions. To this end, the functions in the 2D contact segment have been altered to return an array of size one (of, i.e., tangent vectors) as opposed to a single object. On the level of the Node2SegmentPenaltyContact class, the code is written to always loop through those arrays regardless of their size.

28Key to the computations in the Node2SegmentPenaltyContact class are the computeTangentFromContact() and computeExternalForcesFromContact() methods, which compute the stiffness and force contributions, respectively, for a given node-segment pair. In addition to those, auxiliary methods exist to compute the various expressions seen in formula 8, e.g. the computeNvMatrixAt() method for the N v matrix or the computeModifiedBvMatricesAt() method for the (one or multiple)B v matrices. Those then poll the contact segment for the relevant information, such as gap value, metric and curvature tensor, normal and tangent vector(s), the N matrix etc.

The universality of Contact Search Algorithm

29Another issue with code universality arises specifically in the 3D domain. Contrary to the 2D case, in 3D, even the limitation to finite elements with linear formulation does not necessarily ensure the linearity of their boundary [9]. More specifically, only surfaces of triangular shape can be described linearly. We have come to the conclusion that limiting our implementation to those would severely hamper the usability of the resulting code; it was, therefore, necessary to take the possible nonlinearity of the contact surface into account when conducting a contact point search. The solution is an implementation of a closest-point-projection algorithm in the computeContactPoint() method of the Linear3DElementSurfaceContactSegment class. The parametric coordinates of the desired contact point (i.e., the point on the surface closest to the contacting node, regardless of whether contact occurs) can be expressed as a vector ξ minimizing the distance function

30where r are the global coordinates of an external point (the node), and ρ are the global coordinates of the contact point (on the surface). Solving this minimization problem with the Newton-Raphson scheme leads to a convenient expression for the iterative increment δξ in the form

31where A is the already well-established extended metric tensor of the contact surface (see (7)).

Computational Examples

32In light of the original aim of this paper, the extension of OOFEM's contact formulations to the 3D domain, we shall demonstrate the functionality of the described implementation on several 3D test examples.

33The tests concern the node-to-segment formulations for geometrically nonlinear cases. In one case, the contact segment is made of a triangular surface of a linearly formulated wedge element, while in the other two cases, the used element is a linear brick. Therefore, the first element represents an example of a fully linear surface without curvature, while the latter concerns a bi-linear surface, where the curvature tensor is generally nonzero. On the brick element, two different tests are performed; in the first one, the initial contact point is positioned on one of the axes of symmetry of the surface, in the other one, an arbitrary point is chosen.

34The elements in question are the OOFEM elements LWedge and LSpace, respectively. Above them, a single LTRSpace element is positioned. This is a linear tetrahedral element, which serves, however, only to provide the contacting node. All its nodes are fixed, and the lower node is loaded by a prescribed vertical displacement. This node is designed to come into contact with the top surface of the lower element and push it downwards. All nodes of the contact surface are free; the lower element is fixed by Dirichlet boundary conditions on its lower base.

35All elements in these test simulations have a linear [6]. Loading is performed in 60 steps in each case. The total displacement prescribed for the external node is 0.3 m, i.e. 0.005 m per loading step.

36The results of the test are pictured in Figure 2. For the visualization of the results, ParaView, an open-source software package, has been used [10].

37We can observe that the deformation of the surface follows the positioning of the contact point. For the brick element, in the first case, the contact point remains on the axis of symmetry, and the rotation of the contact surface only follows the other axis, while in the second case, the entire surface twists and assumes a bi-linear deformed shape. Note that the somewhat apparent gap between the element surface and the contacting node is only a result of the rendering software's inability to portray this bi-linear surface properly.

Conclusions

38The paper describes an object-oriented approach to handling contact mechanics in FEM. As a result of this object-oriented approach, a universal contact algorithm is necessary. This is derived on a theoretical basis, and the implementation in an open-source finite element code OOFEM is then discussed in detail. To verify the practical usability of the chosen approach, tests are performed on contact in the 3D domain, which is a feature previously unavailable in the existing OOFEM contact implementation.

참고문헌 6건

  1. Computational Contact and Impact Mechanics: Fundamentals of Modeling Interfacial Phenomena in Nonlinear Finite Element Analysis 2010
  2. The ParaView Guide: A Parallel Visualization Application 2015
  3. On the Contact of Elastic Solids Journal für die reine und angewandte Mathematik (Crelles Journal) · De Gruyter · 1882
  4. FINITE ELEMENT IMPLEMENTATION OF GEOMETRICALLY NONLINEAR CONTACT Acta Polytechnica CTU Proceedings · CTU Central Library · 2021 10.14311/app.2021.30.0018
  5. Numerical Methods in Contact Mechanics 2013 10.1002/9781118647974
  6. Computational Contact Mechanics Computational Mechanics · Springer Science+Business Media · 2003 10.1007/s00466-003-0472-x