Kernel = _decay_rate * masscomponent where mass_component = porosity*sum_phases(density_phase*saturation_phase*massfrac_phase^component) It is lumped to the nodes. More...
#include <PorousFlowMassRadioactiveDecay.h>
Public Member Functions | |
PorousFlowMassRadioactiveDecay (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () override |
virtual Real | computeQpJacobian () override |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) override |
Real | computeQpJac (unsigned int pvar) |
Derivative of residual with respect to PorousFlow variable number pvar This is used by both computeQpJacobian and computeQpOffDiagJacobian. More... | |
Protected Attributes | |
const Real | _decay_rate |
The decay rate. More... | |
const unsigned int | _fluid_component |
The fluid component index. More... | |
const PorousFlowDictator & | _dictator |
PorousFlowDictator UserObject. More... | |
const bool | _var_is_porflow_var |
Whether the Variable for this Kernel is a PorousFlow variable according to the Dictator. More... | |
const unsigned int | _num_phases |
Number of fluid phases. More... | |
const bool | _strain_at_nearest_qp |
Whether the porosity uses the volumetric strain at the closest quadpoint. More... | |
const MaterialProperty< Real > & | _porosity |
Porosity at the nodes, but it can depend on grad(variables) which are actually evaluated at the qps. More... | |
const MaterialProperty< std::vector< Real > > & | _dporosity_dvar |
d(porosity)/d(PorousFlow variable) - these derivatives will be wrt variables at the nodes More... | |
const MaterialProperty< std::vector< RealGradient > > & | _dporosity_dgradvar |
d(porosity)/d(grad PorousFlow variable) - remember these derivatives will be wrt grad(vars) at qps More... | |
const MaterialProperty< unsigned int > *const | _nearest_qp |
The nearest qp to the node. More... | |
const MaterialProperty< std::vector< Real > > & | _fluid_density |
Nodal fluid density. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dfluid_density_dvar |
d(nodal fluid density)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< Real > > & | _fluid_saturation_nodal |
Nodal fluid saturation. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dfluid_saturation_nodal_dvar |
d(nodal fluid saturation)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _mass_frac |
Nodal mass fraction. More... | |
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & | _dmass_frac_dvar |
d(nodal mass fraction)/d(PorousFlow variable) More... | |
Kernel = _decay_rate * masscomponent where mass_component = porosity*sum_phases(density_phase*saturation_phase*massfrac_phase^component) It is lumped to the nodes.
Definition at line 26 of file PorousFlowMassRadioactiveDecay.h.
PorousFlowMassRadioactiveDecay::PorousFlowMassRadioactiveDecay | ( | const InputParameters & | parameters | ) |
Definition at line 42 of file PorousFlowMassRadioactiveDecay.C.
|
protected |
Derivative of residual with respect to PorousFlow variable number pvar This is used by both computeQpJacobian and computeQpOffDiagJacobian.
pvar | take the derivative of the residual wrt this PorousFlow variable |
Definition at line 107 of file PorousFlowMassRadioactiveDecay.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
overrideprotectedvirtual |
Definition at line 89 of file PorousFlowMassRadioactiveDecay.C.
|
overrideprotectedvirtual |
Definition at line 98 of file PorousFlowMassRadioactiveDecay.C.
|
overrideprotectedvirtual |
Definition at line 78 of file PorousFlowMassRadioactiveDecay.C.
|
protected |
The decay rate.
Definition at line 37 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
d(nodal fluid density)/d(PorousFlow variable)
Definition at line 70 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac().
|
protected |
d(nodal fluid saturation)/d(PorousFlow variable)
Definition at line 76 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac().
|
protected |
PorousFlowDictator UserObject.
Definition at line 43 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and PorousFlowMassRadioactiveDecay().
|
protected |
d(nodal mass fraction)/d(PorousFlow variable)
Definition at line 82 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac().
|
protected |
d(porosity)/d(grad PorousFlow variable) - remember these derivatives will be wrt grad(vars) at qps
Definition at line 61 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac().
|
protected |
d(porosity)/d(PorousFlow variable) - these derivatives will be wrt variables at the nodes
Definition at line 58 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac().
|
protected |
The fluid component index.
Definition at line 40 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac(), computeQpResidual(), and PorousFlowMassRadioactiveDecay().
|
protected |
Nodal fluid density.
Definition at line 67 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Nodal fluid saturation.
Definition at line 73 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Nodal mass fraction.
Definition at line 79 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
The nearest qp to the node.
Definition at line 64 of file PorousFlowMassRadioactiveDecay.h.
|
protected |
Number of fluid phases.
Definition at line 49 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Porosity at the nodes, but it can depend on grad(variables) which are actually evaluated at the qps.
Definition at line 55 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Whether the porosity uses the volumetric strain at the closest quadpoint.
Definition at line 52 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJac().
|
protected |
Whether the Variable for this Kernel is a PorousFlow variable according to the Dictator.
Definition at line 46 of file PorousFlowMassRadioactiveDecay.h.
Referenced by computeQpJacobian().