Kernel = (heat_energy - heat_energy_old)/dt It is lumped to the nodes. More...
#include <PorousFlowEnergyTimeDerivative.h>
Public Member Functions | |
PorousFlowEnergyTimeDerivative (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) const |
Derivative of residual with respect to PorousFlow variable number pvar This is used by both computeQpJacobian and computeQpOffDiagJacobian. More... | |
Protected Attributes | |
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 | _fluid_present |
Whether _num_phases > 0 (ie. there is a fluid present) 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< Real > & | _porosity_old |
Old value of porosity. 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< Real > & | _rock_energy_nodal |
Nodal rock energy density. More... | |
const MaterialProperty< Real > & | _rock_energy_nodal_old |
Old value of nodal rock energy density. More... | |
const MaterialProperty< std::vector< Real > > & | _drock_energy_nodal_dvar |
d(nodal rock energy density)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< Real > > *const | _fluid_density |
Nodal fluid density. More... | |
const MaterialProperty< std::vector< Real > > *const | _fluid_density_old |
Old value of nodal fluid density. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > *const | _dfluid_density_dvar |
d(nodal fluid density)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< Real > > *const | _fluid_saturation_nodal |
Nodal fluid saturation. More... | |
const MaterialProperty< std::vector< Real > > *const | _fluid_saturation_nodal_old |
Old value of fluid saturation. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > *const | _dfluid_saturation_nodal_dvar |
d(nodal fluid saturation)/d(PorousFlow variable) More... | |
const MaterialProperty< std::vector< Real > > *const | _energy_nodal |
Internal energy of the phases, evaluated at the nodes. More... | |
const MaterialProperty< std::vector< Real > > *const | _energy_nodal_old |
Old value of internal energy of the phases, evaluated at the nodes. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > *const | _denergy_nodal_dvar |
d(internal energy)/d(PorousFlow variable) More... | |
Kernel = (heat_energy - heat_energy_old)/dt It is lumped to the nodes.
Definition at line 24 of file PorousFlowEnergyTimeDerivative.h.
PorousFlowEnergyTimeDerivative::PorousFlowEnergyTimeDerivative | ( | const InputParameters & | parameters | ) |
Definition at line 34 of file PorousFlowEnergyTimeDerivative.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 119 of file PorousFlowEnergyTimeDerivative.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
overrideprotectedvirtual |
Definition at line 101 of file PorousFlowEnergyTimeDerivative.C.
|
overrideprotectedvirtual |
Definition at line 110 of file PorousFlowEnergyTimeDerivative.C.
|
overrideprotectedvirtual |
Definition at line 85 of file PorousFlowEnergyTimeDerivative.C.
|
protected |
d(internal energy)/d(PorousFlow variable)
Definition at line 98 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
d(nodal fluid density)/d(PorousFlow variable)
Definition at line 80 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
d(nodal fluid saturation)/d(PorousFlow variable)
Definition at line 89 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
PorousFlowDictator UserObject.
Definition at line 35 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
protected |
d(porosity)/d(grad PorousFlow variable) - remember these derivatives will be wrt grad(vars) at qps
Definition at line 59 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJac().
|
protected |
d(porosity)/d(PorousFlow variable) - these derivatives will be wrt variables at the nodes
Definition at line 56 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJac().
|
protected |
d(nodal rock energy density)/d(PorousFlow variable)
Definition at line 71 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJac().
|
protected |
Internal energy of the phases, evaluated at the nodes.
Definition at line 92 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
Old value of internal energy of the phases, evaluated at the nodes.
Definition at line 95 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
Nodal fluid density.
Definition at line 74 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJac().
|
protected |
Old value of nodal fluid density.
Definition at line 77 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
Whether _num_phases > 0 (ie. there is a fluid present)
Definition at line 44 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
Nodal fluid saturation.
Definition at line 83 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
Old value of fluid saturation.
Definition at line 86 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
The nearest qp to the node.
Definition at line 62 of file PorousFlowEnergyTimeDerivative.h.
|
protected |
Number of fluid phases.
Definition at line 41 of file PorousFlowEnergyTimeDerivative.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 50 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Old value of porosity.
Definition at line 53 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpResidual().
|
protected |
Nodal rock energy density.
Definition at line 65 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Old value of nodal rock energy density.
Definition at line 68 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpResidual().
|
protected |
Whether the porosity uses the volumetric strain at the closest quadpoint.
Definition at line 47 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJac().
|
protected |
Whether the Variable for this Kernel is a PorousFlow variable according to the Dictator.
Definition at line 38 of file PorousFlowEnergyTimeDerivative.h.
Referenced by computeQpJacobian().