www.mooseframework.org
HeatConduction.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 "Diffusion.h"
13 #include "Material.h"
14 
15 // Forward Declarations
17 
18 template <>
19 InputParameters validParams<HeatConductionKernel>();
20 
27 class HeatConductionKernel : public Diffusion
28 {
29 public:
30  static InputParameters validParams();
31 
32  HeatConductionKernel(const InputParameters & parameters);
33 
34 protected:
35  virtual Real computeQpResidual();
36 
37  virtual Real computeQpJacobian();
38 
39 private:
40  const MaterialProperty<Real> & _diffusion_coefficient;
41  const MaterialProperty<Real> * const _diffusion_coefficient_dT;
42 };
43 
HeatConductionKernel::HeatConductionKernel
HeatConductionKernel(const InputParameters &parameters)
Definition: HeatConduction.C:36
validParams< HeatConductionKernel >
InputParameters validParams< HeatConductionKernel >()
HeatConductionKernel::validParams
static InputParameters validParams()
Definition: HeatConduction.C:18
HeatConductionKernel::computeQpJacobian
virtual Real computeQpJacobian()
Definition: HeatConduction.C:52
HeatConductionKernel
Note: This class is named HeatConductionKernel instead of HeatConduction to avoid a clash with the He...
Definition: HeatConduction.h:27
HeatConductionKernel::_diffusion_coefficient_dT
const MaterialProperty< Real > *const _diffusion_coefficient_dT
Definition: HeatConduction.h:41
HeatConductionKernel::_diffusion_coefficient
const MaterialProperty< Real > & _diffusion_coefficient
Definition: HeatConduction.h:40
HeatConductionKernel::computeQpResidual
virtual Real computeQpResidual()
Definition: HeatConduction.C:46