www.mooseframework.org
Functions
INSChorinCorrector.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< INSChorinCorrector > ()
 

Function Documentation

template<>
InputParameters validParams< INSChorinCorrector > ( )

Definition at line 13 of file INSChorinCorrector.C.

14 {
15  InputParameters params = validParams<Kernel>();
16 
17  params.addClassDescription("This class computes the 'Chorin' Corrector equation in "
18  "fully-discrete (both time and space) form.");
19  // Coupled variables
20  params.addRequiredCoupledVar("u_star", "star x-velocity");
21  params.addCoupledVar("v_star", "star y-velocity"); // only required in 2D and 3D
22  params.addCoupledVar("w_star", "star z-velocity"); // only required in 3D
23  params.addRequiredCoupledVar("p", "pressure");
24 
25  // Required parameters
26  params.addRequiredParam<unsigned>(
27  "component",
28  "0,1,2 depending on if we are solving the x,y,z component of the Corrector equation");
29 
30  // Optional parameters
31  params.addParam<MaterialPropertyName>("rho_name", "rho", "density name");
32 
33  return params;
34 }