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'
    radius = 0.15
  [../]
[]
(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.

  • radius0.15The radius of the bubble.

    Default:0.15

    C++ Type:double

    Options:

    Description:The radius of the bubble.

  • 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.

Advanced Parameters

Input Files

References

  1. Elin Olsson and Gunilla Kreiss. A conservative level set method for two phase flow. Journal of computational physics, 210(1):225–246, 2005. URL: http://dx.doi.org/10.1016/j.jcp.2005.04.007.[BibTeX]