www.mooseframework.org
PorousFlowEffectiveStressCoupling.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef POROUSFLOWEFFECTIVESTRESSCOUPLING_H
8 #define POROUSFLOWEFFECTIVESTRESSCOUPLING_H
9 
10 #include "Kernel.h"
11 #include "PorousFlowDictator.h"
12 
13 // Forward Declarations
15 
16 template <>
18 
25 class PorousFlowEffectiveStressCoupling : public Kernel
26 {
27 public:
28  PorousFlowEffectiveStressCoupling(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpResidual() override;
32  virtual Real computeQpJacobian() override;
33  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
34 
37 
39  const Real _coefficient;
40 
42  const unsigned int _component;
43 
45  const MaterialProperty<Real> & _pf;
46 
48  const MaterialProperty<std::vector<Real>> & _dpf_dvar;
49 
51  const bool _rz;
52 };
53 
54 #endif // POROUSFLOWEFFECTIVESTRESSCOUPLING_H
PorousFlowEffectiveStressCoupling computes -coefficient*effective_porepressure*grad_component(test) w...
const MaterialProperty< Real > & _pf
effective porepressure
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const PorousFlowDictator & _dictator
The Porous-Flow dictator that holds global info about the simulation.
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
InputParameters validParams< PorousFlowEffectiveStressCoupling >()
const unsigned int _component
the spatial component
PorousFlowEffectiveStressCoupling(const InputParameters &parameters)
const MaterialProperty< std::vector< Real > > & _dpf_dvar
d(effective porepressure)/(d porflow variable)
const bool _rz
Whether an RZ coordinate system is being used.