www.mooseframework.org
PorousFlowEffectiveStressCoupling.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 #include "PorousFlowDictator.h"
14 
16 
17 template <>
19 
26 class PorousFlowEffectiveStressCoupling : public Kernel
27 {
28 public:
29  PorousFlowEffectiveStressCoupling(const InputParameters & parameters);
30 
31 protected:
32  virtual Real computeQpResidual() override;
33  virtual Real computeQpJacobian() override;
34  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
35 
38 
40  const Real _coefficient;
41 
43  const unsigned int _component;
44 
46  const MaterialProperty<Real> & _pf;
47 
49  const MaterialProperty<std::vector<Real>> & _dpf_dvar;
50 
52  const bool _rz;
53 };
54 
PorousFlowDictator.h
PorousFlowEffectiveStressCoupling
PorousFlowEffectiveStressCoupling computes -coefficient*effective_porepressure*grad_component(test) w...
Definition: PorousFlowEffectiveStressCoupling.h:26
PorousFlowEffectiveStressCoupling::_pf
const MaterialProperty< Real > & _pf
Effective porepressure.
Definition: PorousFlowEffectiveStressCoupling.h:46
PorousFlowEffectiveStressCoupling::_rz
const bool _rz
Whether an RZ coordinate system is being used.
Definition: PorousFlowEffectiveStressCoupling.h:52
PorousFlowDictator
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
Definition: PorousFlowDictator.h:71
validParams< PorousFlowEffectiveStressCoupling >
InputParameters validParams< PorousFlowEffectiveStressCoupling >()
Definition: PorousFlowEffectiveStressCoupling.C:20
PorousFlowEffectiveStressCoupling::_component
const unsigned int _component
The spatial component.
Definition: PorousFlowEffectiveStressCoupling.h:43
PorousFlowEffectiveStressCoupling::PorousFlowEffectiveStressCoupling
PorousFlowEffectiveStressCoupling(const InputParameters &parameters)
Definition: PorousFlowEffectiveStressCoupling.C:34
PorousFlowEffectiveStressCoupling::computeQpJacobian
virtual Real computeQpJacobian() override
Definition: PorousFlowEffectiveStressCoupling.C:58
PorousFlowEffectiveStressCoupling::_coefficient
const Real _coefficient
Biot coefficient.
Definition: PorousFlowEffectiveStressCoupling.h:40
PorousFlowEffectiveStressCoupling::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition: PorousFlowEffectiveStressCoupling.C:70
PorousFlowEffectiveStressCoupling::_dictator
const PorousFlowDictator & _dictator
The PorousFlow dictator that holds global info about the simulation.
Definition: PorousFlowEffectiveStressCoupling.h:37
PorousFlowEffectiveStressCoupling::_dpf_dvar
const MaterialProperty< std::vector< Real > > & _dpf_dvar
d(effective porepressure)/(d porflow variable)
Definition: PorousFlowEffectiveStressCoupling.h:49
PorousFlowEffectiveStressCoupling::computeQpResidual
virtual Real computeQpResidual() override
Definition: PorousFlowEffectiveStressCoupling.C:50