www.mooseframework.org
PoroMechanicsCoupling.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Kernel.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<PoroMechanicsCoupling>();
19 
23 class PoroMechanicsCoupling : public Kernel
24 {
25 public:
26  static InputParameters validParams();
27 
28  PoroMechanicsCoupling(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpResidual();
32 
33  virtual Real computeQpJacobian();
34 
35  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
36 
37 private:
39  const MaterialProperty<Real> & _coefficient;
40 
41  const VariableValue & _porepressure;
42 
43  unsigned int _porepressure_var_num;
44 
45  unsigned int _component;
46 };
PoroMechanicsCoupling::computeQpJacobian
virtual Real computeQpJacobian()
Definition: PoroMechanicsCoupling.C:51
PoroMechanicsCoupling
PoroMechanicsCoupling computes -coefficient*porepressure*grad_test[component].
Definition: PoroMechanicsCoupling.h:23
PoroMechanicsCoupling::_porepressure_var_num
unsigned int _porepressure_var_num
Definition: PoroMechanicsCoupling.h:43
validParams< PoroMechanicsCoupling >
InputParameters validParams< PoroMechanicsCoupling >()
PoroMechanicsCoupling::computeQpResidual
virtual Real computeQpResidual()
Definition: PoroMechanicsCoupling.C:45
PoroMechanicsCoupling::_component
unsigned int _component
Definition: PoroMechanicsCoupling.h:45
PoroMechanicsCoupling::_coefficient
const MaterialProperty< Real > & _coefficient
Biot coefficient.
Definition: PoroMechanicsCoupling.h:39
PoroMechanicsCoupling::PoroMechanicsCoupling
PoroMechanicsCoupling(const InputParameters &parameters)
Definition: PoroMechanicsCoupling.C:33
PoroMechanicsCoupling::_porepressure
const VariableValue & _porepressure
Definition: PoroMechanicsCoupling.h:41
PoroMechanicsCoupling::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: PoroMechanicsCoupling.C:59
PoroMechanicsCoupling::validParams
static InputParameters validParams()
Definition: PoroMechanicsCoupling.C:22