Go to the source code of this file.
|
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...
|
|
◆ validParams< PorousFlowMassTimeDerivative >()
Definition at line 22 of file PorousFlowMassTimeDerivative.C.
24 InputParameters params = validParams<TimeKernel>();
25 params.addParam<
bool>(
"strain_at_nearest_qp",
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");