26 "A RichardsDensity UserObject that defines the fluid density as a function of pressure.");
28 "The other variable in the 2-phase system. If " 29 "Variable=porepressure, then other_var should be the " 30 "saturation Variable, and vice-versa.");
32 "var_is_porepressure",
33 "This flag is needed to correctly calculate the Jacobian entries. If " 34 "set to true, this Kernel will assume it is describing the mass of " 35 "the phase with porepressure as its Variable (eg, the liquid phase). " 36 "If set to false, this Kernel will assumed it is describing the mass " 37 "of the phase with saturation as its variable (eg, the gas phase)");
45 _other_var_nodal_old(coupledDofValuesOld(
"other_var")),
46 _var_is_pp(getParam<bool>(
"var_is_porepressure")),
47 _porosity_old(getMaterialProperty<
Real>(
"porosity_old"))
const RichardsDensity & _density
Q2PNegativeNodalMassOld(const InputParameters ¶meters)
static InputParameters validParams()
virtual Real density(Real p) const =0
fluid density as a function of porepressure This must be over-ridden in derived classes to provide an...
bool _var_is_pp
whether the "other variable" is actually porepressure
virtual Real computeQpResidual()
const VariableTestValue & _test
-fluid_mass_old/dt with the fluid mass being lumped to the nodes.
const MaterialProperty< Real > & _porosity_old
value of the porosity at the start of the timestep
const DoFValue & dofValuesOld() const override
registerMooseObject("RichardsApp", Q2PNegativeNodalMassOld)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
static InputParameters validParams()
const VariableValue & _other_var_nodal_old
old value of the other variable (this is porepressure if the Variable is saturation) ...