www.mooseframework.org
Functions
Q2PNodalMass.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< Q2PNodalMass > ()
 

Function Documentation

template<>
InputParameters validParams< Q2PNodalMass > ( )

Definition at line 18 of file Q2PNodalMass.C.

19 {
20  InputParameters params = validParams<TimeKernel>();
21  params.addRequiredParam<UserObjectName>(
22  "fluid_density",
23  "A RichardsDensity UserObject that defines the fluid density as a function of pressure.");
24  params.addRequiredCoupledVar("other_var",
25  "The other variable in the 2-phase system. If "
26  "Variable=porepressure, then other_var should be the "
27  "saturation Variable, and vice-versa.");
28  params.addRequiredParam<bool>(
29  "var_is_porepressure",
30  "This flag is needed to correctly calculate the Jacobian entries. If "
31  "set to true, this Kernel will assume it is describing the mass of "
32  "the phase with porepressure as its Variable (eg, the liquid phase). "
33  "If set to false, this Kernel will assumed it is describing the mass "
34  "of the phase with saturation as its variable (eg, the gas phase)");
35  params.addClassDescription("Fluid mass lumped to the nodes divided by dt");
36  return params;
37 }