www.mooseframework.org
Functions
INSExplicitTimestepSelector.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< INSExplicitTimestepSelector > ()
 

Function Documentation

template<>
InputParameters validParams< INSExplicitTimestepSelector > ( )

Definition at line 14 of file INSExplicitTimestepSelector.C.

15 {
16  InputParameters params = validParams<ElementPostprocessor>();
17 
18  params.addClassDescription("Postprocessor that computes the minimum value of h_min/|u|, where "
19  "|u| is coupled in as an aux variable.");
20 
21  // Coupled variables
22  params.addRequiredCoupledVar("vel_mag", "Velocity magnitude");
23 
24  // Required parameters
25  params.addRequiredParam<Real>("beta",
26  "0 < beta < 1, choose some fraction of the limiting timestep size");
27 
28  // Optional parameters
29  params.addParam<MaterialPropertyName>("mu_name", "mu", "The name of the dynamic viscosity");
30  params.addParam<MaterialPropertyName>("rho_name", "rho", "The name of the density");
31 
32  return params;
33 }