www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
JouleHeatingHeatGeneratedAux Class Reference

Auxiliary kernel for computing the heat generated from Joule heating. More...

#include <JouleHeatingHeatGeneratedAux.h>

Inheritance diagram for JouleHeatingHeatGeneratedAux:
[legend]

Public Member Functions

 JouleHeatingHeatGeneratedAux (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

const VariableGradient & _grad_elec
 
const MaterialProperty< Real > & _elec_cond
 

Detailed Description

Auxiliary kernel for computing the heat generated from Joule heating.

Definition at line 23 of file JouleHeatingHeatGeneratedAux.h.

Constructor & Destructor Documentation

◆ JouleHeatingHeatGeneratedAux()

JouleHeatingHeatGeneratedAux::JouleHeatingHeatGeneratedAux ( const InputParameters &  parameters)

Definition at line 29 of file JouleHeatingHeatGeneratedAux.C.

30  : AuxKernel(parameters),
31  _grad_elec(coupledGradient("elec")),
32  // _elec_var(coupled("elec")),
33  _elec_cond(getMaterialProperty<Real>("electrical_conductivity"))
34 {
35 }
const MaterialProperty< Real > & _elec_cond

Member Function Documentation

◆ computeValue()

Real JouleHeatingHeatGeneratedAux::computeValue ( )
protectedvirtual

Definition at line 38 of file JouleHeatingHeatGeneratedAux.C.

39 {
40  return _elec_cond[_qp] * _grad_elec[_qp] * _grad_elec[_qp];
41 }
const MaterialProperty< Real > & _elec_cond

Member Data Documentation

◆ _elec_cond

const MaterialProperty<Real>& JouleHeatingHeatGeneratedAux::_elec_cond
protected

Definition at line 32 of file JouleHeatingHeatGeneratedAux.h.

Referenced by computeValue().

◆ _grad_elec

const VariableGradient& JouleHeatingHeatGeneratedAux::_grad_elec
protected

Definition at line 31 of file JouleHeatingHeatGeneratedAux.h.

Referenced by computeValue().


The documentation for this class was generated from the following files: