https://mooseframework.inl.gov
JouleHeatingSource.h
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 
10 #pragma once
11 
12 #include "HeatSource.h"
13 #include "JvarMapInterface.h"
15 
27 class JouleHeatingSource : public DerivativeMaterialInterface<JvarMapKernelInterface<HeatSource>>
28 {
29 public:
31 
32  JouleHeatingSource(const InputParameters & parameters);
33  virtual void initialSetup();
34 
35 protected:
36  virtual Real computeQpResidual();
37  virtual Real computeQpJacobian();
38  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
39 
40 private:
42  const unsigned int _elec_var;
43 
46  std::vector<const MaterialProperty<Real> *> _delec_cond_darg;
47 };
OutputTools< Real >::VariableGradient VariableGradient
JouleHeatingSource(const InputParameters &parameters)
const VariableGradient & _grad_elec
virtual void initialSetup()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _delec_cond_dT
const MaterialProperty< Real > & _elec_cond
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
const unsigned int _elec_var
static InputParameters validParams()
NOTE: The non-AD version of JouleHeatingSource will be deprecated in the near future (10/01/2025) in ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< const MaterialProperty< Real > * > _delec_cond_darg