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

◆ validParams< Q2PNegativeNodalMassOld >()

template<>
InputParameters validParams< Q2PNegativeNodalMassOld > ( )

Definition at line 22 of file Q2PNegativeNodalMassOld.C.

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