- execute_onLINEARThe list of flag(s) indicating when this object should be executed, the available options include FORWARD, ADJOINT, HOMOGENEOUS_FORWARD, ADJOINT_TIMESTEP_BEGIN, ADJOINT_TIMESTEP_END, NONE, INITIAL, LINEAR, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM.
Default:LINEAR
C++ Type:ExecFlagEnum
Controllable:No
Description:The list of flag(s) indicating when this object should be executed, the available options include FORWARD, ADJOINT, HOMOGENEOUS_FORWARD, ADJOINT_TIMESTEP_BEGIN, ADJOINT_TIMESTEP_END, NONE, INITIAL, LINEAR, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM.
- reverse_time2Total time for complete vortex reversal.
Default:2
C++ Type:double
Controllable:No
Description:Total time for complete vortex reversal.
- reverse_typeinstantaneousThe time of reversal to enforce (instantaneous or cosine).
Default:instantaneous
C++ Type:MooseEnum
Controllable:No
Description:The time of reversal to enforce (instantaneous or cosine).
LevelSetOlssonVortex
A function for creating vortex velocity fields for level set equation benchmark problems.
One of the most often utilized benchmark problems for the level set equation involve a vortex velocity field in two-dimensions that result in a full reversal of the advected variable after some time. The LevelSetOlssonVortex provides the velocity in the x and y direction ( and ) defined by Olsson and Kreiss (2005) as:
There are two methods defined for reversing the velocity direction ("instantaneous" and "cosine"). The former simply switches the sine of the velocity at mid-point of the provided reversal time. The later applies a cosine multiplier so that the reversal is smooth.
Example Input Syntax
[Functions]
[./velocity_func]
type = LevelSetOlssonVortex
reverse_time = 2
[../]
[]
(modules/level_set/test/tests/functions/olsson_vortex/olsson_vortex.i)Input Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:No
Description:Set the enabled status of the MooseObject.
Advanced Parameters
Input Files
References
- 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]