Theoretical Background for OpenLSTO v0.1: Open Source Level Set Topology Optimization. M2DO Lab 1,2. 1 Cardiff University

Similar documents
The Level Set Method applied to Structural Topology Optimization

PARAMETRIC SHAPE AND TOPOLOGY OPTIMIZATION WITH RADIAL BASIS FUNCTIONS

Level-set and ALE Based Topology Optimization Using Nonlinear Programming

Outline. Level Set Methods. For Inverse Obstacle Problems 4. Introduction. Introduction. Martin Burger

CS205b/CME306. Lecture 9

The Level Set Method. Lecture Notes, MIT J / 2.097J / 6.339J Numerical Methods for Partial Differential Equations

GEOMETRICAL CONSTRAINTS IN THE LEVEL SET METHOD FOR SHAPE AND TOPOLOGY OPTIMIZATION

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

A Toolbox of Level Set Methods

Structural optimization using sensitivity analysis and a level-set method, in Scilab and Matlab

weighted minimal surface model for surface reconstruction from scattered points, curves, and/or pieces of surfaces.

An explicit feature control approach in structural topology optimization

TOPOLOGY OPTIMIZATION WITH AN IMPLICIT FUNCTION AND PARAMETERIZED CUTTING SURFACE

Numerical Methods for (Time-Dependent) HJ PDEs

Application of Finite Volume Method for Structural Analysis

A Level Set-Based Topology Optimization Method For Three-Dimensional Acoustic Problems Using Fast Multipole Boundary Element Method

PATCH TEST OF HEXAHEDRAL ELEMENT

Level Set Methods and Fast Marching Methods

Level set methods Formulation of Interface Propagation Boundary Value PDE Initial Value PDE Motion in an externally generated velocity field

Level Set Method in a Finite Element Setting

Medical Image Segmentation using Level Sets

A new hole insertion method for level set based structural topology optimization

A MESH EVOLUTION ALGORITHM BASED ON THE LEVEL SET METHOD FOR GEOMETRY AND TOPOLOGY OPTIMIZATION

Meshless Modeling, Animating, and Simulating Point-Based Geometry

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION

COUPLING THE LEVEL SET METHOD AND THE TOPOLOGICAL GRADIENT IN STRUCTURAL OPTIMIZATION

A Study of Numerical Methods for the Level Set Approach

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

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

Topology Optimization of Two Linear Elastic Bodies in Unilateral Contact

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Implicit Surface Reconstruction from 3D Scattered Points Based on Variational Level Set Method

A A14 A24 A34 A44 A45 A46

Topology Optimization of Multiple Load Case Structures

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

Modeling Discontinuities and their Evolution within Finite Elements: Application to Material Interfaces, 3-D Cracks, and Microstructures

A nodal based evolutionary structural optimisation algorithm

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

Numerical schemes for Hamilton-Jacobi equations, control problems and games

The Finite Element Method for the Analysis of Non-Linear and Dynamic Systems. Prof. Dr. Eleni Chatzi, J.P. Escallo n Lecture December, 2013

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

Literature Report. Daniël Pols. 23 May 2018

3D Nearest-Nodes Finite Element Method for Solid Continuum Analysis

An Introduction to Viscosity Solutions: theory, numerics and applications

OPTIMAL DAMPING OF A MEMBRANE AND TOPOLOGICAL SHAPE OPTIMIZATION

Predicting Tumour Location by Modelling the Deformation of the Breast using Nonlinear Elasticity

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

High Order Fixed-Point Sweeping WENO Methods for Steady State of Hyperbolic Conservation Laws and Its Convergence Study

arxiv: v1 [math.na] 20 Sep 2016

Level Set Methods for Two-Phase Flows with FEM

Smooth finite elements

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001)

An Adaptive Stencil Linear Deviation Method for Wave Equations

ISOGEOMETRIC TOPOLOGY OPTIMIZATION OF STRUCTURES USING LEVEL SET METHOD INCORPORATING SENSITIVITY ANALYSIS

Index. C m (Ω), 141 L 2 (Ω) space, 143 p-th order, 17

Design parameterization for topology optimization by intersection of an implicit function

Automated Segmentation Using a Fast Implementation of the Chan-Vese Models

Contents. I The Basic Framework for Stationary Problems 1

The Immersed Interface Method

SOLVING MULTI CONSTRAINTS STRUCTURAL TOPOLOGY OPTIMIZATION PROBLEM WITH REFORMULATION OF LEVEL SET METHOD

Module 1 Lecture Notes 2. Optimization Problem and Model Formulation

Solving a Two Dimensional Unsteady-State. Flow Problem by Meshless Method

On the order of accuracy and numerical performance of two classes of finite volume WENO schemes

Guidelines for proper use of Plate elements

1.2 Numerical Solutions of Flow Problems

An introduction to mesh generation Part IV : elliptic meshing

A C 2 Four-Point Subdivision Scheme with Fourth Order Accuracy and its Extensions

Background for Surface Integration

Third Order WENO Scheme on Three Dimensional Tetrahedral Meshes

CHAPTER 1. Introduction

AMS527: Numerical Analysis II

A spectral boundary element method

PRIMAL-DUAL INTERIOR POINT METHOD FOR LINEAR PROGRAMMING. 1. Introduction

Dr. Ulas Bagci

SOLVING PARTIAL DIFFERENTIAL EQUATIONS ON POINT CLOUDS

INTERNATIONAL JOURNAL OF CIVIL AND STRUCTURAL ENGINEERING Volume 2, No 3, 2012

Math 690N - Final Report

Lecture 2 Unstructured Mesh Generation

Chapter 13. Boundary Value Problems for Partial Differential Equations* Linz 2002/ page

Water. Notes. Free surface. Boundary conditions. This week: extend our 3D flow solver to full 3D water We need to add two things:

1. Suppose that the equation F (x, y, z) = 0 implicitly defines each of the three variables x, y, and z as functions of the other two:

Introduction to Optimization Problems and Methods

Fast marching methods

An Optimization Method Based On B-spline Shape Functions & the Knot Insertion Algorithm

Tutorial for OpenLSTO v1.0: Open Source Level Set Topology Optimization. M2DO Lab 1,2. 1 Cardiff University. 2 University of California, San Diego

Overview of Traditional Surface Tracking Methods

A complete methodology for the implementation of XFEM models. Team: - Carlos Hernán Villanueva - Kai Yu

Lax-Wendroff and McCormack Schemes for Numerical Simulation of Unsteady Gradually and Rapidly Varied Open Channel Flow

INTRODUCTION TO FINITE ELEMENT METHODS

Critical study of design parameterization in topology optimization; The influence of design parameterization on local minima

Chapter 6. Petrov-Galerkin Formulations for Advection Diffusion Equation

Weno Scheme for Transport Equation on Unstructured Grids with a DDFV Approach

Efficiency. Narrowbanding / Local Level Set Projections

Dynamic Tubular Grid: An Efficient Data Structure and Algorithms for High Resolution Level Sets

Today. Golden section, discussion of error Newton s method. Newton s method, steepest descent, conjugate gradient

Nodal Integration Technique in Meshless Method

Studies of the Continuous and Discrete Adjoint Approaches to Viscous Automatic Aerodynamic Shape Optimization

Numerical Analysis of Shock Tube Problem by using TVD and ACM Schemes

Subject of Investigation

Partial Differential Equations

Transcription:

Theoretical Background for OpenLSTO v0.1: Open Source Level Set Topology Optimization M2DO Lab 1,2 1 Cardiff University 2 University of California, San Diego November 2017

A brief description of theory of level set topology optimization is given here. For further details, the readers are referred to cited references, e.g. [OF03, WWG03, AJT04, DKM11, DK15]. Finite Element Analysis Area Fraction Weighted Fixed Grid Approach A fixed grid is generated by superimposing a rectangular grid of equal sized elements on the given structure instead of generating a mesh to fit the structure. Some of these elements are inside of the structure (I), some are outside (O) and some are on the boundary, namely neither-in-nor-out (NIO) elements. As O element is given a material property significantly less than an I element and the problem becomes a bimaterial one. A NIO element is partially inside the structure and its material property value is not constant nor continuous over the element. Such an element is approximated by transforming the bimaterial element into a homogeneous isotropic element. The material property matrix of a NIO element is computed using: [D(NIO) e ] = α [D(I) e ] (1) where [D(NIO) e ] is the elemental material property of a NIO element, [D(I) e ] is for the elemental material property of inside, and α is the area ratio calculated by α = A I A e (2) with A I is the area inside the structure within the NIO element, and A e is the total area of the e-th element. Using these values of [D(NIO) e ], the stiffness matrix can be computed and a standard finite element analysis can be applied to determine the displacements and hence stress values of elements. 2

Sensitivity Analysis The principle of virtual work, also known as the principle of virtual displacement, is stated that for any quasi-static and admissible virtual displacement from an equilibrium configuration, the increment of strain energy stored is equal to the increment of work done by body force {b} in volume V and surface traction {t} on surface S. It is formulated as {δε} T {σ} dv = {δu} T {b} dv + {δu} T {t} ds (3) where {δε} is the vector of strains, {δu} is the virtual displacement. In textbook on topology optimization, the right and left hand sides are written as a (u, v) = {δε} T {σ} dv = {δε} T [E] {ε} dω = {ε (v)} T [E] {ε (u)} dω (4) l (v) = {δu} T {b} dv + {δu} T {t} ds = {v} T {b} dv + {v} T {t} ds (5) where [E] is the constitutive matrix, v is the virtual displacement that is equivalent to {δu}. The Lagrange multiplier method is applied to solve the optimization problem, where the Lagrange function is: L (Ω, {u}, {λ}) = J (Ω, {u}) + a ({u}, {λ}) l ({λ}) (6) in which {λ} is the adjoint variable. The shape derivation of the objective function is obtained by differentiating J (Ω) = L (Ω, {u}, {λ}) (7) which, by the chain rule theorem, reduces to the partial derivative of L with respect to Ω in the direction θ J (Ω)(θ) = L Ω. (8) Applying Lemma 4 and 5 in [AJT04] to L and substituting J for compliance, we 3

obtain: L Ω = ( {u} T {b}dv + {u} T {t}ds Ω + {ε (λ)} T [E] {ε (u)} dω ) {λ} T {b} dv {λ} T {t} ds ( ) = θ n {u} T {b} + {ε (λ)} T [E] {ε (u)} {λ} T {b} ds Ω ( ) {u} T {t} + θ n + H{u} T {t} ds Ω n ( ) {λ} T {t} θ n + H{λ} T {t} ds (9) n Ω In the case of a self-adjoint problem, e.g. compliance, it has {λ} = {u}. Level Set Method Implicit Surfaces In three spatial dimensions, the lower-dimensional interface is a surface that separates R 3 into separate subdomains with nonzero volumes. We consider only closed surfaces with clearly defined interior and exterior regions. For complicated surfaces with no analytical representation, we again need to use a discretization. In three spatial dimensions the explicit representation can be quite difficult to discrete. One needs to choose a number of points on the two-dimensional surface and record their connectivity. If the exact surface and its connectivity are known, it is simple to tile the surface with triangles whose vertices lie on the interface and whose edges indicate connectivity. On the other hand, if connectivity is not known, it can be quite difficult to determine. Connectivity can change for dynamic implicit surfaces, i.e., surface that are moving around. Signed Distance Function A distance function d(x) is defined as d(x) = min ( x x I ), x I Ω, (10) implying that d(x) = 0 on the boundary where x Ω. Geometrically, d may be constructed as follows. If x Ω, then d(x) = 0. Otherwise, for a given point x, 4

find the point on the boundary set Ω closest to x, and label this point x C. Then d(x) = x x c. A signed distance functions is an implicit function φ with φ (x) = d(x) for all x. Thus, φ (x) = d(x) = 0 for all x Ω, φ (x) = d(x) for all x Ω, and φ (x) = d(x) for all x Ω +. In a compact for, it is written as d(x), x Ω φ (x) = 0, x Ω (11) d(x), x Ω +. Signed distance functions share all the properties of implicit functions. In addition, there are a number of new properties that only signed distance functions possess. For example, φ = 1, (12) which is known as the eikonal equation. Hamilton Jacobi Equation An implicitly defined boundary of the structure used during level-set method is updated by solving pseudo time-dependent Hamilton-Jacobi equation as shown: φ(x, t) t + φ(x, t) dx dt (13) where t is time, φ(x, t) is the gradient of the level set function. To put the equation simply, a smooth boundary Γ = x φ(x) = 0 at given time x and space t is changed by its normal velocity. Being a hyperbolic partial differential equation, Hamilton-Jacobi equation is often solved numerically. In practice, an upwind scheme with high-order differentiation is used with a constraint from CFL (Courant Friedrichs Lewy) condition is a common practice to obtain a stable solution. Boundary Evolution Since the structural boundary is the zero value level set, so the boundary evolution is implicitly achieved by the updating of level set function. In numerical implementations, the structural boundary is discretized and approximately represented by a series of boundary points which satisfies φ ( x) = 0. If two adjacent nodes have φ-values with opposite signs then there is a boundary point between them, which is taken to lie on the edge between the nodes, with a position 5

determined by linear interpolation. The boundary points form a set of closed curves, which provide a discrete representation of the boundary. Update and reinitialization The level set function in each node can be updated by the following discretized H-J equation with the use of the up-wind differential scheme: φ i (t + t) = φ i (t) v n i t φ(t) i (14) where vi n t is the boundary movement obtained by solving a sublevel linearised programme; the gradient filed is estimated for each node using the Hamilton Jacobi weighted essentially non-oscillatory method (HJ-WENO) described in [OF03]. Instead of updating the level set values in the whole field, we only restrict the update to nodes within a narrow band close to the boundary. This improves the efficiency of the method, but it means that φ i is given by the signed distance to the boundary only within the narrow band. To correct for this effect, it is common that all of the φ i variables are periodically reinitialised to be consistent with a signed distance function, i.e., satisfying the following equation: φ = 1 (15) This reinitialisation uses the same fast-marching implementation used for the velocity extension. Level Set Method Based Topology Optimization Sequential linear programming level set topology optimization The velocities required for the level set update are obtained by solving an optimization problem. A generic optimization problem can be formulated using the position of the structural boundary as the design variable: minimize Ω f(ω) subject to g i (Ω) 0 (16) where f(ω) is the objective function and g i is the i th inequality constraint function. The objective and constraint functions are linearized about the design variables at 6

each k th iteration using a first-order Taylor expansion: minimize Ω k subject to f Ω k Ωk g i Ω k Ωk ḡi k (17) where Ω k is the update for the design domain Ω and ḡi k constraint at iteration k. is the change in the i th In the level-set description of the boundary, shape derivatives provide information about how a function changes over time with respect to a movement of the boundary point. They usually take the form of boundary integrals [AJT04]. In this case, f Ω = t Ω g i Ω = t Ω Γ Γ s f V n dγ, (18) s gi V n dγ, (19) where s f and s gi are the shape sensitivity functions for the objective and the i th constraints. Discretizing the boundary at nb points, one can rewrite: nb f Ω Ω tv nj s f,j l j = C f V n t, (20) j=1 nb g i Ω Ω tv nj s gi,j l j = C gi V n t, (21) j=1 where l j is the discrete length of the boundary around the boundary point j, C f and C gi are vectors containing integral coefficients and V n is the vector of normal velocities. For a constrained problem, one can write V n t = αd, (22) where d is the search direction for the boundary update and α > 0 is the actual distance of the boundary movement. Then, the optimization formulation to obtain the optimal boundary velocities can be written as: minimize α k, k subject to tc k f V k n(α k, λ k ) tc k i V k n(α k, λ k ) ḡ k i V k n,min V k n V k n,max (23) where λ are Lagrange multipliers for each constraint function. This optimization problem is solved at every iteration k. More details can be found in [DK15, SDK16]. 7

Velocity extension Velocity function defined in previous equation is only computed at points along the structural boundary. In order to update the level set function, velocity values at all grid points are required. Thus, the velocity function must be extended or extrapolated to grid points away from the boundary. Natural velocity extension schemes compute strain and sensitivity fields over the entire design domain. Methods that achieve this include filling the void part with a fictitious weak material [AJT04], or smoothing the velocity field over the discontinuity at the boundary edge [WW06]. However, the implicit function often becomes too steep or flat around the boundary, which leads to potential stability issues. Thus, these schemes usually require frequent reinitializing of the implicit function to a signed distance function to maintain stability [AJT04, WW06]. To avoid frequent reinitialization, we employ an extension velocity technique designed to maintain the signed distance function [AS99]. This technique ensures the preservation of the signed distance by using the efficient fast marching method to solve the following equation: φ t V ext = 0 (24) where φ t is a temporary signed distance implicit function and V ext is the extended velocity function. The extended velocity function is constrained to maintain the values already computed along the boundary. Gradient computation An accurate estimation of the gradient φ is essential in solving Hamilton-Jacobi equation using upwind scheme. A current gradient computation evoked internally during level-set update utilizes 5th order Hamilton-Jacobi WENO (weighted essentially non-oscillatory) method. It gives out a better approximation when compared with ENO. Spatial derivatives of φ and spatial stencils are obtained depending on the sign of the velocity and the location of the node in the domain of interest. In any case, five stencil values are obtained with same distances (v 1, v 2, v 3, v 4, v 5 ). Based on the smoothness of each stencil, we calculate normalized weights (w 1, w 2, w 3 ) whose sum is equal to unity. φ = w 1 (2v 1 7v 2 + 11v 3 ) + w 2 (5v 3 v 2 + 2v 4 ) + w 3 (2v 3 + 5v 4 v 5 ) (25) Detailed numerical steps can be found in the reference [OF03] 8

Convergence criterion The convergence criterion is computed if the volume constraint is satisfied and is defined using the maximum change in compliance over the previous 5 iterations: C k = max ( C k C m /C k), m [k 5, k 1] (26) where C k is the compliance computed at iteration k and the optimization process is terminated if C k < 1e 3. 9

Bibliography [AJT04] Grégoire Allaire, François Jouve, and Anca-Maria Toader. Structural optimization using sensitivity analysis and a level-set method. Journal of Computational Physics, 194(1):363 393, 2004. [AS99] [DK15] [DKM11] [OF03] D Adalsteinsson and J. A Sethian. The fast construction of extension velocities in level set methods. Journal of Computational Physics, 148(1):2 22, 1999. Peter D. Dunning and H. Alicia Kim. Introducing the sequential linear programming level-set method for topology optimization. Structural and Multidisciplinary Optimization, 51(3):631 643, 2015. Peter D. Dunning, H. Alicia Kim, and Glen Mullineux. Investigation and improvement of sensitivity computation using the area-fraction weighted fixed grid fem and structural optimization. Finite Elements in Analysis and Design, 47(8):933 941, 2011. Stanley Osher and Ronald Fedkiw. Level set methods and dynamic implicit surfaces, volume 153 of Applied Mathematical Sciences. Springer, London, 2003. [SDK16] Raghavendra Sivapuram, Peter D. Dunning, and H. Alicia Kim. Simultaneous material and structural optimization by multiscale topology optimization. Structural and Multidisciplinary Optimization, pages 1 15, 2016. [WW06] Shengyin Wang and Michael Y. Wang. A moving superimposed finite element method for structural topology optimization. International Journal for Numerical Methods in Engineering, 65(11):1892 1922, 2006. [WWG03] Michael Yu Wang, Xiaoming Wang, and Dongming Guo. A level set method for structural topology optimization. Computer Methods in Applied Mechanics and Engineering, 192(1 2):227 246, 2003. 10