Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

Similar documents
Lecture 2 Unstructured Mesh Generation

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

Application of Finite Volume Method for Structural Analysis

CS205b/CME306. Lecture 9

Level-set and ALE Based Topology Optimization Using Nonlinear Programming

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

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

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

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

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

PARAMETRIC SHAPE AND TOPOLOGY OPTIMIZATION WITH RADIAL BASIS FUNCTIONS

The Immersed Interface Method

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

Overview of Traditional Surface Tracking Methods

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

Level Set Methods for Two-Phase Flows with FEM

Level Set Methods and Fast Marching Methods

A Toolbox of Level Set Methods

The Level Set Method applied to Structural Topology Optimization

1.2 Numerical Solutions of Flow Problems

Medical Image Segmentation using Level Sets

The Finite Element Method

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

Development of an Integrated Computational Simulation Method for Fluid Driven Structure Movement and Acoustics

Numerical Simulation of Coupled Fluid-Solid Systems by Fictitious Boundary and Grid Deformation Methods

An Active Contour Model without Edges

Hydro-elastic analysis of a propeller using CFD and FEM co-simulation

Partial Differential Equations

SIZE PRESERVING MESH GENERATION IN ADAPTIVITY PROCESSES

Dr. Ulas Bagci

Isogeometric Analysis of Fluid-Structure Interaction

The 3D DSC in Fluid Simulation

T6: Position-Based Simulation Methods in Computer Graphics. Jan Bender Miles Macklin Matthias Müller

Topology optimization of heat conduction problems

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP

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

Meshless Modeling, Animating, and Simulating Point-Based Geometry

Three-dimensional segmentation of bones from CT and MRI using fast level sets

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

Recent Developments in Isogeometric Analysis with Solid Elements in LS-DYNA

Moving Interface Problems: Methods & Applications Tutorial Lecture II

Edge Detection and Active Contours

Nonoscillatory Central Schemes on Unstructured Triangulations for Hyperbolic Systems of Conservation Laws

Verification of Moving Mesh Discretizations

Numerical Methods for (Time-Dependent) HJ PDEs

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

Variational Methods II

FEM techniques for interfacial flows

Discrete representations of geometric objects: Features, data structures and adequacy for dynamic simulation. Part I : Solid geometry

OPTIMAL DAMPING OF A MEMBRANE AND TOPOLOGICAL SHAPE OPTIMIZATION

CS 231. Deformation simulation (and faces)

Level Set Method in a Finite Element Setting

A CONSERVATIVE FRONT TRACKING ALGORITHM

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

Nonoscillatory Central Schemes on Unstructured Triangular Grids for Hyperbolic Systems of Conservation Laws

Solving Partial Differential Equations on Overlapping Grids

Geometrical Modeling of the Heart

Finite element method - tutorial no. 1

Metafor FE Software. 2. Operator split. 4. Rezoning methods 5. Contact with friction

CS 231. Deformation simulation (and faces)

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

Level Sets Methods in Imaging Science

Second International Workshop on Scientific Computing and Applications. Kananaskis, Canada, May 28 - June 1, 2000

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

Fluent User Services Center

Multigrid Solvers in CFD. David Emerson. Scientific Computing Department STFC Daresbury Laboratory Daresbury, Warrington, WA4 4AD, UK

Driven Cavity Example

Eulerian Techniques for Fluid-Structure Interactions - Part II: Applications

Snakes, Active Contours, and Segmentation Introduction and Classical Active Contours Active Contours Without Edges

An explicit feature control approach in structural topology optimization

Support Vector Machines

VOLCANIC DEFORMATION MODELLING: NUMERICAL BENCHMARKING WITH COMSOL

Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden

Example 24 Spring-back

CGT 581 G Fluids. Overview. Some terms. Some terms

Assignment in The Finite Element Method, 2017

course outline basic principles of numerical analysis, intro FEM

Topology Optimization and JuMP

A NURBS-BASED APPROACH FOR SHAPE AND TOPOLOGY OPTIMIZATION OF FLOW DOMAINS

Finite Volume Discretization on Irregular Voronoi Grids

Curved Mesh Generation and Mesh Refinement using Lagrangian Solid Mechanics

Brain Structure Segmentation from MRI by Geometric Surface Flow

NUMERICAL METHOD FOR FREE SURFACE VISCOUS FLOWS

Computational Fluid Dynamics for Engineers

ABOUT THE GENERATION OF UNSTRUCTURED MESH FAMILIES FOR GRID CONVERGENCE ASSESSMENT BY MIXED MESHES

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

Navier-Stokes & Flow Simulation

A splitting method for numerical simulation of free surface flows of incompressible fluids with surface tension

Literature Report. Daniël Pols. 23 May 2018

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

Computational Fluid Dynamics - Incompressible Flows

Possibility of Implicit LES for Two-Dimensional Incompressible Lid-Driven Cavity Flow Based on COMSOL Multiphysics

SPH: Why and what for?

Investigating The Stability of The Balance-force Continuum Surface Force Model of Surface Tension In Interfacial Flow

Extract Object Boundaries in Noisy Images using Level Set. Literature Survey

SOLVING PARTIAL DIFFERENTIAL EQUATIONS ON POINT CLOUDS

Contents. I The Basic Framework for Stationary Problems 1

Modeling and simulation the incompressible flow through pipelines 3D solution for the Navier-Stokes equations

An Introduction to Viscosity Solutions: theory, numerics and applications

STRUCTURAL & MULTIDISCIPLINARY OPTIMIZATION

Transcription:

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications Per-Olof Persson (persson@mit.edu) Department of Mathematics Massachusetts Institute of Technology http://www.mit.edu/ persson SIAM CSE05, February 15, 2005

Topics 1. Introduction 2. The New Mesh Generator 3. Mesh Size Functions 4. Applications 5. Conclusions

Mesh Generation Given a geometry, determine node points and element connectivity Resolve the geometry and high element qualities, but few elements Applications: Numerical solution of PDEs (FEM, FVM, BEM), interpolation, computer graphics, visualization Popular algorithms: Delaunay refinement, Advancing front, Octree

Geometry Representations Explicit Geometry Parameterized boundaries Implicit Geometry Boundaries given by zero level set f (x,y)=0 f (x,y)<0 (x,y) = (x(s), y(s)) f (x,y)>0

Discretized Implicit Geometries Discretize implicit function φ on background grid Cartesian, Octree, or unstructured Obtain φ(x) for general x by interpolation Cartesian Quadtree/Octree Unstructured

Explicit vs Implicit Most CAD programs represent geometries explicitly (NURBS and B-rep) Most mesh generators require explicit expressions for boundaries (Delaunay refinement, Advancing front) Increasing interest for implicit geometries: Easy to implement: Set operations, offsets, blendings, etc Extend naturally to higher dimensions Image based geometry representations (MRI/CT scans) Level set methods for evolving interfaces

Topics 1. Introduction 2. The New Mesh Generator 3. Mesh Size Functions 4. Applications 5. Conclusions

The New Mesh Generator 1. Start with any topologically correct initial mesh, for example random node distribution and Delaunay triangulation 2. Move nodes to find force equilibrium in edges Project boundary nodes using φ Update element connectivities

Internal Forces F 2 F 3 F 1 F 5 F 4 F 6 For each interior node: F i = 0 i Repulsive forces depending on edge length l and equilibrium length l 0 : k(l 0 l) if l < l 0, F = 0 if l l 0. Get expanding mesh by choosing l 0 larger than desired length h

Reactions at Boundaries F 3 R For each boundary node: F i + R = 0 i F 1 F 2 F 4 Reaction force R: Orthogonal to boundary Keeps node along boundary

Node Movement and Connectivity Updates Move nodes p to find force equilibrium: p n+1 = p n + tf (p n ) Project boundary nodes to φ(p) = 0 Elements deform, change connectivity based on element quality or in-circle condition (Delaunay)

MATLAB Demo

Topics 1. Introduction 2. The New Mesh Generator 3. Mesh Size Functions 4. Applications 5. Conclusions

Mesh Size Functions Function h(x) specifying desired mesh element size Many mesh generators need a priori mesh size functions Our force-based meshing Advancing front and Paving methods Discretize mesh size function h(x) on a coarse background grid

Mesh Size Functions Based on several factors: Curvature of geometry boundary Local feature size of geometry Numerical error estimates (adaptive solvers) Any user-specified size constraints Also: h(x) g to limit ratio G = g + 1 of neighboring element sizes

Mesh Gradation For a given size function h 0 (x), find gradient limited h(x) satisfying h(x) g h(x) h 0 (x) h(x) as large as possible Example: A point-source in R n h pnt, x = x 0 h 0 (x) =, otherwise h(x) = h pnt + g x x 0 1 h 0 (x) 1 h(x) 0.5 0.5 0 1 0.5 0 0.5 1 0 1 0.5 0 0.5 1

Mesh Gradation Example: Any shape, with distance function d(x), in R n h shape, d(x) = 0 h 0 (x) =, otherwise h(x) = h shape + gd(x) Example: Any function h 0 (x) in R n h(x) = min(h 0 (y) + g x y ) y Too expensive and inflexible for practical use

The Gradient Limiting Equation The optimal gradient limited h(x) is the steady-state solution to h + h = min( h, g), t h(t = 0, x) = h 0 (x). Nonlinear hyperbolic PDE (a Hamilton-Jacobi equation) Theorem: For g constant, and convex domain, the steady-state solution is h(x) = min(h 0 (y) + g x y ) y Proof. Use the Hopf-Lax theorem (see paper). The optimal minimum-over-point-sources solution!

Gradient Limiting in 1-D Dashed = Original function, Solid = Gradient limited function Very different from smoothing! Max Gradient g = 4 Max Gradient g = 2 Max Gradient g = 1 Max Gradient g = 0.5

Mesh Size Functions 2-D Examples Feature size computed by h lfs (x) = φ(x) + φ MA (x) Med. Axis & Feature Size Mesh Size Function h(x) Mesh Based on h(x)

Mesh Size Functions 3-D Examples Mesh Size Function h(x) Mesh Based on h(x)

Mesh Size Functions 3-D Examples

Mesh Size Functions 3-D Examples

Topics 1. Introduction 2. The New Mesh Generator 3. Mesh Size Functions 4. Applications 5. Conclusions

Moving Meshes Iterative formulation well-suited for geometries with moving boundaries Mesh from previous time step good initial condition, a new mesh obtained by a few additional iterations Even better if smooth embedding of boundary velocity move all nodes Density control if area changes

Level Sets and Finite Elements Level Set Methods superior for interface propagation: Numerical stability and entropy satisfying solutions Topology changes easily handled, in particular in three dimensions Unstructured meshes better for the physical problems: Better handling of boundary conditions Easy mesh grading and adaptation Proposal: Combine Level Sets and Finite Elements Use level sets on background grid for interface Mesh using our iterations, and solve physical problem using FEM Interpolate boundary velocity to background grid

Consider eigenvalue problem Structural Vibration Control u = λρ(x)u, u = 0, x Ω x Ω. Ω\S, ρ 1 with ρ(x) = ρ 1 for x / S ρ 2 for x S. S, ρ 2 Solve the optimization min S λ 1 or λ 2 subject to S = K.

Structural Vibration Control Level set formulation by Osher and Santosa: Calculate descent direction δφ = v(x) φ using solution λ i, u i Find Lagrange multiplier for area constraint using Newton Represent interface implicitly, propagate using level set method Use finite elements on unstructured mesh for eigenvalue problem More accurate interface condition Arbitrary geometries Graded meshes

Structural Design Improvement Linear elastostatics, minimize compliance Ω g u ds = Ω Aɛ(u) ɛ(u) dx subject to Ω = K. Boundary variation methods by Murat and Simon, Pironneau, Homogenization method by Bendsoe and Kikuchi Level set approaches by Sethian and Wiegmann (Immersed interface method) and Allaire et al (Ersatz material, Young s modulus ε)

Stress Driven Rearrangement Instabilities Epitaxial growth of InAs on a GaAs substrate Stress from misfit in lattice parameters Quasi-static interface evolution, descent direction for elastic energy and surface energy φ τ + F (x) φ = 0, with F (x) = ε(x) σκ(x) Electron micrograph of defect-free InAs quantum dots

Stress Driven Rearrangement Instabilities Initial Configuration Final Configuration, σ = 0.20

Stress Driven Rearrangement Instabilities Initial Configuration Final Configuration, σ = 0.10

Stress Driven Rearrangement Instabilities Initial Configuration Final Configuration, σ = 0.05

Fluid Dynamics with Moving Boundaries Solve the incompressible Navier-Stokes equations u t ν 2 u + u u + P = f u = 0 Spatial discretization using FEM and P2-P1 elements Backward Euler for viscous term Lagrangian node movement for convective term Improve poor mesh elements using new force equilibrium Interpolate velocity field (better: L 2 -projections, ALE, Space-Time) Discrete form of Chorin s projection method for incompressibility

Fluid Dynamics with Moving Boundaries Lagrangian Node Movement Mesh Improvement

Fluid Dynamics with Moving Boundaries Lagrangian Node Movement Mesh Improvement

Fluid Dynamics with Moving Boundaries Lagrangian Node Movement Mesh Improvement

MATLAB Demo

Meshing Images Images are implicit representations of objects Segment image to isolate objects from background Active contours ( snakes ), available in standard imaging software Level set based methods [Chan/Vese] Apply Gaussian smoothing on binary images (masks) Mesh the domain: Find distance function using approximate projections and FMM Find size function from curvature, feature size, and gradient limiting Mesh using our force-based implicit mesh generator Extends to three dimensions (MRI/CT scans)

Meshing Images Original Image

Meshing Images Segmented Image Mask

Meshing Images Mask after Gaussian Smoothing

Meshing Images Distance Function from Approximate Projections and FMM

Meshing Images Medial Axis from Shocks in Distance Functions

Meshing Images Curvature, Feature Size, Gradient Limiting Size Function

Meshing Images Triangular Mesh

Meshing Images - Lake Superior Original Image

Meshing Images - Lake Superior Triangular Mesh

Meshing Images - Medical Applications Volume Mesh of Iliac Bone

Topics 1. Introduction 2. The New Mesh Generator 3. Mesh Size Functions 4. Applications 5. Conclusions

Conclusions New iterative mesh generator for implicit geometries Simple algorithm, high element qualities, works in any dimension Automatic computation of size functions, PDE-based gradient limiting Combine FEM and level set methods for moving interface problems in shape optimization, structural instabilities, fluid dynamics, etc Mesh generation for images (in any dimension) Future work: Space-time meshes, sliver removal, performance and robustness improvements, quadrilateral/hexahedral meshes, anisotropic gradient limiting, more applications,...