www.mooseframework.org
Functions
LevelSetOlssonVortex.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("LevelSetApp", LevelSetOlssonVortex)
 
template<>
InputParameters validParams< LevelSetOlssonVortex > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "LevelSetApp"  ,
LevelSetOlssonVortex   
)

◆ validParams< LevelSetOlssonVortex >()

template<>
InputParameters validParams< LevelSetOlssonVortex > ( )

Definition at line 16 of file LevelSetOlssonVortex.C.

17 {
18  MooseEnum rtype("instantaneous=0 cosine=1", "instantaneous");
19  MooseEnum comp("x=0 y=1 z=2");
20 
21  InputParameters params = validParams<Function>();
22  params.addClassDescription(
23  "A function for creating vortex velocity fields for level set equation benchmark problems.");
24  params.addParam<MooseEnum>(
25  "reverse_type", rtype, "The time of reversal to enforce (instantaneous or cosine).");
26  params.addParam<Real>("reverse_time", 2, "Total time for complete vortex reversal.");
27  params.addRequiredParam<MooseEnum>("component", comp, "The component of velocity to return.");
28 
29  return params;
30 }