www.mooseframework.org
phase_field
include
kernels
ADCHSoretMobility.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
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 "ADKernel.h"
13
14
// Forward Declaration
15
template
<ComputeStage>
16
class
ADCHSoretMobility
;
17
18
declareADValidParams
(
ADCHSoretMobility
);
19
23
template
<ComputeStage compute_stage>
24
class
ADCHSoretMobility
:
public
ADKernel<compute_stage>
25
{
26
public
:
27
ADCHSoretMobility
(
const
InputParameters & parameters);
28
29
protected
:
30
virtual
ADReal
computeQpResidual
();
31
32
// temperature variable
33
const
ADVariableValue &
_T
;
34
35
// Temperature variable gradient
36
const
ADVariableGradient &
_grad_T
;
37
38
// Mobility property name
39
const
ADMaterialProperty
(Real) & _mobility;
40
41
usingKernelMembers
;
42
};
ADCHSoretMobility::_T
const ADVariableValue & _T
Definition:
ADCHSoretMobility.h:33
ADCHSoretMobility::computeQpResidual
virtual ADReal computeQpResidual()
Definition:
ADCHSoretMobility.C:34
ADCHSoretMobility::ADCHSoretMobility
ADCHSoretMobility(const InputParameters ¶meters)
Definition:
ADCHSoretMobility.C:24
ADCHSoretMobility::_grad_T
const ADVariableGradient & _grad_T
Definition:
ADCHSoretMobility.h:36
declareADValidParams
declareADValidParams(ADCHSoretMobility)
ADCHSoretMobility
Adds contribution due to thermo-migration to the Cahn-Hilliard equation.
Definition:
ADCHSoretMobility.h:16
ADCHSoretMobility::usingKernelMembers
usingKernelMembers
Definition:
ADCHSoretMobility.h:41
ADCHSoretMobility::ADMaterialProperty
const ADMaterialProperty(Real) &_mobility
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16