www.mooseframework.org
HomogenizedHeatConduction.C
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 
11 
13 
16 {
18  params.addClassDescription(
19  "Kernel for asymptotic expansion homogenization for thermal conductivity");
20  params.addParam<MaterialPropertyName>("diffusion_coefficient",
21  "thermal_conductivity",
22  "The diffusion coefficient for the temperature gradient");
23  params.addRequiredRangeCheckedParam<unsigned int>(
24  "component",
25  "component < 3",
26  "An integer corresponding to the direction the variable this "
27  "kernel acts in. (0 for x, 1 for y, 2 for z)");
28  return params;
29 }
30 
32  : Kernel(parameters),
33  _diffusion_coefficient(getMaterialProperty<Real>("diffusion_coefficient")),
34  _component(getParam<unsigned int>("component"))
35 {
36 }
37 
38 Real
40 {
41  // Compute positive value since we are computing a residual not a rhs
43 }
void addRequiredRangeCheckedParam(const std::string &name, const std::string &parsed_function, const std::string &doc_string)
static InputParameters validParams()
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
HomogenizedHeatConduction(const InputParameters &parameters)
const MaterialProperty< Real > & _diffusion_coefficient
Homogenization of Temperature-Dependent Thermal Conductivity in Composite Materials, Journal of Thermophysics and Heat Transfer, Vol.
registerMooseObject("HeatTransferApp", HomogenizedHeatConduction)
unsigned int _i
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableTestGradient & _grad_test
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
void ErrorVector unsigned int
unsigned int _qp