www.mooseframework.org
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
HomogenizedThermalConductivity Class Reference

Homogenization of Temperature-Dependent Thermal Conductivity in Composite Materials, Journal of Thermophysics and Heat Transfer, Vol. More...

#include <HomogenizedThermalConductivity.h>

Inheritance diagram for HomogenizedThermalConductivity:
[legend]

Public Member Functions

 HomogenizedThermalConductivity (const InputParameters &parameters)
 
virtual void initialize ()
 
virtual void execute ()
 
virtual Real getValue ()
 
virtual void threadJoin (const UserObject &y)
 

Protected Member Functions

virtual Real computeQpIntegral ()
 

Private Attributes

const VariableGradient & _grad_temp_x
 
const VariableGradient & _grad_temp_y
 
const VariableGradient & _grad_temp_z
 
const unsigned int _component
 
const MaterialProperty< Real > & _diffusion_coefficient
 
Real _volume
 
Real _integral_value
 
const Real _scale
 

Detailed Description

Homogenization of Temperature-Dependent Thermal Conductivity in Composite Materials, Journal of Thermophysics and Heat Transfer, Vol.

15, No. 1, January-March 2001.

Definition at line 17 of file HomogenizedThermalConductivity.h.

Constructor & Destructor Documentation

HomogenizedThermalConductivity::HomogenizedThermalConductivity ( const InputParameters &  parameters)

Definition at line 31 of file HomogenizedThermalConductivity.C.

32  : ElementAverageValue(parameters),
33  _grad_temp_x(coupledGradient("temp_x")),
34  _grad_temp_y(_subproblem.mesh().dimension() >= 2 ? coupledGradient("temp_y") : _grad_zero),
35  _grad_temp_z(_subproblem.mesh().dimension() == 3 ? coupledGradient("temp_z") : _grad_zero),
36  _component(getParam<unsigned int>("component")),
37  _diffusion_coefficient(getMaterialProperty<Real>("diffusion_coefficient")),
38  _scale(getParam<Real>("scale_factor"))
39 {
40 }
const MaterialProperty< Real > & _diffusion_coefficient

Member Function Documentation

Real HomogenizedThermalConductivity::computeQpIntegral ( )
protectedvirtual

Definition at line 76 of file HomogenizedThermalConductivity.C.

77 {
78  Real value = 1.0;
79 
80  switch (_component)
81  {
82  case 0:
83  value += _grad_temp_x[_qp](0);
84  break;
85 
86  case 1:
87  value += _grad_temp_y[_qp](1);
88  break;
89 
90  case 2:
91  value += _grad_temp_z[_qp](2);
92  break;
93 
94  default:
95  mooseError("Internal error.");
96  }
97 
98  return _scale * _diffusion_coefficient[_qp] * value;
99 }
const MaterialProperty< Real > & _diffusion_coefficient
void HomogenizedThermalConductivity::execute ( )
virtual

Definition at line 50 of file HomogenizedThermalConductivity.C.

51 {
52  _integral_value += computeIntegral();
53  _volume += _current_elem_volume;
54 }
Real HomogenizedThermalConductivity::getValue ( )
virtual

Definition at line 57 of file HomogenizedThermalConductivity.C.

void HomogenizedThermalConductivity::initialize ( )
virtual
void HomogenizedThermalConductivity::threadJoin ( const UserObject &  y)
virtual

Definition at line 66 of file HomogenizedThermalConductivity.C.

67 {
68  const HomogenizedThermalConductivity & pps =
69  dynamic_cast<const HomogenizedThermalConductivity &>(y);
70 
72  _volume += pps._volume;
73 }
Homogenization of Temperature-Dependent Thermal Conductivity in Composite Materials, Journal of Thermophysics and Heat Transfer, Vol.

Member Data Documentation

const unsigned int HomogenizedThermalConductivity::_component
private

Definition at line 34 of file HomogenizedThermalConductivity.h.

Referenced by computeQpIntegral().

const MaterialProperty<Real>& HomogenizedThermalConductivity::_diffusion_coefficient
private

Definition at line 35 of file HomogenizedThermalConductivity.h.

Referenced by computeQpIntegral().

const VariableGradient& HomogenizedThermalConductivity::_grad_temp_x
private

Definition at line 31 of file HomogenizedThermalConductivity.h.

Referenced by computeQpIntegral().

const VariableGradient& HomogenizedThermalConductivity::_grad_temp_y
private

Definition at line 32 of file HomogenizedThermalConductivity.h.

Referenced by computeQpIntegral().

const VariableGradient& HomogenizedThermalConductivity::_grad_temp_z
private

Definition at line 33 of file HomogenizedThermalConductivity.h.

Referenced by computeQpIntegral().

Real HomogenizedThermalConductivity::_integral_value
private

Definition at line 37 of file HomogenizedThermalConductivity.h.

Referenced by execute(), getValue(), initialize(), and threadJoin().

const Real HomogenizedThermalConductivity::_scale
private

Definition at line 38 of file HomogenizedThermalConductivity.h.

Referenced by computeQpIntegral().

Real HomogenizedThermalConductivity::_volume
private

Definition at line 36 of file HomogenizedThermalConductivity.h.

Referenced by execute(), getValue(), initialize(), and threadJoin().


The documentation for this class was generated from the following files: