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

Go to the source code of this file.

Classes

class  PrimaryConvection
 Define the Kernel for a PrimaryConvection operator that looks like: cond * grad_pressure * grad_u. More...
 

Functions

template<>
InputParameters validParams< PrimaryConvection > ()
 

Function Documentation

template<>
InputParameters validParams< PrimaryConvection > ( )

Definition at line 11 of file PrimaryConvection.C.

12 {
13  InputParameters params = validParams<Kernel>();
14  params.addRequiredCoupledVar("p", "Pressure");
15  RealVectorValue g(0, 0, 0);
16  params.addParam<RealVectorValue>("gravity", g, "Gravity vector (default is (0, 0, 0))");
17  params.addClassDescription("Convection of primary species");
18  return params;
19 }