www.mooseframework.org
PorousFlowHeatConduction.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 
8 #ifndef POROUSFLOWHEATCONDUCTION_H
9 #define POROUSFLOWHEATCONDUCTION_H
10 
11 #include "Kernel.h"
12 #include "PorousFlowDictator.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
23 class PorousFlowHeatConduction : public Kernel
24 {
25 public:
26  PorousFlowHeatConduction(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual() override;
30  virtual Real computeQpJacobian() override;
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
32 
35 
37  const MaterialProperty<RealTensorValue> & _la;
38 
40  const MaterialProperty<std::vector<RealTensorValue>> & _dla_dvar;
41 
43  const MaterialProperty<RealGradient> & _grad_t;
44 
46  const MaterialProperty<std::vector<RealGradient>> & _dgrad_t_dvar;
47 
49  const MaterialProperty<std::vector<Real>> & _dgrad_t_dgradvar;
50 };
51 
52 #endif // POROUSFLOWHEATCONDUCTION_H
PorousFlowHeatConduction(const InputParameters &parameters)
Kernel = grad(test) * thermal_conductivity * grad(temperature)
const MaterialProperty< std::vector< Real > > & _dgrad_t_dgradvar
d(gradT)/d(grad PorousFlow variable)
const MaterialProperty< RealGradient > & _grad_t
grad(temperature)
const MaterialProperty< RealTensorValue > & _la
thermal conductivity at the quadpoints
InputParameters validParams< PorousFlowHeatConduction >()
const MaterialProperty< std::vector< RealGradient > > & _dgrad_t_dvar
d(gradT)/d(PorousFlow variable)
const MaterialProperty< std::vector< RealTensorValue > > & _dla_dvar
d(thermal conductivity at the quadpoints)/d(PorousFlow variable)
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const PorousFlowDictator & _dictator
holds info on the PorousFlow variables
virtual Real computeQpResidual() override
virtual Real computeQpJacobian() override