www.mooseframework.org
HeatConductionBC.C
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 #include "HeatConductionBC.h"
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<FluxBC>();
14 
15  return params;
16 }
17 
18 HeatConductionBC::HeatConductionBC(const InputParameters & parameters)
19  : FluxBC(parameters), _k(getMaterialProperty<Real>("thermal_conductivity"))
20 {
21 }
22 
24 
25 RealGradient
27 {
28  return -_k[_qp] * _grad_u[_qp];
29 }
30 
31 RealGradient
33 {
34  return -_k[_qp] * _grad_phi[_j][_qp];
35 }
virtual RealGradient computeQpFluxResidual()
virtual ~HeatConductionBC()
HeatConductionBC(const InputParameters &parameters)
virtual RealGradient computeQpFluxJacobian()
const MaterialProperty< Real > & _k
InputParameters validParams< HeatConductionBC >()