www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ADCHSoretMobility< compute_stage > Class Template Reference

Adds contribution due to thermo-migration to the Cahn-Hilliard equation. More...

#include <ADCHSoretMobility.h>

Inheritance diagram for ADCHSoretMobility< compute_stage >:
[legend]

Public Member Functions

 ADCHSoretMobility (const InputParameters &parameters)
 

Protected Member Functions

virtual ADReal computeQpResidual ()
 
const ADMaterialProperty (Real) &_mobility
 

Protected Attributes

const ADVariableValue & _T
 
const ADVariableGradient & _grad_T
 
 usingKernelMembers
 

Detailed Description

template<ComputeStage compute_stage>
class ADCHSoretMobility< compute_stage >

Adds contribution due to thermo-migration to the Cahn-Hilliard equation.

Definition at line 16 of file ADCHSoretMobility.h.

Constructor & Destructor Documentation

◆ ADCHSoretMobility()

template<ComputeStage compute_stage>
ADCHSoretMobility< compute_stage >::ADCHSoretMobility ( const InputParameters &  parameters)

Definition at line 24 of file ADCHSoretMobility.C.

25  : ADKernel<compute_stage>(parameters),
26  _T(adCoupledValue("T")),
27  _grad_T(adCoupledGradient("T")),
28  _mobility(getADMaterialProperty<Real>("mobility"))
29 {
30 }

Member Function Documentation

◆ ADMaterialProperty()

template<ComputeStage compute_stage>
const ADCHSoretMobility< compute_stage >::ADMaterialProperty ( Real  ) &
protected

◆ computeQpResidual()

template<ComputeStage compute_stage>
ADReal ADCHSoretMobility< compute_stage >::computeQpResidual ( )
protectedvirtual

Definition at line 34 of file ADCHSoretMobility.C.

35 {
36  return _mobility[_qp] * _grad_T[_qp] / _T[_qp] * _grad_test[_i][_qp];
37 }

Member Data Documentation

◆ _grad_T

template<ComputeStage compute_stage>
const ADVariableGradient& ADCHSoretMobility< compute_stage >::_grad_T
protected

Definition at line 36 of file ADCHSoretMobility.h.

◆ _T

template<ComputeStage compute_stage>
const ADVariableValue& ADCHSoretMobility< compute_stage >::_T
protected

Definition at line 33 of file ADCHSoretMobility.h.

◆ usingKernelMembers

template<ComputeStage compute_stage>
ADCHSoretMobility< compute_stage >::usingKernelMembers
protected

Definition at line 41 of file ADCHSoretMobility.h.


The documentation for this class was generated from the following files:
ADCHSoretMobility::_T
const ADVariableValue & _T
Definition: ADCHSoretMobility.h:33
ADCHSoretMobility::_grad_T
const ADVariableGradient & _grad_T
Definition: ADCHSoretMobility.h:36