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

Go to the source code of this file.

Classes

class  INSProjection
 This class computes the "projection" part of the "split" method for solving incompressible Navier-Stokes. More...
 

Functions

template<>
InputParameters validParams< INSProjection > ()
 

Function Documentation

template<>
InputParameters validParams< INSProjection > ( )

Definition at line 13 of file INSProjection.C.

14 {
15  InputParameters params = validParams<Kernel>();
16 
17  params.addClassDescription("This class computes the 'projection' part of the 'split' method for "
18  "solving incompressible Navier-Stokes.");
19  // Coupled variables
20  params.addRequiredCoupledVar("a1", "x-acceleration");
21  params.addCoupledVar("a2", "y-acceleration"); // only required in 2D and 3D
22  params.addCoupledVar("a3", "z-acceleration"); // 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 momentum equation");
29 
30  // Optional parameters
31  params.addParam<MaterialPropertyName>("rho_name", "rho", "density name");
32 
33  return params;
34 }