https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
23template <bool is_ad>
25{
26public:
28
30
31protected:
32 virtual GenericReal<is_ad> 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
47
50
52 const bool _rz;
53
55};
56
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowEffectiveStressCouplingTempl< false > PorousFlowEffectiveStressCoupling
PorousFlowEffectiveStressCouplingTempl< true > ADPorousFlowEffectiveStressCoupling
const InputParameters & parameters() const
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 bool _rz
Whether an RZ coordinate system is being used.
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
virtual GenericReal< is_ad > computeQpResidual() override
const MaterialProperty< std::vector< Real > > *const _dpf_dvar
d(effective porepressure)/(d porflow variable) – null for AD
const unsigned int _component
The spatial component.
const PorousFlowDictator & _dictator
The PorousFlow dictator that holds global info about the simulation.
const GenericMaterialProperty< Real, is_ad > & _pf
Effective porepressure.