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

Go to the source code of this file.

Classes

class  INSBase
 This class computes strong and weak components of the INS governing equations. More...
 

Functions

template<>
InputParameters validParams< INSBase > ()
 

Function Documentation

template<>
InputParameters validParams< INSBase > ( )

Definition at line 13 of file INSBase.C.

Referenced by validParams< Advection >(), validParams< INSMass >(), and validParams< INSMomentumBase >().

14 {
15  InputParameters params = validParams<Kernel>();
16 
17  params.addClassDescription("This class computes various strong and weak components of the "
18  "incompressible navier stokes equations which can then be assembled "
19  "together in child classes.");
20  // Coupled variables
21  params.addRequiredCoupledVar("u", "x-velocity");
22  params.addCoupledVar("v", 0, "y-velocity"); // only required in 2D and 3D
23  params.addCoupledVar("w", 0, "z-velocity"); // only required in 3D
24  params.addRequiredCoupledVar("p", "pressure");
25 
26  params.addParam<RealVectorValue>(
27  "gravity", RealVectorValue(0, 0, 0), "Direction of the gravity vector");
28 
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  params.addParam<Real>("alpha", 1., "Multiplicative factor on the stabilization parameter tau.");
33  params.addParam<bool>(
34  "laplace", true, "Whether the viscous term of the momentum equations is in laplace form.");
35  params.addParam<bool>("convective_term", true, "Whether to include the convective term.");
36  params.addParam<bool>("transient_term",
37  false,
38  "Whether there should be a transient term in the momentum residuals.");
39 
40  return params;
41 }