Level Set Method in a Finite Element Setting

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

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

WETTING PROPERTIES OF STRUCTURED INTERFACES COMPOSED OF SURFACE-ATTACHED SPHERICAL NANOPARTICLES

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

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

FEM techniques for interfacial flows

Math 690N - Final Report

Simulation Details for 2D

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

CS 231. Fluid simulation

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

Meshless Modeling, Animating, and Simulating Point-Based Geometry

A Toolbox of Level Set Methods

Literature Report. Daniël Pols. 23 May 2018

Shape Modeling. Differential Geometry Primer Smooth Definitions Discrete Theory in a Nutshell. CS 523: Computer Graphics, Spring 2011

The Immersed Interface Method

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

Level Set Methods and Fast Marching Methods

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

Continuum-Microscopic Models

Edge and local feature detection - 2. Importance of edge detection in computer vision

A Grid Based Particle Method for Evolution of Open Curves and Surfaces

Inverse and Implicit functions

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

Overview of Traditional Surface Tracking Methods

Geometrical Modeling of the Heart

Measuring Lengths The First Fundamental Form

CS205b/CME306. Lecture 9

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

Characteristic Aspects of SPH Solutions

Applications* X3D Moving Grid Methods for Semiconductor INTRODUCTION ANDREW KUPRAT *, DAVID CARTWRIGHT, J. TINKA GAMMEL,

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

(LSS Erlangen, Simon Bogner, Ulrich Rüde, Thomas Pohl, Nils Thürey in collaboration with many more

PARAMETRIC SHAPE AND TOPOLOGY OPTIMIZATION WITH RADIAL BASIS FUNCTIONS

Dr. Ulas Bagci

From CAD surface models to quality meshes. Patrick LAUG. Projet GAMMA. INRIA Rocquencourt. Outline

Level Set Models for Computer Graphics

The Level Set Method THE LEVEL SET METHOD THE LEVEL SET METHOD 203

Overview. Applications of DEC: Fluid Mechanics and Meshing. Fluid Models (I) Part I. Computational Fluids with DEC. Fluid Models (II) Fluid Models (I)

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

Level Sets Methods in Imaging Science

Droplet collisions using a Level Set method: comparisons between simulation and experiments

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

Technical Report TR

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

Surfaces and Integral Curves

An Interface-fitted Mesh Generator and Polytopal Element Methods for Elliptic Interface Problems

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

A hybrid level-set method in two and three dimensions for modeling detonation and combustion problems in complex geometries

Adaptive numerical methods

Gradient Free Design of Microfluidic Structures on a GPU Cluster

Data Visualization. Fall 2017

The Transient Modeling of Bubble Pinch-Off Using an ALE Moving Mesh

MULTIPHASE LEVEL SET EVOLUTION WITH APPLICATIONS TO AUTOMATIC GENERATIONAL TRACKING OF CELL DIVISION OF ESCHERICHIA COLI. A Thesis.

Motivation: Level Sets. Input Data Noisy. Easy Case Use Marching Cubes. Intensity Varies. Non-uniform Exposure. Roger Crawfis

Principles and Goals

2.11 Particle Systems

High Resolution Sharp Computational Methods for Elliptic and Parabolic Problems in Complex Geometries

Evolution, Implementation, and Application of Level Set and Fast Marching Methods for Advancing Fronts

CS-184: Computer Graphics Lecture #21: Fluid Simulation II

Development of Hybrid Fluid Jet / Float Polishing Process

Laplacian Meshes. COS 526 Fall 2016 Slides from Olga Sorkine and Yaron Lipman

Lecture 2 Unstructured Mesh Generation

The Design and Implementation of a Modeling Package

Verification of Moving Mesh Discretizations

An Eulerian Approach for Computing the Finite Time Lyapunov Exponent (FTLE)

Robotics. Chapter 25-b. Chapter 25-b 1

Stream Function-Vorticity CFD Solver MAE 6263

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

Advances in 3-D Forging Process Modeling

Topic 5-6: Parameterizing Surfaces and the Surface Elements ds and ds. Big Ideas. What We Are Doing Today... Notes. Notes. Notes

Geometric Modeling in Graphics

Free Surface Lattice-Boltzmann fluid simulations. with and without level sets.

Vector Visualization. CSC 7443: Scientific Information Visualization

Parameterization II Some slides from the Mesh Parameterization Course from Siggraph Asia

Coping with the Ice Accumulation Problems on Power Transmission Lines

SPH: Why and what for?

Geometric Acoustics in High-Speed Boundary Layers

8 Special Models for Animation. Chapter 8. Special Models for Animation. Department of Computer Science and Engineering 8-1

Numerical Methods for (Time-Dependent) HJ PDEs

Los Alamos National Laboratory

An Embedded Boundary Method with Adaptive Mesh Refinements

Shape Modeling and Geometry Processing

Medical Image Segmentation using Level Sets

Level Set Techniques for Tracking Interfaces; Fast Algorithms, Multiple Regions, Grid Generation, and Shape/Character Recognition

SIMULATION OF INTERFACIAL FLOWS USING FRONT TRACKING APPROACH

Mass-Spring Systems. Last Time?

The Eikonal Equation

Ian Mitchell. Department of Computer Science The University of British Columbia

Lectures on Higher Gauge Theory III

Marker-Based, 3-D Adaptive Cartesian Grid Method for Multiphase Flow Around Irregular Geometries

COMPUTATIONAL METHODS FOR ENVIRONMENTAL FLUID MECHANICS

Level-set and ALE Based Topology Optimization Using Nonlinear Programming

Imagery for 3D geometry design: application to fluid flows.

MOTION OF A LINE SEGMENT WHOSE ENDPOINT PATHS HAVE EQUAL ARC LENGTH. Anton GFRERRER 1 1 University of Technology, Graz, Austria

Curve Sampling and Geometric Conditional Simulation

As a consequence of the operation, there are new incidences between edges and triangles that did not exist in K; see Figure II.9.

SIMULATION OF A DETONATION CHAMBER TEST CASE

Non-Newtonian Transitional Flow in an Eccentric Annulus

Modeling Human Embryos Using a Variational Level Set Approach

Transcription:

Level Set Method in a Finite Element Setting John Shopple University of California, San Diego November 6, 2007

Outline 1 Level Set Method 2 Solute-Solvent Model 3 Reinitialization 4 Conclusion

Types of problems Geometric based motion Motion based on curvature Normal direction motion Simple constant motion Physical based motion Fluid dynamics Two-phase flow Combustion Liquid-gas interactions Biology Biomolecular surfaces Membranes Material science Solidification Epitaxial growth of thin films John Shopple Level Set Method in a Finite Element Setting 3/ 28

Front Tracking Methods 1 Place markers on interface 2 Calculate velocity for each marker 3 Propagate markers one time step 4 Check for topological changes of interfaces add/remove markers split/join interfaces if necessary 5 Go to step 2 John Shopple Level Set Method in a Finite Element Setting 4/ 28

Front Tracking Methods 00 11 00 11 1 Place markers on interface 2 Calculate velocity for each marker 3 Propagate markers one time step 4 Check for topological changes of interfaces add/remove markers split/join interfaces if necessary 5 Go to step 2 John Shopple Level Set Method in a Finite Element Setting 4/ 28

Front Tracking Methods 00 11 0 1 0 1 0 1 0 1 0 1 0 0 1 1 00 11 0 1 00 11 1 Place markers on interface 2 Calculate velocity for each marker 3 Propagate markers one time step 4 Check for topological changes of interfaces add/remove markers split/join interfaces if necessary 5 Go to step 2 John Shopple Level Set Method in a Finite Element Setting 4/ 28

Front Tracking Methods 00 11 00 1 1 1 Place markers on interface 2 Calculate velocity for each marker 3 Propagate markers one time step 4 Check for topological changes of interfaces add/remove markers split/join interfaces if necessary 5 Go to step 2 John Shopple Level Set Method in a Finite Element Setting 4/ 28

Front Tracking Methods 00 11 00 1 1 1 Place markers on interface 2 Calculate velocity for each marker 3 Propagate markers one time step 4 Check for topological changes of interfaces add/remove markers split/join interfaces if necessary 5 Go to step 2 John Shopple Level Set Method in a Finite Element Setting 4/ 28

Front Tracking Methods 00 11 00 1 1 1 Place markers on interface 2 Calculate velocity for each marker 3 Propagate markers one time step 4 Check for topological changes of interfaces add/remove markers split/join interfaces if necessary 5 Go to step 2 John Shopple Level Set Method in a Finite Element Setting 4/ 28

Level Set Method The interface is represented as the zero level set of a function φ(x, y, t) = 0 Topological changes will occur naturally as time progresses. John Shopple Level Set Method in a Finite Element Setting 5/ 28

Derivation of the Level Set Evolution Equation Let ( x(t), y(t) ) parameterize a particle that stays on the moving interface. φ(x(0), y(0), t = 0) = 0 φ(x(1), y(1), t = 1) = 0 φ(x(2), y(2), t = 2) = 0 John Shopple Level Set Method in a Finite Element Setting 6/ 28

Derivation of the Level Set Evolution Equation 0 1 Let ( x(t), y(t) ) parameterize a particle that stays on the moving interface. φ(x(0), y(0), t = 0) = 0 φ(x(1), y(1), t = 1) = 0 φ(x(2), y(2), t = 2) = 0 John Shopple Level Set Method in a Finite Element Setting 6/ 28

Derivation of the Level Set Evolution Equation 0 1 0 1 Let ( x(t), y(t) ) parameterize a particle that stays on the moving interface. φ(x(0), y(0), t = 0) = 0 φ(x(1), y(1), t = 1) = 0 φ(x(2), y(2), t = 2) = 0 John Shopple Level Set Method in a Finite Element Setting 6/ 28

Derivation of the Level Set Evolution Equation 0 1 0 1 Let ( x(t), y(t) ) parameterize a particle that stays on the moving interface. φ(x(0), y(0), t = 0) = 0 φ(x(1), y(1), t = 1) = 0 φ(x(2), y(2), t = 2) = 0 dφ dt = φ t + φ x x (t) + φ y y (t) = φ t + φ (x (t), y (t) ) = φ t + φ V = 0 John Shopple Level Set Method in a Finite Element Setting 6/ 28

Level Set Evolution Equation For externally generated velocity fields: φ t + φ V = 0 For internally generated velocity fields: φ t + φ V n = 0 where V n = V n = V φ φ Interface = Γ(t) = {(x, y) φ(x, y, t) = 0} John Shopple Level Set Method in a Finite Element Setting 7/ 28

Basic Types of Interface Motion Vector field V Scalar field V n giving speed in level sets normal direction ) V n proportional to level set curvature κ = ( φ φ John Shopple Level Set Method in a Finite Element Setting 8/ 28

Local Method to Solve Level Set Equation Evolution equation φ t + V n φ = 0 1 Approximate φ at each vertex v i by the average of φ over a patch around v i 2 Use a Runga-Kutta type method using the values of V n at each vertex. v i John Shopple Level Set Method in a Finite Element Setting 9/ 28

Lennard-Jones Potential Lennard-Jones potential [ (σ ) 12 ( σ ) ] 6 U(r) = 4ε r r σ r U(r = σ) = 0 Minimum: U(r = σ 6 2 1.12σ) = ε r > σ attracts r < σ repels ε John Shopple Level Set Method in a Finite Element Setting 10/ 28

Solute-Solvent Model Molecules consist of atoms at locations x 1,...,x N Solvent region Ω w Solute region Ω m A solute-solvent interface Γ Ω w Ω m Γ John Shopple Level Set Method in a Finite Element Setting 11/ 28

Solute-Solvent Model Molecules consist of atoms at locations x 1,...,x N Solvent region Ω w Solute region Ω m A solute-solvent interface Γ Ω w Ω m Γ A free energy model G[Γ; x 1,..., x N ] = Γ γ ds + ρ w N i=1 Ω w U sw ( x x i ) dv John Shopple Level Set Method in a Finite Element Setting 11/ 28

Algorithm 1 Define a regular grid 2 Define atoms (with radii σ i ) 3 Construct initial surface 4 At each time step: 1 body-fit mesh to interface Γ 2 calculate L-J potential on Γ 3 calculate curvature κ 4 on Γ let V n = γ 0 κ+ρ 0 N i=1 U( x x i ) 5 extend V n to regular grid 6 evolve LS function on regular grid 5 Stop when free energy stops decreasing John Shopple Level Set Method in a Finite Element Setting 12/ 28

Algorithm 1 Define a regular grid 2 Define atoms (with radii σ i ) 3 Construct initial surface 4 At each time step: 1 body-fit mesh to interface Γ 2 calculate L-J potential on Γ 3 calculate curvature κ 4 on Γ let V n = γ 0 κ+ρ 0 N i=1 U( x x i ) 5 extend V n to regular grid 6 evolve LS function on regular grid 5 Stop when free energy stops decreasing John Shopple Level Set Method in a Finite Element Setting 12/ 28

Algorithm 1 Define a regular grid 2 Define atoms (with radii σ i ) 3 Construct initial surface 4 At each time step: 1 body-fit mesh to interface Γ 2 calculate L-J potential on Γ 3 calculate curvature κ 4 on Γ let V n = γ 0 κ+ρ 0 N i=1 U( x x i ) 5 extend V n to regular grid 6 evolve LS function on regular grid 5 Stop when free energy stops decreasing John Shopple Level Set Method in a Finite Element Setting 12/ 28

Algorithm 1 Define a regular grid 2 Define atoms (with radii σ i ) 3 Construct initial surface 4 At each time step: 1 body-fit mesh to interface Γ 2 calculate L-J potential on Γ 3 calculate curvature κ 4 on Γ let V n = γ 0 κ+ρ 0 N i=1 U( x x i ) 5 extend V n to regular grid 6 evolve LS function on regular grid 5 Stop when free energy stops decreasing John Shopple Level Set Method in a Finite Element Setting 12/ 28

Algorithm 1 Define a regular grid 2 Define atoms (with radii σ i ) 3 Construct initial surface 4 At each time step: 1 body-fit mesh to interface Γ 2 calculate L-J potential on Γ 3 calculate curvature κ 4 on Γ let V n = γ 0 κ+ρ 0 N i=1 U( x x i ) 5 extend V n to regular grid 6 evolve LS function on regular grid 5 Stop when free energy stops decreasing John Shopple Level Set Method in a Finite Element Setting 12/ 28

Algorithm 1 Define a regular grid 2 Define atoms (with radii σ i ) 3 Construct initial surface 4 At each time step: 1 body-fit mesh to interface Γ 2 calculate L-J potential on Γ 3 calculate curvature κ 4 on Γ let V n = γ 0 κ+ρ 0 N i=1 U( x x i ) 5 extend V n to regular grid 6 evolve LS function on regular grid 5 Stop when free energy stops decreasing John Shopple Level Set Method in a Finite Element Setting 12/ 28

Body Fitted Meshes Refine mesh into interior and exterior regions. Add edges at zero level set Add edges to make conforming mesh John Shopple Level Set Method in a Finite Element Setting 13/ 28

Body Fitted Meshes Can calculate length of interface easily Explicitly separates interior and exterior May need extra refinement in some applications John Shopple Level Set Method in a Finite Element Setting 14/ 28

Reinitialization What, when, and why? John Shopple Level Set Method in a Finite Element Setting 15/ 28

Reinitialization What is reinitialization? Redefining the level set function to make it nicer without moving the location of the interface (too much). John Shopple Level Set Method in a Finite Element Setting 16/ 28

Reinitialization What is reinitialization? Redefining the level set function to make it nicer without moving the location of the interface (too much). Why reinitialize? Over time the level set function can become flat, causing errors in calculations of certain quantities. John Shopple Level Set Method in a Finite Element Setting 16/ 28

Reinitialization What is reinitialization? Redefining the level set function to make it nicer without moving the location of the interface (too much). Why reinitialize? Over time the level set function can become flat, causing errors in calculations of certain quantities. When do we reinitialize? Often enough that the level set function never becomes bad. Not so often to introduce more errors. John Shopple Level Set Method in a Finite Element Setting 16/ 28

Ideal Reinitialization Doesn t move the interface φ 1 (especially near the interface) Efficient Preserves key quantities near the interface (curvature, normal) Signed distance function? John Shopple Level Set Method in a Finite Element Setting 17/ 28

Ideal Reinitialization Doesn t move the interface φ 1 (especially near the interface) Efficient Preserves key quantities near the interface (curvature, normal) Signed distance function? John Shopple Level Set Method in a Finite Element Setting 17/ 28

Ideal Reinitialization Doesn t move the interface φ 1 (especially near the interface) Efficient Preserves key quantities near the interface (curvature, normal) Signed distance function? John Shopple Level Set Method in a Finite Element Setting 17/ 28

Ideal Reinitialization Doesn t move the interface φ 1 (especially near the interface) Efficient Preserves key quantities near the interface (curvature, normal) Signed distance function? John Shopple Level Set Method in a Finite Element Setting 17/ 28

Ideal Reinitialization Doesn t move the interface φ 1 (especially near the interface) Efficient Preserves key quantities near the interface (curvature, normal) Signed distance function? John Shopple Level Set Method in a Finite Element Setting 17/ 28

Reinitialization Examples A model starting problem 0.5 0.4 0.3 0.2 0.1 0 0.1 0.2 0.3 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 John Shopple Level Set Method in a Finite Element Setting 18/ 28

Reinitialization, Poisson s Equation Method 1 Method 1 1 Body-fit mesh to interface 2 Solve φ = G in Ω φ = G + in Ω + φ = 0 on Γ φ n = 0 on Ω John Shopple Level Set Method in a Finite Element Setting 19/ 28

Reinitialization, Poisson s Equation Method 1 0.5 0.4 0.3 φ = 1 in Ω 0.2 0.1 φ = 1 in Ω + 0 0.1 φ = 0 on Γ 0.2 0.3 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 φ n = 0 on Ω 0.1 0.08 0.06 0.04 0.02 0 0.02 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 John Shopple Level Set Method in a Finite Element Setting 20/ 28

Reinitialization, Poisson s Equation Method 1 Black: original interface Red: new interface John Shopple Level Set Method in a Finite Element Setting 21/ 28

Reinitialization, Poisson s Equation Method 2 Method 2 1 Body-fit mesh to interface 2 Solve φ = G in Ω φ = 0 in Ω + φ = 0 on Γ φ = 1 on Ω John Shopple Level Set Method in a Finite Element Setting 22/ 28

Reinitialization, Poisson s Equation Method 2 0.5 0.4 0.3 0.2 φ = 10 in Ω 0.1 φ = 0 in Ω + 0 0.1 φ = 0 on Γ 0.2 0.3 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 φ = 1 on Ω 1.2 1 0.8 0.6 0.4 0.2 0 0.2 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 John Shopple Level Set Method in a Finite Element Setting 23/ 28

Reinitialization, Poisson s Equation Method 2 John Shopple Level Set Method in a Finite Element Setting 24/ 28

Constrained Gradient Jump Across Interface Method Constraint Add additional constraint φ = 0 n e for all new body-fitted edges e, so unrefinement won t move interface. Constraint is enforced by basis test functions along interface Overdetermined system can only be solved in a least squares way Constraint can be weighted more John Shopple Level Set Method in a Finite Element Setting 25/ 28

Constrained Gradient Jump Across Interface Method Constraint Add additional constraint φ = 0 n e for all new body-fitted edges e, so unrefinement won t move interface. Constraint is enforced by basis test functions along interface Overdetermined system can only be solved in a least squares way Constraint can be weighted more John Shopple Level Set Method in a Finite Element Setting 25/ 28

Constrained Gradient Jump Across Interface Method Constraint Add additional constraint φ = 0 n e for all new body-fitted edges e, so unrefinement won t move interface. Constraint is enforced by basis test functions along interface Overdetermined system can only be solved in a least squares way Constraint can be weighted more John Shopple Level Set Method in a Finite Element Setting 25/ 28

Constrained Gradient Jump Across Interface Method Constraint Add additional constraint φ = 0 n e for all new body-fitted edges e, so unrefinement won t move interface. Constraint is enforced by basis test functions along interface Overdetermined system can only be solved in a least squares way Constraint can be weighted more John Shopple Level Set Method in a Finite Element Setting 25/ 28

Constrained Gradient Jump Comparison 0.5 0.4 0.3 0.2 0.1 Black: original interface Red: new interface 0 0.1 0.2 0.3 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 John Shopple Level Set Method in a Finite Element Setting 26/ 28

Solute-Solvent Model Examples 2 atom systems: 1.6σ, 2.0σ, 2.4σ, 2.8σ. sigma = 1.6 energy = 3.111e 005 sigma = 2.0 energy = 2.543e 005 sigma = 2.4 energy = 2.172e 005 sigma = 2.8 energy = 3.283e 005 John Shopple Level Set Method in a Finite Element Setting 27/ 28

Conclusion Future work: Implement 3 dimensional algorithm Speed up algorithm (various ways) Add more terms to free energy functional John Shopple Level Set Method in a Finite Element Setting 28/ 28