www.mooseframework.org
ElectricalConductivity.h
Go to the documentation of this file.
1 #ifndef ELECTRICALCONDUCTIVITY_H
2 #define ELECTRICALCONDUCTIVITY_H
3 
4 #include "Material.h"
5 #include "DerivativeMaterialInterface.h"
6 
7 // Forward Declarations
9 
10 template <>
11 InputParameters validParams<ElectricalConductivity>();
12 
17 class ElectricalConductivity : public DerivativeMaterialInterface<Material>
18 {
19 public:
20  ElectricalConductivity(const InputParameters & parameters);
21 
22 protected:
23  virtual void computeQpProperties();
24 
25 private:
26  const Real _length_scale;
27  const Real _ref_resis;
28  const Real _temp_coeff;
29  const Real _ref_temp;
30  const VariableValue & _T;
31 
32  std::string _base_name;
33  MaterialProperty<Real> & _electric_conductivity;
34  MaterialProperty<Real> & _delectric_conductivity_dT;
35 };
36 
37 #endif // ELECTRICALCONDUCTIVITY_H
MaterialProperty< Real > & _delectric_conductivity_dT
InputParameters validParams< ElectricalConductivity >()
MaterialProperty< Real > & _electric_conductivity
ElectricalConductivity(const InputParameters &parameters)
Calculates resistivity and electrical conductivity as a function of temperature.
const VariableValue & _T