www.mooseframework.org
SpecificHeatConductionTimeDerivative.h
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 #ifndef SPECIFICHEATCONDUCTIONTIMEDERIVATIVE_H
8 #define SPECIFICHEATCONDUCTIONTIMEDERIVATIVE_H
9 
10 // MOOSE includes
11 #include "TimeDerivative.h"
12 #include "JvarMapInterface.h"
13 #include "DerivativeMaterialInterface.h"
14 
15 // Forward Declarations
17 
18 template <>
20 
30  : public DerivativeMaterialInterface<JvarMapKernelInterface<TimeDerivative>>
31 {
32 public:
33  SpecificHeatConductionTimeDerivative(const InputParameters & parameters);
34 
35 protected:
36  virtual Real computeQpResidual() override;
37  virtual Real computeQpJacobian() override;
38  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
39 
41  const MaterialProperty<Real> & _specific_heat;
42  const MaterialProperty<Real> & _d_specific_heat_dT;
43  std::vector<const MaterialProperty<Real> *> _d_specific_heat_dargs;
45 
47  const MaterialProperty<Real> & _density;
48  const MaterialProperty<Real> & _d_density_dT;
49  std::vector<const MaterialProperty<Real> *> _d_density_dargs;
51 };
52 
53 #endif // SPECIFICHEATCONDUCTIONTIMEDERIVATIVE_H
std::vector< const MaterialProperty< Real > * > _d_density_dargs
const MaterialProperty< Real > & _density
Density and its derivatives with respect to temperature and other coupled variables.
InputParameters validParams< SpecificHeatConductionTimeDerivative >()
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
std::vector< const MaterialProperty< Real > * > _d_specific_heat_dargs
const MaterialProperty< Real > & _specific_heat
Specific heat and its derivatives with respect to temperature and other coupled variables.
SpecificHeatConductionTimeDerivative(const InputParameters &parameters)
A class for defining the time derivative of the heat equation.