https://mooseframework.inl.gov
PorousFlowEffectiveStressCoupling.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 "GenericKernel.h"
13 #include "PorousFlowDictator.h"
14 
23 template <bool is_ad>
25 {
26 public:
28 
30 
31 protected:
32  virtual GenericReal<is_ad> computeQpResidual() override;
33  virtual Real computeQpJacobian() override;
34  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
35 
38 
41 
43  const unsigned int _component;
44 
47 
50 
52  const bool _rz;
53 
55 };
56 
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowEffectiveStressCouplingTempl< false > PorousFlowEffectiveStressCoupling
const GenericMaterialProperty< Real, is_ad > & _pf
Effective porepressure.
const bool _rz
Whether an RZ coordinate system is being used.
PorousFlowEffectiveStressCouplingTempl(const InputParameters &parameters)
const InputParameters & parameters() const
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
const PorousFlowDictator & _dictator
The PorousFlow dictator that holds global info about the simulation.
virtual GenericReal< is_ad > computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
PorousFlowEffectiveStressCoupling computes -coefficient*effective_porepressure*grad_component(test) w...
const unsigned int _component
The spatial component.
const MaterialProperty< std::vector< Real > > *const _dpf_dvar
d(effective porepressure)/(d porflow variable) – null for AD
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
PorousFlowEffectiveStressCouplingTempl< true > ADPorousFlowEffectiveStressCoupling