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

Go to the source code of this file.

Classes

class  DarcyFluxPressure
 Darcy flux: - cond * (Grad P - rho * g) where cond is the hydraulic conductivity, P is fluid pressure, rho is flui density and g is gravity. More...
 

Functions

template<>
InputParameters validParams< DarcyFluxPressure > ()
 

Function Documentation

template<>
InputParameters validParams< DarcyFluxPressure > ( )

Definition at line 11 of file DarcyFluxPressure.C.

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