www.mooseframework.org
StressBasedChemicalPotential.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef STRESSBASEDCHEMICALPOTENTIAL_H
8 #define STRESSBASEDCHEMICALPOTENTIAL_H
9 
10 #include "Material.h"
11 #include "DerivativeMaterialInterface.h"
12 #include "RankTwoTensor.h"
13 
15 
16 template <>
18 
24 class StressBasedChemicalPotential : public DerivativeMaterialInterface<Material>
25 {
26 public:
27  StressBasedChemicalPotential(const InputParameters & parameters);
28 
29 protected:
30  virtual void initQpStatefulProperties();
31  virtual void computeQpProperties();
32 
33  MaterialProperty<Real> & _chemical_potential;
34  MaterialProperty<Real> * _dchemical_potential;
35 
36  const MaterialProperty<RankTwoTensor> & _stress_old;
37  const MaterialProperty<RealTensorValue> & _direction_tensor;
38  const MaterialProperty<Real> & _prefactor;
39  const MaterialProperty<Real> * _dprefactor_dc;
41 };
42 
43 #endif
const MaterialProperty< Real > * _dprefactor_dc
MaterialProperty< Real > * _dchemical_potential
StressBasedChemicalPotential(const InputParameters &parameters)
const MaterialProperty< RealTensorValue > & _direction_tensor
const MaterialProperty< RankTwoTensor > & _stress_old
MaterialProperty< Real > & _chemical_potential
const MaterialProperty< Real > & _prefactor
StressBasedChemicalPotential computes chemical potential based on stress and a direction tensor Fores...
InputParameters validParams< StressBasedChemicalPotential >()