StressBasedChemicalPotential computes chemical potential based on stress and a direction tensor Forest et.
More...
#include <StressBasedChemicalPotential.h>
StressBasedChemicalPotential computes chemical potential based on stress and a direction tensor Forest et.
al. MSMSE 2015
Definition at line 26 of file StressBasedChemicalPotential.h.
◆ StressBasedChemicalPotential()
StressBasedChemicalPotential::StressBasedChemicalPotential |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 31 of file StressBasedChemicalPotential.C.
32 : DerivativeMaterialInterface<Material>(parameters),
33 _chemical_potential(declareProperty<Real>(getParam<MaterialPropertyName>(
"property_name"))),
34 _stress_old(getMaterialPropertyOld<RankTwoTensor>(
"stress_name")),
36 _prefactor(getMaterialProperty<Real>(
"prefactor_name")),
42 getParam<MaterialPropertyName>(
"property_name"), getVar(
"c", 0)->
name());
43 _dprefactor_dc = &getMaterialPropertyDerivative<Real>(
"prefactor_name", getVar(
"c", 0)->
name());
◆ computeQpProperties()
void StressBasedChemicalPotential::computeQpProperties |
( |
| ) |
|
|
protectedvirtual |
◆ initQpStatefulProperties()
void StressBasedChemicalPotential::initQpStatefulProperties |
( |
| ) |
|
|
protectedvirtual |
◆ validParams()
InputParameters StressBasedChemicalPotential::validParams |
( |
| ) |
|
|
static |
Definition at line 17 of file StressBasedChemicalPotential.C.
20 params.addClassDescription(
"Chemical potential from stress");
21 params.addRequiredParam<MaterialPropertyName>(
"property_name",
22 "Name of stress based chemical potential");
23 params.addRequiredParam<MaterialPropertyName>(
"stress_name",
"Name of stress property variable");
24 params.addRequiredParam<MaterialPropertyName>(
"direction_tensor_name",
25 "Name of direction tensor variable");
26 params.addRequiredParam<MaterialPropertyName>(
"prefactor_name",
"Name of prefactor variable");
27 params.addCoupledVar(
"c",
"Concentration variable");
◆ _chemical_potential
MaterialProperty<Real>& StressBasedChemicalPotential::_chemical_potential |
|
protected |
◆ _dchemical_potential
MaterialProperty<Real>* StressBasedChemicalPotential::_dchemical_potential |
|
protected |
◆ _direction_tensor
const MaterialProperty<RealTensorValue>& StressBasedChemicalPotential::_direction_tensor |
|
protected |
◆ _dprefactor_dc
const MaterialProperty<Real>* StressBasedChemicalPotential::_dprefactor_dc |
|
protected |
◆ _has_coupled_c
bool StressBasedChemicalPotential::_has_coupled_c |
|
protected |
◆ _prefactor
const MaterialProperty<Real>& StressBasedChemicalPotential::_prefactor |
|
protected |
◆ _stress_old
const MaterialProperty<RankTwoTensor>& StressBasedChemicalPotential::_stress_old |
|
protected |
The documentation for this class was generated from the following files: