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

#include <ADThermoDiffusion.h>

Inheritance diagram for ADThermoDiffusion< compute_stage >:
[legend]

Public Member Functions

 ADThermoDiffusion (const InputParameters &parameters)
 

Protected Member Functions

virtual ADResidual computeQpResidual () override
 
const ADMaterialProperty (Real) &_soret_coeff
 

Protected Attributes

const ADVariableGradient & _grad_temp
 
 usingKernelMembers
 

Detailed Description

template<ComputeStage compute_stage>
class ADThermoDiffusion< compute_stage >

Definition at line 15 of file ADThermoDiffusion.h.

Constructor & Destructor Documentation

◆ ADThermoDiffusion()

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

Definition at line 25 of file ADThermoDiffusion.C.

26  : ADKernel<compute_stage>(parameters),
27  _grad_temp(adCoupledGradient("temperature")),
28  _soret_coeff(adGetADMaterialProperty<Real>("soret_coefficient"))
29 {
30 }
const ADVariableGradient & _grad_temp

Member Function Documentation

◆ ADMaterialProperty()

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

◆ computeQpResidual()

template<ComputeStage compute_stage>
ADResidual ADThermoDiffusion< compute_stage >::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 34 of file ADThermoDiffusion.C.

35 {
36  return _soret_coeff[_qp] * _grad_temp[_qp] * _grad_test[_i][_qp];
37 }
const ADVariableGradient & _grad_temp

Member Data Documentation

◆ _grad_temp

template<ComputeStage compute_stage>
const ADVariableGradient& ADThermoDiffusion< compute_stage >::_grad_temp
protected

Definition at line 28 of file ADThermoDiffusion.h.

◆ usingKernelMembers

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

Definition at line 31 of file ADThermoDiffusion.h.


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