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

Go to the source code of this file.

Classes

class  Q2PNegativeNodalMassOld
 -fluid_mass_old/dt with the fluid mass being lumped to the nodes. More...
 

Functions

template<>
InputParameters validParams< Q2PNegativeNodalMassOld > ()
 

Function Documentation

template<>
InputParameters validParams< Q2PNegativeNodalMassOld > ( )

Definition at line 18 of file Q2PNegativeNodalMassOld.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");
36  return params;
37 }