Finite element algorithm with adaptive quadtree-octree mesh refinement

Similar documents
Adaptive Surface Modeling Using a Quadtree of Quadratic Finite Elements

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 36

Adaptive numerical methods

Finite Element Method. Chapter 7. Practical considerations in FEM modeling

CHAPTER 1. Introduction

A New Smoothing Algorithm for Quadrilateral and Hexahedral Meshes

Chapter 7 Practical Considerations in Modeling. Chapter 7 Practical Considerations in Modeling

The NODES LINE command is used to specify nodes along a straight line in the plane or in space.

13.472J/1.128J/2.158J/16.940J COMPUTATIONAL GEOMETRY

QUADRATIC UNIFORM B-SPLINE CURVE REFINEMENT

Non-Linear Finite Element Methods in Solid Mechanics Attilio Frangi, Politecnico di Milano, February 3, 2017, Lesson 1

AMS527: Numerical Analysis II

Contents. I The Basic Framework for Stationary Problems 1

PATCH TEST OF HEXAHEDRAL ELEMENT

Hierarchical remeshing strategies with mesh mapping for topology optimisation

Computational Fluid Dynamics - Incompressible Flows

Guidelines for proper use of Plate elements

EN 10211:2007 validation of Therm 6.3. Therm 6.3 validation according to EN ISO 10211:2007

Truss structural configuration optimization using the linear extended interior penalty function method

Module: 2 Finite Element Formulation Techniques Lecture 3: Finite Element Method: Displacement Approach

Adaptive-Mesh-Refinement Pattern

NEXT-GENERATION SWEEP TOOL: A METHOD FOR GENERATING ALL-HEX MESHES ON TWO-AND-ONE-HALF DIMENSIONAL GEOMTRIES

Exercise 2: Mesh Resolution, Element Shapes, Basis Functions & Convergence Analyses

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

DISCONTINUOUS FINITE ELEMENT VISUALIZATION

Subdivision Surfaces. Course Syllabus. Course Syllabus. Modeling. Equivalence of Representations. 3D Object Representations

Solid and shell elements

Study of Convergence of Results in Finite Element Analysis of a Plane Stress Bracket

CHARMS: A Simple Framework for Adaptive Simulation SIGGRAPH Presented by Jose Guerra

N. Hitschfeld. Blanco Encalada 2120, Santiago, CHILE.

June 5, Institute of Structural Analysis Graz University of Technology Lessingstr. 25/II, 8010 Graz, Austria

CURVILINEAR MESH GENERATION IN 3D

Analysis of Distortion Parameters of Eight node Serendipity Element on the Elements Performance

Curves and Surfaces. Chapter 7. Curves. ACIS supports these general types of curves:

Development of Eight Node Isoparametric Quadrilateral (QUAD8) Elements in Java

SIZE PRESERVING MESH GENERATION IN ADAPTIVITY PROCESSES

Finite Element Analysis Prof. Dr. B. N. Rao Department of Civil Engineering Indian Institute of Technology, Madras. Lecture - 24

UNIVERSITY OF CALGARY. Subdivision Surfaces. Advanced Geometric Modeling Faramarz Samavati

Efficient Use of Iterative Solvers in Nested Topology Optimization

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Introduction to Design Optimization

Integrated Math I. IM1.1.3 Understand and use the distributive, associative, and commutative properties.

REPORT DOCUMENTATION PAGE

Subdivision Curves and Surfaces: An Introduction

Surgery Simulation and Planning

Subdivision overview

Second-order shape optimization of a steel bridge

We consider the problem of rening quadrilateral and hexahedral element meshes. For

FEM Convergence Requirements

Effective adaptation of hexahedral mesh using local refinement and error estimation

A NEW TYPE OF SIZE FUNCTION RESPECTING PREMESHED ENTITIES

2.2 Weighting function

JAVA PERFORMANCE IN FINITE ELEMENT COMPUTATIONS

HIGH-ORDER MESH GENERATION ON CAD GEOMETRIES

Automatic image-based stress analysis by the scaled boundary polytope elements

Element Quality Metrics for Higher-Order Bernstein Bézier Elements

Journal of Engineering Research and Studies E-ISSN

Topological Issues in Hexahedral Meshing

Surface Grid Generation

Beams. Lesson Objectives:

A mesh refinement technique for the boundary element method based on local error analysis

arxiv: v1 [math.na] 20 Sep 2016

First Order Analysis for Automotive Body Structure Design Using Excel

Real-Time Shape Editing using Radial Basis Functions

Revision of the SolidWorks Variable Pressure Simulation Tutorial J.E. Akin, Rice University, Mechanical Engineering. Introduction

Near-Optimum Adaptive Tessellation of General Catmull-Clark Subdivision Surfaces

A new 8-node quadrilateral spline finite element

The Application of. Interface Elements to Dissimilar Meshes in. Global/Local Analysis

Abstract. Introduction

Computergrafik. Matthias Zwicker. Herbst 2010

Finite element solution of multi-scale transport problems using the least squares based bubble function enrichment

Vectorization Using Stochastic Local Search

Scanning Real World Objects without Worries 3D Reconstruction

Control Volume Finite Difference On Adaptive Meshes

v Mesh Editing SMS 11.2 Tutorial Requirements Mesh Module Time minutes Prerequisites None Objectives

Basic LOgical Bulk Shapes (BLOBs) for Finite Element Hexahedral Mesh Generation

Overview of Unstructured Mesh Generation Methods

INTERIOR POINT METHOD BASED CONTACT ALGORITHM FOR STRUCTURAL ANALYSIS OF ELECTRONIC DEVICE MODELS

Introduction to the Mathematical Concepts of CATIA V5

Generative Part Structural Analysis Fundamentals

Introduction to optimization methods and line search

Parallel High-Order Geometric Multigrid Methods on Adaptive Meshes for Highly Heterogeneous Nonlinear Stokes Flow Simulations of Earth s Mantle

The DRM-MD integral equation method for the numerical solution of convection-diffusion

Lecture 3.2 Methods for Structured Mesh Generation

Modeling Skills Thermal Analysis J.E. Akin, Rice University

Harmonic Spline Series Representation of Scaling Functions

What is Multigrid? They have been extended to solve a wide variety of other problems, linear and nonlinear.

Generalizing the C 4 Four-directional Box Spline to Surfaces of Arbitrary Topology Luiz Velho Abstract. In this paper we introduce a new scheme that g

A COMBINED OCTANT/DELAUNAY METHOD FOR FULLY AUTOMATIC 3D MESH GENERATION WITH MULTIPLE LEVEL OCTANT DIFFERENCES

A general matrix representation for non-uniform B-spline subdivision with boundary control

ADAPTIVE APPROACH IN NONLINEAR CURVE DESIGN PROBLEM. Simo Virtanen Rakenteiden Mekaniikka, Vol. 30 Nro 1, 1997, s

Geometric and Thematic Integration of Spatial Data into Maps

Data Partitioning. Figure 1-31: Communication Topologies. Regular Partitions

Topology Optimization of Two Linear Elastic Bodies in Unilateral Contact

Parallel Unstructured Mesh Generation by an Advancing Front Method

Efficient Representation and Extraction of 2-Manifold Isosurfaces Using kd-trees

Efficient computation of source magnetic scalar potential

Technical Report. Removing polar rendering artifacts in subdivision surfaces. Ursula H. Augsdörfer, Neil A. Dodgson, Malcolm A. Sabin.

Revised Sheet Metal Simulation, J.E. Akin, Rice University

A Continuous 3-D Medial Shape Model with Branching

Transcription:

ANZIAM J. 46 (E) ppc15 C28, 2005 C15 Finite element algorithm with adaptive quadtree-octree mesh refinement G. P. Nikishkov (Received 18 October 2004; revised 24 January 2005) Abstract Certain difficulties with the use of quadrilateral or hexahedral finite elements are related to mesh refinement and to element compatibility and quality after refinement. In this paper, special refinement elements are presented that make possible connecting two special elements to one edge of an 8 node quadrilateral element (2D). The main idea in refinement elements is to place some midside nodes outside the element area and to modify element shape functions in order to maintain continuity at a refinement edge. Special refinement elements allow to adaptively refine mesh in such a way that it fits the quadtree data structure. In the three-dimensional case, hexahedral elements with 20 nodes are employed. Placement of some nodes outside the element volume allows us to create a compatible octree refinement scheme. University of Aizu, Aizu Wakamatsu, Japan. mailto:niki@u-aizu.ac.jp See http://anziamj.austms.org.au/v46/ctac2004/niki for this article, c Austral. Mathematical Soc. 2005. Published 8 March 2005, amended March 18, 2005. ISSN 1446-8735

ANZIAM J. 46 (E) ppc15 C28, 2005 C16 Contents 1 Introduction C16 2 Special quadratic quadrilaterals C17 3 Finite element quadtree mesh refinement C20 3.1 Finite element solution.................... C20 3.2 Mesh Refinement....................... C21 3.3 Results............................. C24 4 Octree mesh refinement in 3D C24 5 Conclusion C27 References C28 1 Introduction Quadrilateral and hexahedral finite elements are widely used for problem solutions. However, it is difficult to perform mesh refinement preserving compatibility and element quality after refinement [1]. Methods of quadrilateral mesh refinement in the case of connecting geometrically incompatible elements are presented in [3, 4]. Forting and Tanguy [3] consider connection of two Lagrangian 9-node 2D elements to one edge of a bigger element of the same type. The displacement compatibility is enforced by introduction of additional constraints in the global finite element equation system. This provides convergence of the finite element solution but the finite element mesh remains geometrically incompatible at a refinement edge. Kagan et al. [4] focus on the so-called p-refinement of the mesh, during which additional nodes are added to the element without

1 Introduction C17 changing its shape. The proposed technique to enforce compatibility is a coordinate transformation introduced into the refined element. Our approach to mesh refinement is to replace one 2D quadratic quadrilateral element by four elements of the same type. In order to perform 1:2 mesh refinement while maintaining element quality and solution compatibility, we use special refinement elements, with some nodes outside the element area. An analogous approach in the three-dimensional case allows us to create special elements, four of which can be connected to one face of an ordinary element. The following algorithm is used here for adaptive mesh refinement with control of local errors. Starting with a coarse mesh, element refinement iterations are carried out. At each iteration, the finite element equation system is solved that provides field nodal values for a current mesh configuration. Local element errors are estimated and compared to the specified error tolerance. Elements with excessive errors are divided into four special elements (2D) or eight special elements (3D). The mesh refinement iteration terminates when no element splits occur during an iteration. 2 Special quadratic quadrilaterals The isoparametric quadratic quadrilateral element shown Figure 1,a has eight nodes, which are used both for element shape definition and for field interpolation [2, e.g.]. Any function specified at element nodes is interpolated inside the element with the use of shape functions N i, which are defined in local coordinates ξ, η ( 1 ξ, η 1): u(ξ, η) = N i (ξ, η)u i ; N i = 1 2 (1 ξ2 )(1 + ηη i ), i = 2, 6 ;

2 Special quadratic quadrilaterals C18 y 7 6 5 h 8 x 4 1 2 3 s 1 c s 2 x=-1 s 1 x=1 x 1 3 2 r s 2 x c a b c Figure 1: a) Quadratic isoparametric quadrilateral element; b) Mesh refinement 1:2; c) The special elements s 1 and s 2 have been vertically shifted in order to illustrate the node positions of each element. N i = 1 2 (1 + ξξ i)(1 η 2 ), i = 4, 8 ; N i = 1 4 (1 + ξξ i)(1 + ηη i ) 1 2 (N i 1 + N i+1 ), i = 1, 3, 5, 7. (1) Here u is a function value at some point inside the element; u i are function values at element nodes; ξ i and η i are values of the local coordinates ξ and η at the node i. In the formula for N 1 we interpret N 0 as N 8. With the use of ordinary quadrilateral elements it is difficult to refine the mesh. Mesh refinement with quadrilaterals can lead to severe element distortions since, for compatibility reasons, the edges of adjacent elements must coincide exactly. We propose here special quadratic quadrilateral elements, which allow to connect two elements to one edge of the bigger element. Special refinement elements are characterized by placement of some midside nodes outside the element area and by modification of the shape functions. An idea of special

2 Special quadratic quadrilaterals C19 n 2 m 2 p m n n m p p m 1 n 1 Figure 2: Typical configurations of special refinement elements. elements for mesh refinement is illustrated in Figure 1,b-c. Mesh refinement 1:2 is performed with two special elements s 1 and s 2, which have nodes located outside of the element area. Modification of the shape functions in the special element is done in the following way. In order to have field continuity along the element edge 1-3-2 the function value at point ξ = 0 in the special element s 1 should be equal to the function value at point ρ = 0.5 in the conventional neighboring element c: u(ξ = 0) = u(ρ = 0.5). Then the compatibility equation is u(ξ = 0) = u(ρ = 0.5) = 3 8 u 1 + 3 4 u 3 1 8 u 2. (2) The modified shape functions are combinations of the ordinary shape functions: N 1 = N 1 + 3 8 N 2, N 2 = 1 8 N 2, N 3 = N 3 + 3 4 N 2. (3) Figure 2 shows typical configurations of special refinement elements. If a special element contains two outside nodes, as shown in Figure 2 on the right, then modification (3) is applied twice using nodes m 1 and m 2.

2 Special quadratic quadrilaterals C20 3 Finite element quadtree mesh refinement 3.1 Finite element solution I demonstrate the finite element algorithm with quadtree mesh refinement on a problem of surface approximation with minimization of a global error and with limitation of a local error. Assume that an approximated surface is defined at each point. A simple example of such definition is a height function defined on a two-dimensional domain. Another possibility is definition of a surface by a point cloud. In the latter case assume that the surface height is obtained at each point by interpolation of values using neighboring points. An element approximation error E e for a surface segment covered by the element e is E e = (f u) 2 da, (4) A e where f is the exact surface height, u is the height approximation for the eth element, and A e is the element area. The element error serves as a natural local error indicator for quadtree mesh refinement. Determine values of the height u for the current element mesh by minimization of a global approximation error, which is the sum of element approximation errors E = (f u) 2 da = E e = (f N i u i ) 2 da. (5) A e e A e Minimization of the global error functional leads to a global finite element equation system: KU = R, kij e = N i N j da, A e ri e = N i f da, A e (6) where K is a global stiffness matrix; U is a vector of nodal height values and R is a right-hand side vector. The global matrix K and the right-hand

3 Finite element quadtree mesh refinement C21 Figure 3: Four special refinement elements replace one quadrilateral element. side vector R are respectively composed of element stiffness matrices k e and element vectors r e using standard finite element assembly procedures. For the solution of the finite element equation system (6) it is reasonable to use iterative methods such as preconditioned conjugate gradient method since good initial approximation for the solution vector U can be provided in the beginning and after each refinement step. 3.2 Mesh Refinement Surface approximation starts with some minimal mesh consisting of ordinary quadrilaterals. When the approximation domain is a square then it is possible to use just one quadratic quadrilateral element as a starting mesh. According to the adaptive refinement procedure, carry out mesh subdivision for elements where an error indicator of the type (4) is greater than the specified error tolerance. A quadrilateral element to be subdivided is replaced by four quadrilateral elements. See Figure 3 for examples of the element subdivision for the case of regular surrounding elements and for the case of a partially refined mesh. Mesh data after any number of refinements (one element is replaced by four elements) can be conveniently kept in a quadtree data structure. Every

3 Finite element quadtree mesh refinement C22 a b Figure 4: Split of one element into four (a). Quadtree balancing: split of neighbors, then split of the next neighbor (b). Initial element split and element splits for quadtree balancing are shown by dashed lines. node in the quadtree topologically corresponds to a square. Internal nodes have exactly four children. Leafs (nodes without children) represent actual elements, which are ordinary elements or special refinement elements with outside nodes. After splitting elements with excessive errors, the refined mesh may have such configuration in which it is impossible to provide continuity across some element boundaries. Figure 4,a presents an example of a quadtree with discontinuity element splits. A quadtree is said to be unbalanced if there exists a square that is adjacent to more than two squares at one of its edges [5]. In a balanced quadtree, adjacent quadtree blocks differ by at most one level, that is, not more then two elements can share one edge of the neighboring element. Balance a quadtree by additional subdivisions of some elements as shown in Figure 4,b. This example demonstrates that adaptive refinement may necessitate secondary subdivision of adjacent elements. For any balanced quadtree, ensure continu-

3 Finite element quadtree mesh refinement C23 Error = 0.0005, 6 iterations Error = 0.0001, 7 iterations Figure 5: Quadtrees of quadratic quadrilaterals characterized by different height approximation errors. ity using special refinement elements with outside nodes and modified shape functions. During quadtree balancing, a given leaf should be split if its level is higher than any level of its neighboring leaves by 2. Newly created leaves should be put into list of candidates for splitting since they may necessitate secondary subdivisions as shown in Figure 4,b. The process of surface modeling by a mesh of quadratic quadrilateral elements begins with some initial mesh. During mesh refinement step, first, the finite element equation system (6) is assembled and solved. The height values are obtained for all mesh nodes. Then for each element estimate the local element error E e (4) and compare to the specified error tolerance. Splitting of elements with excessive errors is performed. Balance the element quadtree at the end of each refinement iteration. Terminate mesh refinement when no splits occur during an iteration.

3 Finite element quadtree mesh refinement C24 3.3 Results The proposed finite element algorithm with quadtree adaptive refinement is demonstrated on the approximation of a surface defined analytically on a square domain: f = 0.5e 0.16(x2 +y 2) sin(2x) cos(2y), 5 x 5, 5 y 5. See that the height range for the above function is [ 0.5, 0.5] and the size in the height direction is 1. The following error measure is used for mesh refinement, 1 Ē e = (f u) A 2 da, e A e where f is the exact surface height; u is the height approximation and A e is the element area. This error measure Ēe differs from the error (4): E e is divided by the element area and the square root is taken. The error indicator Ēe is measured in length units and is regarded as some averaged absolute error in height over an element. Figures 5 and 6 show the results of surface approximation by quadratic quadrilateral elements. Figure 5 shows element quadtrees for two error tolerance values: 0.0005 (6 iterations) and 0.0001 (7 iterations). Figure 6 presents visualization of the approximated surface (error tolerance 0.0005) with the use of Java 3D. 4 Octree mesh refinement in 3D An octree subdivision of volume is a three-dimensional generalization of the two-dimensional quadtree refinement procedure. We assume that an initial

4 Octree mesh refinement in 3D C25 Figure 6: Visualization of a surface approximated by quadratic quadrilaterals. finite element mesh consists of 20-node hexahedral elements. Figure 7,a shows the connection of four special refinement elements to one face of an ordinary element. Some nodes of the special element are moved outside its volume thus providing continuity across a refinement face. A face of the special element for 1:4 mesh refinement and a face of the ordinary element are depicted in Figure 7,b. In the special element, its volume is connected to the face area 1-3-(5)-7. The local coordinate area 1 ξ, η 1 is also related to the face area 1-3-(5)-7. As in the 2D case, it is possible to write down a compatibility equations for nodes (2), (4), (5), (6) and (8). The following modification of the shape functions allows one to create the special element for 1:4 mesh refinement: N 1 = N 1 + 3 8 (N 2 + N 8 ) 3 16 (N 4 + N 6 ) 1 4 N 5 ; N 2 = 1 8 N 2 3 16 (N 4 + N 6 ) 1 4 N 5 ;

4 Octree mesh refinement in 3D C26 8 6 5 8 6 5 s 7 (6) (8) h x (5) (4) 4 7 r 4 1 (2) 3 2 1 3 2 a b Figure 7: a) Connection of four special elements to one face of an ordinary element; b) Node numbering on faces of a special element and an ordinary element. N 3 = N 3 + 3 4 (N 2 + N 4 ) + 1 2 N 5 + 3 8 N 6 ; N 4 = 3 8 N 4 + 1 2 N 5 + 1 4 N 6 ; N 5 = 1 4 N 5 3 16 (N 4 + N 6 ) ; N 6 = 3 8 N 6 + 1 2 N 5 + 1 4 N 4 ; N 7 = N 7 + 3 4 (N 6 + N 8 ) + 1 2 N 5 + 3 8 N 4 ; N 8 = 1 8 N 8 3 16 (N 4 + N 6 ) 1 4 N 5. (7) During adaptive mesh refinement with the octree subdivision, special elements with one, two or three enlarged faces appear in the mesh. Perform modification of the shape functions of the type (7) for each such enlarged face.

4 Octree mesh refinement in 3D C27 5 Conclusion We have discussed a finite element procedure with quadtree (2D) and octree (3D) adaptive mesh refinement. In the two-dimensional case, special refinement elements based on quadratic quadrilateral elements are developed. It is possible to connect two special elements to one edge of an ordinary quadrilateral quadratic element. The special refinement element is characterized by placement of one or two midside nodes outside the element area and by modification of element shape functions. This helps maintain continuity across all element edges. Utilise a local error indicator for the adaptive mesh subdivision. Subdivide elements with excessive local errors into four elements each. After such subdivisions the element mesh is topologically equivalent to a quadtree. The quadtree data structure stores element data and enables navigation through the mesh. Testing of the proposed finite element quadtree refinement algorithm is done on a surface height approximation problem. Several refinement iterations are enough for surface approximation with high precision. Three-dimensional adaptive mesh refinement is based on the octree data structure. An initial mesh is composed of 20-node hexahedral elements. Four special refinement elements are connected to one face of the ordinary element with preserving continuity of sought functions and geometry. Special refinement elements for the quadtree and octree mesh subdivision are easy to implement. The presented finite element algorithm can be used for solution of various problems.

5 Conclusion C28 References [1] P. J. Frey and P.-L. George, Mesh Generation. Application to Finite Elements. Hermes, 2000. C16 [2] K.-J. Bathe, Finite Element Procedures, Prentice-Hall, 1996. C17 [3] M. Fortin and P. Tanguy, A non-standard mesh refinement procedure through node labelling. Int. J. Numer. Meth. Eng., 20:1361 1365, 1984. C16 [4] P. Kagan, A. Fischer and P. Z. Bar-Yosef, Mechanically based design: adaptive refinement for B-spline finite element. Proc. Int. Conf on Shape Modeling and Applications, Genova, Italy, May 7 11, 2001, 345 352, 2001. C16 [5] M. de Berg, M. van Kreveld, M. Overmars and O. Schwarzkopf, Computational Geometry. Algorithms and Applications. Springer, 2000. C22