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

Go to the source code of this file.

Classes

class  INSExplicitTimestepSelector
 Postprocessor that computes the minimum value of h_min/|u|, where |u| is coupled in as an aux variable. More...
 

Functions

template<>
InputParameters validParams< INSExplicitTimestepSelector > ()
 

Function Documentation

◆ validParams< INSExplicitTimestepSelector >()

template<>
InputParameters validParams< INSExplicitTimestepSelector > ( )

Definition at line 18 of file INSExplicitTimestepSelector.C.

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