www.mooseframework.org
Functions
PorousFlowMassTimeDerivative.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PorousFlowApp", PorousFlowMassTimeDerivative)
 
template<>
InputParameters validParams< PorousFlowMassTimeDerivative > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowMassTimeDerivative   
)

◆ validParams< PorousFlowMassTimeDerivative >()

template<>
InputParameters validParams< PorousFlowMassTimeDerivative > ( )

Definition at line 22 of file PorousFlowMassTimeDerivative.C.

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