https://mooseframework.inl.gov
Loading...
Searching...
No Matches
HomogenizedHeatConduction.C
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
11
13
16{
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
38Real
40{
41 // Compute positive value since we are computing a residual not a rhs
43}
registerMooseObject("HeatTransferApp", HomogenizedHeatConduction)
void ErrorVector unsigned int
Homogenization of Temperature-Dependent Thermal Conductivity in Composite Materials,...
HomogenizedHeatConduction(const InputParameters &parameters)
static InputParameters validParams()
const MaterialProperty< Real > & _diffusion_coefficient
void addRequiredRangeCheckedParam(const std::string &name, const std::string &parsed_function, const std::string &doc_string)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
unsigned int _i
static InputParameters validParams()
const VariableTestGradient & _grad_test