https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
27class JouleHeatingSource : public DerivativeMaterialInterface<JvarMapKernelInterface<HeatSource>>
28{
29public:
31
32 JouleHeatingSource(const InputParameters & parameters);
33 virtual void initialSetup();
34
35protected:
36 virtual Real computeQpResidual();
37 virtual Real computeQpJacobian();
38 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
39
40private:
42 const unsigned int _elec_var;
43
46 std::vector<const MaterialProperty<Real> *> _delec_cond_darg;
47};
NOTE: The non-AD version of JouleHeatingSource will be deprecated in the near future (10/01/2025) in ...
virtual void initialSetup()
const unsigned int _elec_var
const MaterialProperty< Real > & _elec_cond
std::vector< const MaterialProperty< Real > * > _delec_cond_darg
const MaterialProperty< Real > & _delec_cond_dT
const VariableGradient & _grad_elec
static InputParameters validParams()
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
VariableGradientTempl< false > VariableGradient