www.mooseframework.org
Classes | Functions
LevelSetOlssonVortex.h File Reference

Go to the source code of this file.

Classes

class  LevelSetOlssonVortex
 Defines a vortex velocity field in the x-y plane. More...
 

Functions

template<>
InputParameters validParams< LevelSetOlssonVortex > ()
 

Function Documentation

template<>
InputParameters validParams< LevelSetOlssonVortex > ( )

Definition at line 12 of file LevelSetOlssonVortex.C.

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