https://mooseframework.inl.gov
ADJouleHeatingSource.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 "ADKernelValue.h"
13 
43 {
44 public:
46 
48 
49 protected:
50  virtual ADReal precomputeQpResidual() override;
51 
52 private:
54  const bool _supplied_potential;
61 };
static InputParameters validParams()
const ADVariableGradient & _grad_potential
Gradient of the coupled potential.
DualNumber< Real, DNDerivativeType, true > ADReal
const bool _supplied_potential
Set to true when an electrostatic potential is provided.
virtual ADReal precomputeQpResidual() override
const ADMaterialProperty< Real > & _heating_residual
The Joule heating residual provided as a material object.
This kernel supplies the heat source term corresponding to Joule heating (Q).
ADJouleHeatingSource(const InputParameters &parameters)
const ADMaterialProperty< Real > & _elec_cond
Electric conductivity coefficient.
const InputParameters & parameters() const