www.mooseframework.org
PoroMechanicsCoupling.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 POROMECHANICSCOUPLING_H
8 #define POROMECHANICSCOUPLING_H
9 
10 #include "Kernel.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<PoroMechanicsCoupling>();
17 
21 class PoroMechanicsCoupling : public Kernel
22 {
23 public:
24  PoroMechanicsCoupling(const InputParameters & parameters);
25 
26 protected:
27  virtual Real computeQpResidual();
28 
29  virtual Real computeQpJacobian();
30 
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
32 
33 private:
35  const MaterialProperty<Real> & _coefficient;
36 
37  const VariableValue & _porepressure;
38 
39  unsigned int _porepressure_var_num;
40 
41  unsigned int _component;
42 };
43 
44 #endif // POROMECHANICSCOUPLING_H
PoroMechanicsCoupling(const InputParameters &parameters)
const VariableValue & _porepressure
virtual Real computeQpResidual()
InputParameters validParams< PoroMechanicsCoupling >()
const MaterialProperty< Real > & _coefficient
Biot coefficient.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeQpJacobian()
PoroMechanicsCoupling computes -coefficient*porepressure*grad_test[component].