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

Solves chemical potential in a weak sense (mu-mu_prop=0). More...

#include <ADCHSplitChemicalPotential.h>

Inheritance diagram for ADCHSplitChemicalPotential< compute_stage >:
[legend]

Public Member Functions

 ADCHSplitChemicalPotential (const InputParameters &parameters)
 

Protected Member Functions

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

Protected Attributes

 usingKernelMembers
 

Detailed Description

template<ComputeStage compute_stage>
class ADCHSplitChemicalPotential< compute_stage >

Solves chemical potential in a weak sense (mu-mu_prop=0).

Can be coupled to Cahn-Hilliard equation to solve species diffusion. Allows spatial derivative of chemical potential when coupled to material state such as stress, etc. Can be used to model species diffusion mediated creep

Definition at line 16 of file ADCHSplitChemicalPotential.h.

Constructor & Destructor Documentation

◆ ADCHSplitChemicalPotential()

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

Definition at line 23 of file ADCHSplitChemicalPotential.C.

25  : ADKernel<compute_stage>(parameters),
26  _chemical_potential(getADMaterialProperty<Real>("chemical_potential"))
27 {
28 }

Member Function Documentation

◆ ADMaterialProperty()

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

◆ computeQpResidual()

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

Definition at line 32 of file ADCHSplitChemicalPotential.C.

33 {
34  return _test[_i][_qp] * (_u[_qp] - _chemical_potential[_qp]);
35 }

Member Data Documentation

◆ usingKernelMembers

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

Definition at line 38 of file ADCHSplitChemicalPotential.h.


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