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

Go to the source code of this file.

Classes

class  PorousFlowMassTimeDerivative
 Kernel = (mass_component - mass_component_old)/dt where mass_component = porosity*sum_phases(density_phase*saturation_phase*massfrac_phase^component) It is lumped to the nodes. More...
 

Functions

template<>
InputParameters validParams< PorousFlowMassTimeDerivative > ()
 

Function Documentation

template<>
InputParameters validParams< PorousFlowMassTimeDerivative > ( )

Definition at line 20 of file PorousFlowMassTimeDerivative.C.

21 {
22  InputParameters params = validParams<TimeKernel>();
23  params.addParam<bool>("strain_at_nearest_qp",
24  false,
25  "When calculating nodal porosity that depends on strain, use the strain at "
26  "the nearest quadpoint. This adds a small extra computational burden, and "
27  "is not necessary for simulations involving only linear lagrange elements. "
28  " If you set this to true, you will also want to set the same parameter to "
29  "true for related Kernels and Materials");
30  params.addParam<unsigned int>(
31  "fluid_component", 0, "The index corresponding to the component for this kernel");
32  params.addRequiredParam<UserObjectName>(
33  "PorousFlowDictator", "The UserObject that holds the list of Porous-Flow variable names.");
34  params.addClassDescription(
35  "Component mass derivative wrt time for component given by fluid_component");
36  return params;
37 }