PorousFlowMassRadioactiveDecay.C File Reference

Go to the source code of this file.


InputParameters validParams< PorousFlowMassRadioactiveDecay > ()

Function Documentation

InputParameters validParams< PorousFlowMassRadioactiveDecay > ( )

Definition at line 20 of file PorousFlowMassRadioactiveDecay.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 fluid component for this kernel");
32  params.addRequiredParam<Real>("decay_rate",
33  "The decay rate (units 1/time) for the fluid component");
34  params.addRequiredParam<UserObjectName>(
35  "PorousFlowDictator", "The UserObject that holds the list of Porous-Flow variable names.");
36  params.addClassDescription("Radioactive decay of a fluid component");
37  return params;
38 }