HOME

TheInfoList



OR:

Level-set methods (LSM) are a conceptual framework for using
level set In mathematics, a level set of a real-valued function of real variables is a set where the function takes on a given constant value , that is: : L_c(f) = \left\~, When the number of independent variables is two, a level set is calle ...
s as a tool for
numerical analysis Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
of
surface A surface, as the term is most generally used, is the outermost or uppermost layer of a physical object or space. It is the portion or region of the object that can first be perceived by an observer using the senses of sight and touch, and is ...
s and
shape A shape or figure is a graphics, graphical representation of an object or its external boundary, outline, or external Surface (mathematics), surface, as opposed to other properties such as color, Surface texture, texture, or material type. A pl ...
s. The advantage of the level-set model is that one can perform numerical computations involving
curve In mathematics, a curve (also called a curved line in older texts) is an object similar to a line (geometry), line, but that does not have to be Linearity, straight. Intuitively, a curve may be thought of as the trace left by a moving point (ge ...
s and
surface A surface, as the term is most generally used, is the outermost or uppermost layer of a physical object or space. It is the portion or region of the object that can first be perceived by an observer using the senses of sight and touch, and is ...
s on a fixed
Cartesian grid A regular grid is a tessellation of ''n''-dimensional Euclidean space by congruent parallelotopes (e.g. bricks). Its opposite is irregular grid. Grids of this type appear on graph paper and may be used in finite element analysis, finite vol ...
without having to parameterize these objects (this is called the ''Eulerian approach''). Also, the level-set method makes it very easy to follow shapes that change
topology In mathematics, topology (from the Greek language, Greek words , and ) is concerned with the properties of a mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformations, such ...
, for example, when a shape splits in two, develops holes, or the reverse of these operations. All these make the level-set method a great tool for modeling time-varying objects, like inflation of an
airbag An airbag is a vehicle occupant-restraint system using a bag designed to inflate extremely quickly, then quickly deflate during a collision. It consists of the airbag cushion, a flexible fabric bag, an inflation module, and an impact sensor. Th ...
, or a drop of oil floating in water. The figure on the right illustrates several important ideas about the level-set method. In the upper-left corner we see a shape; that is, a bounded region with a well-behaved boundary. Below it, the red surface is the graph of a level set function \varphi determining this shape, and the flat blue region represents the ''xy'' plane. The boundary of the shape is then the zero-level set of \varphi, while the shape itself is the set of points in the plane for which \varphi is positive (interior of the shape) or zero (at the boundary). In the top row we see the shape changing its topology by splitting in two. It would be quite hard to describe this transformation numerically by parameterizing the boundary of the shape and following its evolution. One would need an algorithm able to detect the moment the shape splits in two, and then construct parameterizations for the two newly obtained curves. On the other hand, if we look at the bottom row, we see that the level set function merely translated downward. This is an example of when it can be much easier to work with a shape through its level-set function than with the shape directly, where using the shape directly would need to consider and handle all the possible deformations the shape might undergo. Thus, in two dimensions, the level-set method amounts to representing a
closed curve In mathematics, a curve (also called a curved line in older texts) is an object similar to a line (geometry), line, but that does not have to be Linearity, straight. Intuitively, a curve may be thought of as the trace left by a moving point (ge ...
\Gamma (such as the shape boundary in our example) using an auxiliary function \varphi, called the level-set function. \Gamma is represented as the zero-
level set In mathematics, a level set of a real-valued function of real variables is a set where the function takes on a given constant value , that is: : L_c(f) = \left\~, When the number of independent variables is two, a level set is calle ...
of \varphi by :\Gamma = \, and the level-set method manipulates \Gamma ''implicitly'', through the function \varphi. This function \varphi is assumed to take positive values inside the region delimited by the curve \Gamma and negative values outside.


The level-set equation

If the curve \Gamma moves in the normal direction with a speed v, then the level-set function \varphi satisfies the ''level-set equation'' :\frac = v, \nabla \varphi, . Here, , \cdot, is the
Euclidean norm Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are Euclidean s ...
(denoted customarily by single bars in PDEs), and t is time. This is a
partial differential equation In mathematics, a partial differential equation (PDE) is an equation which imposes relations between the various partial derivatives of a Multivariable calculus, multivariable function. The function is often thought of as an "unknown" to be sol ...
, in particular a
Hamilton–Jacobi equation In physics, the Hamilton–Jacobi equation, named after William Rowan Hamilton and Carl Gustav Jacob Jacobi, is an alternative formulation of classical mechanics, equivalent to other formulations such as Newton's laws of motion, Lagrangian mecha ...
, and can be solved numerically, for example, by using
finite difference A finite difference is a mathematical expression of the form . If a finite difference is divided by , one gets a difference quotient. The approximation of derivatives by finite differences plays a central role in finite difference methods for t ...
s on a Cartesian grid. The numerical solution of the level-set equation, however, requires sophisticated techniques. Simple finite-difference methods fail quickly.
Upwinding In computational physics, the term upwind scheme (sometimes advection scheme) ''typically'' refers to a class of numerical discretization methods for solving hyperbolic partial differential equations, in which so-called upstream variables are used ...
methods, such as the Godunov method, fare better; however, the level-set method does not guarantee the conservation of the volume and the shape of the level set in an advection field that does conserve the shape and size, for example, uniform or rotational velocity field. Instead, the shape of the level set may get severely distorted, and the level set may vanish over several time steps. For this reason, high-order finite-difference schemes are generally required, such as high-order
essentially non-oscillatory ENO (essentially non-oscillatory) methods are classes of high-resolution schemes in numerical solution of differential equations. History The first ENO scheme was developed by Harten, Engquist, Osher and Chakravarthy in 1987. In 1994, the fir ...
(ENO) schemes, and even then the feasibility of long-time simulations is questionable. Further sophisticated methods to deal with this difficulty have been developed, e.g., combinations of the level-set method with tracing marker particles advected by the velocity field.


Example

Consider a unit circle in \mathbb^2, shrinking in on itself at a constant rate, i.e. each point on the boundary of the circle moves along its inwards pointing normal at some fixed speed. The circle will shrink and eventually collapse down to a point. If an initial distance field is constructed (i.e. a function whose value is the signed euclidean distance to the boundary, positive interior, negative exterior) on the initial circle, the normalised gradient of this field will be the circle normal. If the field has a constant value subtracted from it in time, the zero level (which was the initial boundary) of the new fields will also be circular and will similarly collapse to a point. This is due to this being effectively the temporal integration of the
Eikonal equation An eikonal equation (from Greek εἰκών, image) is a non-linear first-order partial differential equation that is encountered in problems of wave propagation. The classical eikonal equation in geometric optics is a differential equation of ...
with a fixed front velocity. In
combustion Combustion, or burning, is a high-temperature exothermic redox chemical reaction between a fuel (the reductant) and an oxidant, usually atmospheric oxygen, that produces oxidized, often gaseous products, in a mixture termed as smoke. Combusti ...
, this method is used to describe the instantaneous flame surface, known as the
G equation In Combustion, G equation is a scalar G(\mathbf,t) field equation which describes the instantaneous flame position, introduced by Forman A. Williams in 1985 in the study of premixed turbulent combustion. The equation is derived based on the Level-s ...
.


History

The level-set method was developed in 1979 by Alain Dervieux, and subsequently popularized by
Stanley Osher Stanley Osher (born April 24, 1942) is an American mathematician, known for his many contributions in shock capturing, level-set methods, and PDE-based methods in computer vision and image processing. Osher is a professor at the University of ...
and
James Sethian James Albert Sethian is a professor of mathematics at the University of California, Berkeley and the head of the Mathematics Grouat the United States Department of Energy, United States Department of Energy's Lawrence Berkeley National Laborator ...
. It has become popular in many disciplines, such as
image processing An image is a visual representation of something. It can be two-dimensional, three-dimensional, or somehow otherwise feed into the visual system to convey information. An image can be an artifact, such as a photograph or other two-dimensiona ...
,
computer graphics Computer graphics deals with generating images with the aid of computers. Today, computer graphics is a core technology in digital photography, film, video games, cell phone and computer displays, and many specialized applications. A great de ...
,
computational geometry Computational geometry is a branch of computer science devoted to the study of algorithms which can be stated in terms of geometry. Some purely geometrical problems arise out of the study of computational geometric algorithms, and such problems ar ...
,
optimization Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criterion, from some set of available alternatives. It is generally divided into two subfi ...
,
computational fluid dynamics Computational fluid dynamics (CFD) is a branch of fluid mechanics that uses numerical analysis and data structures to analyze and solve problems that involve fluid flows. Computers are used to perform the calculations required to simulate th ...
, and
computational biology Computational biology refers to the use of data analysis, mathematical modeling and computational simulations to understand biological systems and relationships. An intersection of computer science, biology, and big data, the field also has fo ...
. A number of level-set data structures have been developed to facilitate the use of the level-set method in computer applications.


Applications

* Computational fluid dynamics * Combustion * Trajectory planning * Optimization * Image processing * Computational biophysics * Discrete
complex dynamics Complex dynamics is the study of dynamical systems defined by Iterated function, iteration of functions on complex number spaces. Complex analytic dynamics is the study of the dynamics of specifically analytic functions. Techniques *General **Mo ...
: visulalisation of parameter plane and dynamic plane


Computational fluid dynamics

To run a Math Model in the interface of two different fluids we need to soften the interactions between the fluids. Therefore we need to apply a specific function: Compact Level Set Method. As a “spin off”, the CompactLSM is a complement of the LSM, that helps solving LSM equations. It can be used in numerical simulation of flow, for example, if we are working with discretization of the interface water-air, compacts at sixth order, ensures the accurate and fast calculation of the interface equations (Monteiro 2018). The LSM uses a distance function to locate different fluids. A distance function is that whose value represents the smallest distance from the point where it is being analyzed to the interface. This distance function is identified by isolines (2D) or isosurfaces (3D), showing that  the negative values refer to one of the fluids, positive values refer to the other and the zero value corresponds to the position of the interface. But, how is the Heaviside function inserted in the ''Compact Level Set Method?'' Since the specific mass and viscosity are discontinuous at the interface, both excess diffusion problem (interface widening) and numerical oscillations are expected if there is no adequate treatment of the fluid near the interface. To minimize these problems, the Level Set method uses a smooth, cell-related Heaviside function that explicitly defines the interface position (∅ = 0). The transition in the interface is kept smooth, but with a thickness of the order of magnitude of the cell size, to avoid the introduction of disturbances with a length scale equal to that of the mesh, since the interface infers an abrupt jump property from one cell to the next (Unverdi and Tryggvason, 1992). To reconstruct the material properties of the flow, such as specific mass and viscosity, another marker function, I (∅), of the Heaviside type is used: where ''δ'' is an empirical coefficient, usually equal to 1; 5 and Δ is the characteristic discretization of the problem, which varies according to the phenomenon to be simulated. The value of ''δ'' represents an interface with a thickness of three cells, and thus ''δ''Δ represents half the thickness of the interface. Note that in this method, the interface has a virtual thickness, as it is represented by a smooth function. Physical properties, such as specific mass and kinematic viscosity, are calculated as: where ''ρ''1, ''ρ''2, ''v''1 and ''v''2 are the specific mass and kinematic viscosity of fluids 1 and 2. Equation can be applied analogously to the other properties of the fluids.


See also

* Contour boxplot *
Zebra striping (computer graphics) Zebra striping is the coloring of every other row of a Table (information), table to make it easier to read. Although zebra striping has been used for a long time to improve readability, there is relatively little data on how much it helps. CSS ...
*
G equation In Combustion, G equation is a scalar G(\mathbf,t) field equation which describes the instantaneous flame position, introduced by Forman A. Williams in 1985 in the study of premixed turbulent combustion. The equation is derived based on the Level-s ...
*
Advanced Simulation Library Advanced Simulation Library (ASL) is free and open-source hardware-accelerated multiphysics simulation platform. It enables users to write customized numerical solvers in C++ and deploy them on a variety of massively parallel architecture ...
*
Volume of fluid method In computational fluid dynamics, the volume of fluid (VOF) method is a free-surface modelling technique, i.e. a numerical technique for tracking and locating the free surface (or fluid–fluid interface). It belongs to the class of Eulerian m ...
* Image segmentation#Level-set methods *
Immersed boundary method In computational fluid dynamics, the immersed boundary method originally referred to an approach developed by Charles Peskin in 1972 to simulate fluid-structure (fiber) interactions. Treating the coupling of the structure deformations and the flui ...
*
Stochastic Eulerian Lagrangian method In computational fluid dynamics, the Stochastic Eulerian Lagrangian Method (SELM) is an approach to capture essential features of fluid-structure interactions subject to thermal fluctuations while introducing approximations which facilitate analysi ...
*
Level set (data structures) In computer science a level set data structure is designed to represent discretely sampled dynamic level sets functions. A common use of this form of data structure is in efficient image rendering. The underlying method constructs a signed dist ...
*
Posterization Posterization or posterisation of an image is the conversion of a continuous gradation of tone to several regions of fewer tones, causing abrupt changes from one tone to another. This was originally done with photographic processes to create p ...


References


External links

* See
Ronald Fedkiw Ronald Paul "Ron" Fedkiw (born February 27, 1968) is a full professor in the Stanford University department of computer science and a leading researcher in the field of computer graphics, focusing on topics relating to physically based simulatio ...
'
academic web page
for many stunning pictures and animations showing how the level-set method can be used to model real-life phenomena, like fire, water, cloth, fracturing materials, etc.
Multivac
is a C++ library for front tracking in 2D with level-set methods. *
James Sethian James Albert Sethian is a professor of mathematics at the University of California, Berkeley and the head of the Mathematics Grouat the United States Department of Energy, United States Department of Energy's Lawrence Berkeley National Laborator ...
'
web page
on level-set method. *
Stanley Osher Stanley Osher (born April 24, 1942) is an American mathematician, known for his many contributions in shock capturing, level-set methods, and PDE-based methods in computer vision and image processing. Osher is a professor at the University of ...
'
homepage
{{Numerical PDE Optimization algorithms and methods Computer graphics algorithms Image processing Computational fluid dynamics Articles containing video clips