# LevelSetOlssonBubble

Olsson and Kreiss (2005) define a level set function () that differs from the traditional signed distance function. They define a level set function ranging from 0 to 1 with a defined thickness (), which is a commonly referred to as a smeared Heaviside function ():

(1)

Typically, the interface of the level set function is defined by the 0.5 contour and the interface or boundary layer is defined between 0 and 1.

For example, the following code creates a "bubble" in the lower left corner in a domain ranging from 0 to 1 in the x- and y-direction, as shown in the figure.


[Functions]
[./bubble_func]
type = LevelSetOlssonBubble
center = '0.25 0.25 0'
[../]
[]
(modules/level_set/test/tests/functions/olsson_bubble/olsson_bubble.i)

## Input Parameters

• epsilon0.01The interface thickness.

Default:0.01

C++ Type:double

Options:

Description:The interface thickness.

Default:0.15

C++ Type:double

Options:

• center0.5 0.5 0The center of the bubble.

Default:0.5 0.5 0

C++ Type:libMesh::VectorValue

Options:

Description:The center of the bubble.

### Optional Parameters

• control_tagsAdds user-defined labels for accessing object parameters via control logic.

C++ Type:std::vector

Options:

Description:Adds user-defined labels for accessing object parameters via control logic.

• enableTrueSet the enabled status of the MooseObject.

Default:True

C++ Type:bool

Options:

Description:Set the enabled status of the MooseObject.