Kernel = sum (stoichiometry * density * porosity_old * saturation * reaction_rate) where the sum is over secondary chemical species in a precipitation-dissolution reaction system. More...
#include <PorousFlowPreDis.h>
Public Member Functions | |
PorousFlowPreDis (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 std::vector< Real > | _mineral_density |
Density of the mineral species. More... | |
const PorousFlowDictator & | _dictator |
PorousFlowDictator UserObject. More... | |
const unsigned int | _aq_ph |
Aqueous phase number. More... | |
const MaterialProperty< Real > & | _porosity_old |
Old value of porosity. More... | |
const MaterialProperty< std::vector< Real > > & | _saturation |
Saturation. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dsaturation_dvar |
d(saturation)/d(PorousFlow var) More... | |
const MaterialProperty< std::vector< Real > > & | _reaction_rate |
Reaction rate of the yielding the secondary species. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dreaction_rate_dvar |
d(reaction rate)/d(porflow variable) More... | |
const std::vector< Real > | _stoichiometry |
Stoichiometric coefficients. More... | |
Kernel = sum (stoichiometry * density * porosity_old * saturation * reaction_rate) where the sum is over secondary chemical species in a precipitation-dissolution reaction system.
Definition at line 25 of file PorousFlowPreDis.h.
PorousFlowPreDis::PorousFlowPreDis | ( | const InputParameters & | parameters | ) |
Definition at line 34 of file PorousFlowPreDis.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 112 of file PorousFlowPreDis.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
overrideprotectedvirtual |
If the variable is not a PorousFlow variable (very unusual), the diag Jacobian terms are 0
Definition at line 94 of file PorousFlowPreDis.C.
|
overrideprotectedvirtual |
If the variable is not a PorousFlow variable, the OffDiag Jacobian terms are 0
Definition at line 103 of file PorousFlowPreDis.C.
|
overrideprotectedvirtual |
Definition at line 74 of file PorousFlowPreDis.C.
|
protected |
Aqueous phase number.
Definition at line 42 of file PorousFlowPreDis.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
PorousFlowDictator UserObject.
Definition at line 39 of file PorousFlowPreDis.h.
Referenced by computeQpJac(), computeQpJacobian(), computeQpOffDiagJacobian(), computeQpResidual(), and PorousFlowPreDis().
|
protected |
d(reaction rate)/d(porflow variable)
Definition at line 57 of file PorousFlowPreDis.h.
Referenced by computeQpJac().
|
protected |
d(saturation)/d(PorousFlow var)
Definition at line 51 of file PorousFlowPreDis.h.
Referenced by computeQpJac().
|
protected |
Density of the mineral species.
Definition at line 36 of file PorousFlowPreDis.h.
Referenced by computeQpJac(), computeQpResidual(), and PorousFlowPreDis().
|
protected |
Old value of porosity.
Definition at line 45 of file PorousFlowPreDis.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Reaction rate of the yielding the secondary species.
Definition at line 54 of file PorousFlowPreDis.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Saturation.
Definition at line 48 of file PorousFlowPreDis.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Stoichiometric coefficients.
Definition at line 60 of file PorousFlowPreDis.h.
Referenced by computeQpJac(), computeQpResidual(), and PorousFlowPreDis().