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

◆ validParams< INSBase >()

template<>
InputParameters validParams< INSBase > ( )

Definition at line 15 of file INSBase.C.

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

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