Kernel = mass_component * d(volumetric_strain)/dt where mass_component = porosity*sum_phases(density_phase*saturation_phase*massfrac_phase^component) which is lumped to the nodes. More...
#include <PorousFlowMassVolumetricExpansion.h>
Public Member Functions | |
PorousFlowMassVolumetricExpansion (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () override |
virtual Real | computeQpJacobian () override |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) override |
Real | computedMassQpJac (unsigned int jvar) const |
Derivative of mass part of the residual with respect to the Variable with variable number jvar. More... | |
Real | computedVolQpJac (unsigned int jvar) const |
Derivative of volumetric-strain part of the residual with respect to the Variable with variable number jvar. More... | |
Protected Attributes | |
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... | |
unsigned int | _ndisp |
Number of displacement variables. More... | |
std::vector< unsigned int > | _disp_var_num |
Variable number of the displacements variables. More... | |
const bool | _strain_at_nearest_qp |
Whether the porosity uses the volumetric strain at the closest quadpoint. More... | |
const MaterialProperty< Real > & | _porosity |
Porosity. More... | |
const MaterialProperty< std::vector< Real > > & | _dporosity_dvar |
d(porosity)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< RealGradient > > & | _dporosity_dgradvar |
d(porosity)/d(grad PorousFlow variable) More... | |
const MaterialProperty< unsigned int > *const | _nearest_qp |
The nearest qp to the node. More... | |
const MaterialProperty< std::vector< Real > > & | _fluid_density |
Fluid density. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dfluid_density_dvar |
d(fluid density)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< Real > > & | _fluid_saturation |
Fluid saturation. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dfluid_saturation_dvar |
d(fluid saturation)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _mass_frac |
Mass fraction. More... | |
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & | _dmass_frac_dvar |
d(mass fraction)/d(PorousFlow variable) More... | |
const MaterialProperty< Real > & | _strain_rate_qp |
Strain rate. More... | |
const MaterialProperty< std::vector< RealGradient > > & | _dstrain_rate_qp_dvar |
d(strain rate)/d(PorousFlow variable) More... | |
Kernel = mass_component * d(volumetric_strain)/dt where mass_component = porosity*sum_phases(density_phase*saturation_phase*massfrac_phase^component) which is lumped to the nodes.
Definition at line 27 of file PorousFlowMassVolumetricExpansion.h.
PorousFlowMassVolumetricExpansion::PorousFlowMassVolumetricExpansion | ( | const InputParameters & | parameters | ) |
Definition at line 36 of file PorousFlowMassVolumetricExpansion.C.
|
protected |
Derivative of mass part of the residual with respect to the Variable with variable number jvar.
This is used by both computeQpJacobian and computeQpOffDiagJacobian
jvar | take the derivative of the mass part of the residual wrt this variable number |
Definition at line 126 of file PorousFlowMassVolumetricExpansion.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
protected |
Derivative of volumetric-strain part of the residual with respect to the Variable with variable number jvar.
This is used by both computeQpJacobian and computeQpOffDiagJacobian
jvar | take the derivative of the volumetric-strain part of the residual wrt this variable number |
Definition at line 108 of file PorousFlowMassVolumetricExpansion.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
overrideprotectedvirtual |
Definition at line 96 of file PorousFlowMassVolumetricExpansion.C.
|
overrideprotectedvirtual |
Definition at line 102 of file PorousFlowMassVolumetricExpansion.C.
|
overrideprotectedvirtual |
Definition at line 73 of file PorousFlowMassVolumetricExpansion.C.
|
protected |
d(fluid density)/d(PorousFlow variable)
Definition at line 71 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac().
|
protected |
d(fluid saturation)/d(PorousFlow variable)
Definition at line 77 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac().
|
protected |
PorousFlowDictator UserObject.
Definition at line 41 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac(), computedVolQpJac(), and PorousFlowMassVolumetricExpansion().
|
protected |
Variable number of the displacements variables.
Definition at line 50 of file PorousFlowMassVolumetricExpansion.h.
|
protected |
d(mass fraction)/d(PorousFlow variable)
Definition at line 83 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac().
|
protected |
d(porosity)/d(grad PorousFlow variable)
Definition at line 62 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac().
|
protected |
d(porosity)/d(PorousFlow variable)
Definition at line 59 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac().
|
protected |
d(strain rate)/d(PorousFlow variable)
Definition at line 89 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedVolQpJac().
|
protected |
The fluid component index.
Definition at line 38 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac(), computedVolQpJac(), computeQpResidual(), and PorousFlowMassVolumetricExpansion().
|
protected |
Fluid density.
Definition at line 68 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac(), computedVolQpJac(), and computeQpResidual().
|
protected |
Fluid saturation.
Definition at line 74 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac(), computedVolQpJac(), and computeQpResidual().
|
protected |
Mass fraction.
Definition at line 80 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac(), computedVolQpJac(), and computeQpResidual().
|
protected |
Number of displacement variables.
Definition at line 47 of file PorousFlowMassVolumetricExpansion.h.
|
protected |
The nearest qp to the node.
Definition at line 65 of file PorousFlowMassVolumetricExpansion.h.
|
protected |
Porosity.
Definition at line 56 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac(), computedVolQpJac(), and computeQpResidual().
|
protected |
Whether the porosity uses the volumetric strain at the closest quadpoint.
Definition at line 53 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac().
|
protected |
Strain rate.
Definition at line 86 of file PorousFlowMassVolumetricExpansion.h.
Referenced by computedMassQpJac(), and computeQpResidual().
|
protected |
Whether the Variable for this Kernel is a PorousFlow variable according to the Dictator.
Definition at line 44 of file PorousFlowMassVolumetricExpansion.h.